pandas and NumPy 3 · NumPy
Filter with a boolean mask
Select the items that satisfy a condition.
a[a > 2]
Official pandas and NumPy 3 documentation
pandas and NumPy 3 · NumPy
Select the items that satisfy a condition.
a[a > 2]
Official pandas and NumPy 3 documentation
Was this page helpful?