text_html_output_1.png
import pandas as pd

df = pd.read_csv('../input/border-crossing-entry-data/Border_Crossing_Entry_Data.csv')
df

df.isnull().sum()

df.duplicated().sum()

port = df[['Port Name', 'Port Code']].drop_duplicates()
port[port['Port Name'].duplicated(keep=False)]