CSV Files

Import/Export CSV Files in Pandas MCQ | CSV File MCQ

Show Answer d. Comma separated values Show Answer b, CSV 3. Look at this image and identify the file type a. MySQLb. Dataframec. CSVd. Excel Show Answer c. CSV Show Answer c. Statement 2STATE1: import/export can be supported by spreadsheet/database/dataframe STATE3: any delimeter can be used Show Answer c. CSV files are compatible only with […]

Import/Export CSV Files in Pandas MCQ | CSV File MCQ Read More »

What are the advantages of saving data in:
(i) Binary form
(ii) Text form

Binary formIn binary files data is stored in raw i.e. binary form , no delimiter is needed and translation of data is not required. Hence binary files are faster and easier for program to read and write than text files. Text formIn text file data is stored in Unicode or ASCII that can be read

What are the advantages of saving data in:
(i) Binary form
(ii) Text form
Read More »

What role is played by modes in file operations? Describe the various file mode constants and their meanings.

Mode determines the type of operation (such as reading data from file, writing data from file, closing file )to be done on data file. It tells how the data file will be used after opening it. File Mode Description Purpose “r” Read only Open file in read only mode. “w” Write only Existing data of

What role is played by modes in file operations? Describe the various file mode constants and their meanings. Read More »

What is the difference between “w” and “a” modes?

“w” and “a” are fie modes which determines the type of operation to be done on data file. Both are used for writing data in a file. The difference between them is- – In “a” mode existing data of file is retained and new data is inserted at the end.– In “w” mode existing data

What is the difference between “w” and “a” modes? Read More »

error: Content is protected !!