S

Shyam Dubey • 3.70K Points
Extraordinary

Q. Which function is used to read a CSV file into a pandas DataFrame?

  • (A) pd.read_excel()
  • (B) pd.read_csv()
  • (C) pd.read_sql()
  • (D) pd.read_html()
  • Correct Answer - Option(B)
  • Views: 22
  • Filed under category Pandas
  • Hashtags:

Explanation by: Shyam Dubey

The pd.read_csv() function reads a CSV file into a pandas DataFrame.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.