Skip to content

Can we have dynamic parameters when creating a dataframe? #2380

Closed Answered by DeveloperVivek9
DeveloperVivek9 asked this question in Q&A
Discussion options

You must be logged in to vote

Easier to create from pandas dataframe

feature_val=[0.5637]*len(required_features)
pandas_df= pd.DataFrame([feature_val], columns=required_features)
pandas_df=vaex.from_pandas(df=pandas_df)
test_df_2 = vaex.concat([df,pandas_df])

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by DeveloperVivek9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant