Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Welcome 5:18
- Meet Series 1:14
- About This Course
- Creating a Series
- Review Series Creation 3 questions
- Accessing a Series
- Review Series Access 5 questions
- Vectorization and Broadcasting Review 2:00
- Series Vectorization and Broadcasting
- Review Series Vectorization and Broadcasting 3 questions
- Meet DataFrames 1:33
- Creating a DataFrame
- Review DataFrame Creation 3 questions
- Accessing a DataFrame
- Review DataFrame Access 3 questions
- Onwards 0:31
Instruction
Creating a Series
Creating a Series
There are couple of ways to create a new Series from scratch.
Let's explore.
# Just like how NumPy is almost always abbreviated as np...
import numpy as np
# pandas is usually shortened to pd
import pandas as pd
Creating from a dictionary
Let's use this sample data here we got from CashBox. They want to track the balances of their users. This is how much money each...