Professional Documents
Culture Documents
IP - Lab Activity 4
IP - Lab Activity 4
IP - Lab Activity 4
Write a program in python to create two series objects Obj1 and Obj2 (data given below) and
display the following attributes in the format given below.
Structure of Series objects Output format
Obj1 Obj2 Attribute Name Object 1 Object 2
A 6700 A 640 Data Type
B 5600 B 720 Shape
C 5000 C 1020 No. of Bytes
D 5200 D 437 No. of Dimensions
Item Size
E nil
Has Nans?
Empty
PROGRAM
import pandas as pd
import numpy as np