Generation

generate functionThu, 16 Feb 2023

Write a function that finds all object, string values in a column of numbers

def find_obj_str(df): obj_str = df.select_dtypes(['object', 'str']) return obj_str

Want to kickstart your project?Use the new AI Studio to create your code