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!
You have completed Introduction to pandas!
Instruction
Manipulation Techniques
Manipulation Techniques
There are lots of ways to change the shape and data in your DataFrame.
Let's explore the popular options.
# Setup
from datetime import datetime
import os
import numpy as np
import pandas as pd
users = pd.read_csv(os.path.join('data', 'users.csv'), index_col=0)
transactions = pd.read_csv(os.path.join('data', 'transactions.csv'), index_col=0)
# Pop out a quick san...