How to fix the data import?
Two optional arguments that you can add to .read_csv() to better represent the data from an external file are:
na_values: Converts a given string tonp.nan, defaults toNoneparse_dates: Reads the data in a list of given columns asdtypedatetime64, defaults toFalse
Which of the following steps should you take to make sure that the data imported from nasdaq-listings.csv are accurately represented?
The nasdaq DataFrame that you created in the previous exercise is available in your workspace.
This exercise is part of the course
Importing and Managing Financial Data in Python
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise