Pandas has a built in .plot() function as a part of the ____________ class.
Pandas has a built in .plot() function as a part of the ____________ class.
Solution
✅ Correct Option: 4
The .plot() method is built into the Pandas DataFrame class, so you can call it directly as df.plot(). It wraps Matplotlib and draws line, bar, histogram and scatter charts straight from the data.
Option 1: Array is not a Pandas class. NumPy's ndarray has no built-in .plot() method.
Options 2 and 3: Pandas has no classes named Plot or MatPlot. The plotting library is Matplotlib, which Pandas calls behind the scenes.
The Series class also has its own .plot() method.
Related questions:
2026: 29 May Shift 2
2026: 29 May Shift 2
2025: 16 May Shift 1