CData Python Connector for Business b-ridge

Build 23.0.8839

Matplotlib から

Matplotlib には、データフレームPandas から をフィード後に、Business b-ridge データをグラフィカルにモデル化することができるツールが多数含まれています。

PyPlot の使用

pyplot などのMatplotlib ツールを使用するには、事前にインポートが必要です。
from matplotlib import pyplot as plt

Pandas データフレームを取得すると、それを使ってBusiness b-ridge データを可視化するプロットを作成することができます。例えば、次のプロットはItemId とAnnualRevenue の値に関連する棒グラフを生成して表示します。

df.plot(kind="bar", x="ItemId", y=["AnnualRevenue"])
plt.show()

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839