Skip to content

Writing Efficient Python Code

Run the hidden code cell below to import the data used in this course.

# Importing pandas
import pandas as pd

# Reading in the data
baseball = pd.read_csv("datasets/baseball.csv")
print(type(baseball))
print(pd.values)

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 here