Quiz
Take the quiz on pandas to check your understanding.
We'll cover the following...
We'll cover the following...
Pandas Quiz
1.
import pandas as pd
srs1 = pd.Series([1, 2, 3], index = ['A', 'B', 'C'])
srs2 = pd.Series([4, 5, 6], index = ['C', 'D', 'B'])
print(srs1 + srs2)
What is the output of the above code snippet?
A.
A 1
B 8.0
C 7.0
D 5
B.
A 7.0
B 7.0
C 7.0
D 7.0
C.
A NaN
B 8.0
C 7.0
D NaN
D.
None of the above
1 / 4
The next ...