In Pandas, which function is used to read a CSV file into a DataFrame?

  • read_excel
  • load_csv
  • read_csv
  • import_data
The correct function is read_csv. This Pandas function is specifically designed to read data from CSV files and create a DataFrame, making it a fundamental tool for data manipulation in Python. read_excel is used for Excel files, and the other options are not valid Pandas functions for this purpose.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *