Python for Spreadsheet Users
Chris Cardillo
Data Scientist


math.SUM(2,3)

math.SUM()
math is our packageSUM is our function in the package.) lets us access the function inside the packageA Recipe for Buttered Toast
1. Turn on toaster
2. Put bread in toaster for 1 minute
3. Take bread out of toaster
4. Put butter on toast
import math

import pandas
import pandas
pandas.read_excel('fruit.xlsx')

before
import pandas
pandas.read_excel('fruit.xlsx')
after
import pandas as pd
pd.read_excel('fruit.xlsx')
import pandas as pd
fruit = pd.read_excel('fruit.xlsx')

fruit.xlsx
import pandas as pd
fruit = pd.read_excel('fruit.xlsx')
print(fruit)


script.py is the scriptIPython Shell is the consolePython for Spreadsheet Users