concatenate 2 vaex dataframes causing columns issue
After searching for some possible solutions, I found one in pandas.
The easiest way would be to read the file using the desired columns names
´´´df = vx.read_csv("fl_name", header=None, names=['A', 'B', 'C', 'D', 'E', 'F', 'G'])´´´
Doing that, the code will work properly.
I am facing some issues concatenating 2 vaex data frames. When I concat both data frames, the column names are ignored.
First I read a CSV file using vaex
>>> import vaex as vx 
>>> df = vx.read_csv("fl_name", header=None)
>>> df.column_names 
   ['0', '1', '2', '3', '4', '5', '6']
Then I try to concat this data frame to an existing one
>>> df_original 
   ['A', 'B', 'C', 'D', 'E', 'F', 'G']
To enable that, I matched the new data frame column names to existing ones
>>> df.column_names = df_original.column_names 
>>> df_original.concat(df) 
When I checked the resulting data frame columns, I got
   ['A', 'B', 'C', 'D', 'E', 'F', 'G', '0', '1', '2', '3', '4', '5', '6']
Is there any way to solve this issue and make vaex respect the column names?