CBSE Class 12 Informatics Practices
Question 30 of 70
Importing/Exporting Data between CSV Files/MySQL and Pandas — Question 11
Back to all questionsna_rep = NULL
Reason — The na_rep argument in the to_csv() method is used to specify the representation of NaN values in the resulting CSV file. Using na_rep = NULL means that NaN values will be represented as "NULL" in the CSV file.