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
Column names should also support functions along with strings: df.select(['a', 'b', 'c']) # regular df.select(['a', 'b', starts_with('c'), ends_with('d'), contains('some_regex')])
tidyselect should power all the methods that take column_names as the input.
The text was updated successfully, but these errors were encountered:
IMHO, value should be a single value for simplicity. If we allow a list of values to be passed, then we implicitly already the columns to be renamed right?
my suggestion: df.replace_na({ends_with("width"): 0}) and not df.replace_na({ends_with("width"): [0, 1]})
as in latter case, usually we might not know how many columns get selected.
Column names should also support functions along with strings:
df.select(['a', 'b', 'c']) # regular
df.select(['a', 'b', starts_with('c'), ends_with('d'), contains('some_regex')])
tidyselect should power all the methods that take
column_names
as the input.The text was updated successfully, but these errors were encountered: