Skip to content

reordering columns in vaex #1913

Answered by maartenbreddels
Hasham04 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi Hasham!

you can do this using:

df1 = df[['a', 'b', 'c']]
df2 = df[['b', 'a', 'c']]

Does that make sense?

Regards,

Maarten

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Hasham04
Comment options

@Hasham04
Comment options

@maartenbreddels
Comment options

Answer selected by Hasham04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants