Advertisements
Advertisements
Question
Write the output of the given command:
import pandas as pd
s=pd.Series([10,20,30,40,50],[1,2,3,4,5])
print(s.loc[2])
Options
10
20
30
40
MCQ
Solution
20
shaalaa.com
A Series
Is there an error in this question or solution?