最初に、Googleが提供しているスプレッドシートをPythonで活用する二つの方法を順に紹介しよう。 まず、Googleはスプレッドシートを外部から操作できるようにAPIと呼ばれる機能を提供している。これはPythonやJavaScriptなどのプログラミング言語を用いて ...
「カフェでEVを見かける」という噂から、今回「カフェが増えると電気自動車が普及するのではないか」という仮説を立ててみました。そこで、EVとカフェに関するグラフを作りつつ、それが本当なのかPythonで相関関係を調べてみましょう。 最初に、Pythonを ...
We use matplotlib for plotting in python. We also have to convert SymPy matrices to NumPy arrays prior to plotting. Therefore, we prefer to define vectors as NumPy arrays if we intend to just plot ...
We use matplotlib for plotting in python. To have some more control over the coordinate axis we'll use .subplots. The first few lines of code just change the plot from a bounding box to a set of ...