I am new to data plotting, matplotlib or sns library. There is a
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np
y = np.random.rand(10,4)
y[:,0]= np.arange(10)
df = pd.DataFrame(y, columns=["X", "A", "B", "C"])
df.head()
df.plot(x='X', y=['A', 'B', 'C'], kind='bar')
How can I plot df.plot(y='1.0', x=['A', 'B', 'C'], kind='bar') # I want to put cell as X or Y axis.
I have copied the example from StackOverflow itself.


df.iloc[1].plot(y=['A','B','C']). Instead of index I want to pick specific column cell.