A

Admin • 833.24K Points
Coach

Q. How do you link a Pandas DataFrame with a Matplotlib line plot?

  • (A) plt.plot(df)
  • (B) df.plot()
  • (C) plt.line(df)
  • (D) df.show()
  • Correct Answer - Option(B)
  • Views: 20
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin

Pandas integrates with Matplotlib using `df.plot()` for quick visualizations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.