Skip to content

How to get only unique pairs of column1, column2, and column3 of a dataframe? #1831

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

You must be logged in to vote

Hi,

what about:

df.groupby(['id', 'x', 'y'], agg={'t': vaex.agg.mean('t')})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Eisbrenner
Comment options

Answer selected by Eisbrenner
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