1# Import pandas package
2import pandas as pd
3
4# create a dictionary with five fields each
5data = {
6 'A':['A1', 'A2', 'A3', 'A4', 'A5'],
7 'B':['B1', 'B2', 'B3', 'B4', 'B4'],
8 'C':['C1', 'C2', 'C3', 'C3', 'C3'],
9 'D':['D1', 'D2', 'D2', 'D2', 'D2'],
10 'E':['E1', 'E1', 'E1', 'E1', 'E1'] }
11
12# Convert the dictionary into DataFrame
13df = pd.DataFrame(data)
14
15# Get the unique values of 'E' column
16df.E.unique()