I have a DataFrame with about 25 columns, several of which hold data unsuitable for plotting. DataFrame.hist() throws errors on those. How can I specify that those columns sho
Following the official docs you can use loc
df.loc[:,['A','B']]
And you obtain, for instance, only the column 'A' and 'B'. In this way you can select the columns to plot.