हिंदी

Create the following series and do the specified operation: MTseries, an empty series. Check if it is an empty series.

Advertisements
Advertisements

प्रश्न

Create the following series and do the specified operation:

MTseries, an empty series. Check if it is an empty series.

कोड लेखन
Advertisements

उत्तर

import pandas as pd

MTseries = pd.Series()

print(MTseries.empty)

Output:

True

shaalaa.com
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 2: Data Handling using Pandas - I - Exercise [पृष्ठ ६०]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 12
अध्याय 2 Data Handling using Pandas - I
Exercise | Q 5. d) | पृष्ठ ६०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×