Q:

how to plot a pandas dataframe with matplotlib

import pandas as pd

data = pd.Dataframe(
  # Data
)

data.plot()
1
import matplotlib.pyplot as plt
%matplotlib inline
plt.plot(data)
#this is not nessisary but makes your plot more readable
plt.ylabel('y axis means ...')
plt.xlabel('x axis means ...')
0

New to Communities?

Join the community