मराठी

Create the following series and do the specified operation: EngAlph, having 26 elements with the alphabets as values and default index values.

Advertisements
Advertisements

प्रश्न

Create the following series and do the specified operation:

EngAlph, having 26 elements with the alphabets as values and default index values.

कोड लेखन
Advertisements

उत्तर

import pandas as pd
EngAlph = pd.Series(list('ABCDEFGHIJKLMNOPQRSTUVWXYZ'))
print(EngAlph)

Output:

0 A
1  B
2 C
... 25 Z
dtype object
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. a) | पृष्ठ ६०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×