Dive Into Python: Hillary Green-Lerman
Dive Into Python: Hillary Green-Lerman
I N T R O D U C T I O N TO D ATA S C I E N C E I N P Y T H O N
Hillary Green-Lerman
Lead Data Scientist, Looker
What you'll learn
How to write and execute Python code with DataCamp
Common examples:
matplotlib
pandas
scikit-learn
scipy
nltk
import pandas
import pandas as pd
Hillary Green-Lerman
Lead Data Scientist, Looker
Filing a missing puppy report
name = "Bayes"
height = 24
weight = 75.5
height = 24
weight = 75.5
name = 'Bayes'
breed = "Golden Retriever"
Use the same type of quotation mark. If you start with a single
quote, and end with a double quote, you'll get a syntax error.
fur_color = "blonde'
print(height)
24
Hillary Green-Lerman
Lead Data Scientist, Looker
A function is an action
Function Name:
Positional Arguments:
Order matters!
Keyword Arguments: