Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Instruction
Accessing a DataFrame
Accessing a DataFrame
There are many different choices for indexing DataFrames.
Let's explore!
# Setup
import pandas as pd
test_user_data = {
'first_name': ['Craig', 'Treasure', 'Ashley', 'Guil'],
'last_name': ['Dennis', 'Porth', 'Boucher', 'Hernandez'],
'balance': [42.42, 25.00, 2.02, 87.00]
}
test_user_names = ['craigsdennis', 'treasure', 'lindsay2000', 'guil']
users = pd...