Skip to content
1 hidden cell
Introduction to Importing Data in Python
Introduction to Importing Data in Python
Run the hidden code cell below to import the data used in this course.
1 hidden cell
Take Notes
Add notes about the concepts you've learned and code cells with code you want to keep.
Add your notes here
# Add your code snippets hereExplore Datasets
Try importing the remaining files to explore the data and practice your skills!
datasets/disarea.dtadatasets/ja_data2.matdatasets/L-L1_LOSC_4_V1-1126259446-32.hdf5datasets/mnist_kaggle_some_rows.csvdatasets/sales.sas7bdat
In the introductory video, Hugo also introduced the concept of a context manager. He showed that you can bind a variable file by using a context manager construct: with open('huck_finn.txt') as file:
serialize = convert object to bytestream