Matplotlib contains a number of tools that can graphically model Apache Impala data after being fed a data frame From Pandas.
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 Apache Impala data. For example, the following plot would generate and display a bar graph relating City and Balance values:
df.plot(kind="bar", x="City", y=["Balance"]) plt.show()