Generation

generate functionThu, 16 Feb 2023

Write a function that finds all object, string values in a Pandas dataframe column 'values'

def find_values(df): column = df['values'] return column.str.contains('a')

Questions about programming?Chat with your personal AI assistant