A

Admin • 831.35K Points
Coach

Q. Which function plots time series from a DataFrame?

  • (A) df.plot_timeseries()
  • (B) plt.plot_date()
  • (C) df.plot() with datetime index
  • (D) df.timeplot()
  • Correct Answer - Option(C)
  • Views: 11
  • Filed under category Matplot Lib
  • Hashtags:

Explanation by: Admin
Pandas `df.plot()` automatically creates time series plots if index is datetime.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.