I am loading a .csv into a dataframe (df) an am converting columns one at a time to numeric:
df = pd.read_csv(fullPath, converters={'Total requests received': lambda x: pd.to_numeric(x, errors='coerce'),
'Requests Processed': lambda x: pd.to_numeric(x, errors='coerce'),
'Requests still being processed': lambda x: pd.to_numeric(x, errors='coerce')})
Is there a way to convert all columns in one go to numeric and not have to name them one by one?