How can you get the length of a filtered dataframe? #1878
Answered
by
JovanVeljanoski
derrickcchow
asked this question in
Q&A
-
Hello, Thanks, Derrick |
Beta Was this translation helpful? Give feedback.
Answered by
JovanVeljanoski
Feb 1, 2022
Replies: 1 comment
-
Can you please provide a code example? Now we don't know what you've done. In general you should always provide a code example illustrating what fails. This should work: import vaex
df = vaex.example()
df2 = df[df.x>0]
print(len(df2)) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
derrickcchow
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you please provide a code example? Now we don't know what you've done. In general you should always provide a code example illustrating what fails.
This should work: