-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
API DesignClosing CandidateMay be closeable, needs more eyeballsMay be closeable, needs more eyeballsEnhancement
Description
Don't have time to implement this, but I wanted to float the idea and park it. It's pretty trivial and you can achieve the same thing with filter, but it might be nice if drop had a regex keyword. E.g., these would be equivalent
df = df.filter(regex="^(?!var_start)")
df = df.drop(regex="^var_start", axis=1)
Metadata
Metadata
Assignees
Labels
API DesignClosing CandidateMay be closeable, needs more eyeballsMay be closeable, needs more eyeballsEnhancement