Box
Sun 29 June 2025
import pandas as pd
import numpy as np
abc = np.array([
[9, 13, 10],
[7, 12, 9],
[19, 11, 8]
])
abc
array([[ 9, 13, 10],
[ 7, 12, 9],
[19, 11, 8]])
df2 = pd.DataFrame(abc, columns=['breakfast', 'lunch', 'dinner'])
df2.plot.bar()
<Axes: >

df2.plot.barh()
<Axes: >

df2.plot.barh …Category: basics
Read More