हिंदी

Which statement is not correct to print the top 5 rows from series s? -

Advertisements
Advertisements

प्रश्न

Which statement is not correct to print the top 5 rows from series s?

विकल्प

  • print(s.head())

  • print(s.head(5))

  • print(s.loc[:5])

  • print(s[:5])

MCQ

उत्तर

print(s.loc[:5])

shaalaa.com
A Series
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×