uniqe points in a column pandas

Solutions on MaxInterview for uniqe points in a column pandas by the best coders in the world

showing results for - "uniqe points in a column pandas"
Sofia
11 Jan 2021
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()
Juan Diego
14 Aug 2016
1df[clumn]