...

/

Quiz: DataFrames and Math Methods on DataFrames

Quiz: DataFrames and Math Methods on DataFrames

Quiz yourself on DataFrames and math methods on DataFrames.

We'll cover the following...
Technical Quiz
1.

What will be the output of following code?

 import pandas as pd
 L = [ 'A', 'B', 'C', 'D', 'E']
 df = pd.DataFrame(L)
 print(df[ -2 : ])
A.
0    A
1    B
2    C
B.
3    D
4    E
C.
4    D
3    C
2    B
D.
0    A
1    B

1 / 5