x = np.arange(2)
y = np.array([10, 20])
z = np.array(['dog', 'cat'])
df_numpy = vaex.from_arrays(x=x, y=y, z=z)
What should be done if we only know the column names and number of columns at runtime?
Example : we will be having column names in a list =['x','y','k'].
How to create a data frame from this?
Sorry for the obvious question but couldn't find a solution.
From the documentation,
x = np.arange(2) y = np.array([10, 20]) z = np.array(['dog', 'cat']) df_numpy = vaex.from_arrays(x=x, y=y, z=z)
What should be done if we only know the column names and number of columns at runtime? Example : we will be having column names in a list =['x','y','k']. How to create a data frame from this? Sorry for the obvious question but couldn't find a solution.