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
Is there a reason why read_csv has a usecols and skiprows as arguments, but not skipcols and userows? Is this to avoid parameter checks or something more fundamental than that?
It would be nice to have all four options to avoid clunky inversions of the type usecols = columns.remove(unwanted_col).
The text was updated successfully, but these errors were encountered:
@gfyoung Ah, I did not realise that was possible, the online documentation for read_csv doesn't seem to be up to date. That is indeed a more elegant solution over possibly conflicting arguments.
Is there a reason why
read_csv
has ausecols
andskiprows
as arguments, but notskipcols
anduserows
? Is this to avoid parameter checks or something more fundamental than that?It would be nice to have all four options to avoid clunky inversions of the type
usecols = columns.remove(unwanted_col)
.The text was updated successfully, but these errors were encountered: