code: def _find_key_cols(df):
      
      
      keys = []
      for col in df:
          if len(df[col].unique()) == len(df[col]):
              keys.append(col)
      return keys
docs: Identify columns in a DataFrame that could be a unique key