CBSE CS and IP

CBSE Class 11 & 12 Computer Science and Informatics Practices Python Materials, Video Lecture

Series (2 Marks Questions)


  1. What is series? Explain with the help of an example.
  2. What will be the output of the following code:
    import pandas as pd
    a = pd.Series([1,2,3,4,5], index = ['A','B','C','D','E',] )
    print(a)
    print(a-1)
    print(a gt=3)
    a['A'] = 'Z'
    print(a)
    
    Click Here for Solution

No comments:

Post a Comment