sten
sten

Reputation: 7476

Vaex: How to add/append rows to a Vaem DataFrame

How do you add data to a Vaex DataFrame?

I can see there is add_column(), but no add/append_row()

I'm looking to use Vaex instead of Pandas.

Upvotes: 4

Views: 3844

Answers (2)

MacJava
MacJava

Reputation: 11

This does not answer your question, but wanted to correct concat A To concatenate two dataframes, the API is similar to pandas.

to assign it to the same dataframe variable

df1 = vaex.concat([df1, df_new])

or

to assign it to a new dataframe variable

df3 = vaex.concat([df1, df2])

Upvotes: 1

Amit Amola
Amit Amola

Reputation: 2510

I believe these is a concat method for this.

df = df_1.concat(df_2)

It's mentioned in the API Documentation as well.

Upvotes: 2

Related Questions