# Creating a Pandas Series from Dictionary in Python 
 # import the pandas lib as pd
import pandas as pd
  
# create a dictionary
dictionary = {'A' : 10, 'B' : 20, 'C' : 30}
  
# create a series
series = pd.Series(dictionary)
  
print(series)