import pandas as pd
my_list = [10,20,30]
pd.Series(my_list)











import pandas as pd

my_list = [10,20,30]
labels = ['I', 'II', 'III']
pd.Series(my_list, labels)















import numpy as np
import pandas as pd

my_list = [10,20,30]
arr = np.array(my_list)

pd.Series(arr)









import pandas as pd

d = {'a':10,'b':20,'c':30}
pd.Series(d)











import numpy as np
import pandas as pd


d = {'a':10,'b':20,'c':30}

ser = pd.Series(d)

# Printing the series
print(ser['a'])










Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, April 10, 2019

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250