Skip to main contentSkip to solution

Match List-I with List-II

List-IList-II
(A). to_csv( )(I). Specifies the column labels.
(B). read_csv( )(II). Saves the file as .csv to a memory location.
(C). Header(III). Reads the file from a memory location.
(D). Sep(IV). Specifies the delimiter for values.

Solution

✅ Correct Option: 2
List IList II
(A) to_csv( )(II) Saves the file as .csv to a memory location
(B) read_csv( )(III) Reads the file from a memory location
(C) Header(I) Specifies the column labels
(D) Sep(IV) Specifies the delimiter for values

to_csv( ) writes a DataFrame out to a file, while read_csv( ) loads a file into a DataFrame.

The default for sep is a comma, and header=0 takes the first row of the file as the column labels.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question