python dataframes get columns by name substring code example Example: python - find specific name in a df i = df[df['Name']=='Will'] print(i)