You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be very helpful if df.expression supported:
slicing, (e.g. df.x[:10] and df.x[:10].values)
argmin and argmax, (e.g. df.x.argmin() and df.x.argmax())
Perhaps it would be also nice to have support for argsort as a whole, although that would be quite intensive for large datasets. The use-case I see coming up is the need to find the n smallest or largest indices of a particular expressions, so those rows in the DataFrame can be queries or inspected in more detail.
The text was updated successfully, but these errors were encountered:
It would be very helpful if
df.expression
supported:df.x[:10]
anddf.x[:10].values
)argmin
andargmax
, (e.g.df.x.argmin()
anddf.x.argmax()
)Perhaps it would be also nice to have support for
argsort
as a whole, although that would be quite intensive for large datasets. The use-case I see coming up is the need to find the n smallest or largest indices of a particular expressions, so those rows in the DataFrame can be queries or inspected in more detail.The text was updated successfully, but these errors were encountered: