Dependent Variables.
easy with the DataFrame.drop_duplicates() function. df.drop_duplicates(keep='first', inplace=True) def drop_duplicates(df, columns=None): if columns == None: df.drop_duplicates(inplace=True) else: df.drop_duplicates(subset = columns, inplace=False) return df Section 3- Label Encoding for