Skip to content

Introduction to Data Science in Python

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


1 hidden cell
# Plot Officer Deshaun's hours_worked vs. day_of_week
plt.plot(deshaun.day_of_week, deshaun.hours_worked)
pd.read_csv to read CSV's. 
plt.xlable("Label")
plt.title("Label")
plt.show()
plt.legend()
# Change the style to fivethirtyeight
plt.style.use("fivethirtyeight")
plt.bar
plt.barh
plt.bar(df.precing, df.cat,
       				bottom-df.dog
       				label='Cat')