English

Give the output of: s=pd.Series([10,20,30,40,50],index =[‘a’,‘b’,‘c’,0,1])print(s.loc[1]) -

Advertisements
Advertisements

Question

Give the output of:

s=pd.Series([10,20,30,40,50],index =[‘a’,‘b’,‘c’,0,1])
print(s.loc[1])

Options

  • 10

  • 20

  • 40

  • 50

MCQ

Solution

50

shaalaa.com
A Series
  Is there an error in this question or solution?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×