Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed Introduction to pandas!

Instruction

Selecting Data

Selecting Data A common need is to grab a subset of records that meet certain criteria. You can do this by indexing the DataFrame much like you've seen done with a NumPy.ndarray. import os import pandas as pd users = pd.read_csv(os.path.join('data', 'users.csv'), index_col=0) # Pop out a quick sanity check len(users) 475 CashBox uses a referral system, everyone you refer will earn yo...