CData Python Connector for Facebook Ads

Build 22.0.8462

From Matplotlib

Matplotlib contains a number of tools that can graphically model Facebook Ads data after being fed a data frame From Pandas.

Using PyPlot

Before any Matplotlib tool, such as pyplot, can be used, it must be imported:

from matplotlib import pyplot as plt

Once a pandas data frame is obtained, it can be used to create a plot visualizing Facebook Ads data. For example, the following plot would generate and display a bar graph relating AccountId and AnnualRevenue values:

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

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462