CBSE class 12 Informatics Practices notes

CBSE Class 12 informatics Practices notes

Lessons

Class 12 Informatics Practices Practical file 2024-2025

Preview

Length: 0 minutes

Class 12 Informatics Practices Practical file 2024-2025 1.Create a Series with following lists: section=[‘A’,’B’,’C’,’D’,’E’]  #INDEXES strength=[40,38,33,35,30]  #DATA import pandas as pd import numpy as np section=[‘A’,’B’,’C’,’D’,’E’] strength=[40,38,33,35,30] s=pd.Series(index=section,data=strength) print(s) Output A   40 B   38 C   33 D   35 E   30 dtype: int64 2. Create a Series by using following dictionary: Department={‘Computer’:30,’Finance’:20,’HR’:5} strength=[40,38,33,35,30]  #DATA import pandas …