Hi I'm just getting started with Vaex in Python. I have a dataset with messy column names. I'm trying to replace spaces with '_'.
In pandas I'm able to df.column = df.columns.str.replace(' ', '_')
but in Vaex
df_column = df.column_names.str.replace('\s', '_', regex=True)
I get the following error
AttributeError Traceback (most recent call last) in ----> 1 df_new = df.column_names.str.replace('\s', '_', regex=True) AttributeError: 'list' object has no attribute 'str'
does anyone know what I may be doing wrong?
Thanks Mike