English

Write the statement to get NewDelhi as output using positional index.

Advertisements
Advertisements

Question

Write the statement to get NewDelhi as output using positional index.

Code Writing
Advertisements

Solution

SeriesName.iloc[2]

Example: Cities.iloc[2]

shaalaa.com
  Is there an error in this question or solution?
Chapter 2: Data Handling using Pandas - I - Intext Questions [Page 32]

APPEARS IN

NCERT Informatics Practices [English] Class 12
Chapter 2 Data Handling using Pandas - I
Intext Questions | Q 3. | Page 32
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×