Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] generic select function #1187

Merged
merged 13 commits into from
Nov 8, 2022
Prev Previous commit
Next Next commit
update docs for DropLabel class
  • Loading branch information
samukweku committed Nov 5, 2022
commit 035a5c11565d7a2965c8066563982723ff462320
3 changes: 2 additions & 1 deletion janitor/functions/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ def _select_callable(arg, func: Callable, axis=None):
class DropLabel:
"""
Helper class for removing labels within the `select` syntax.
`label` can be any of the types supported in `_select_index`.
`label` can be any of the types supported in the `select`,
`select_rows` and `select_columns` functions.
An array of integers not matching the labels is returned.

!!! info "New in version 0.24.0"
Expand Down