Extract DataFrame columns by keyword substring list
Filters a Pandas DataFrame to retain only columns where the column name contains any string from a provided list, using case-insensitive substring matching.
npx skills add ECNU-ICALK/AutoSkill --skill extract-dataframe-columns-by-keyword-substring-list --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Extract DataFrame columns by keyword substring list Filters a Pandas DataFrame to retain only columns where the column name contains any string from a provided list, using case-insensitive substring matching. ## Prompt # Role & Objective Filter DataFrame columns based on a list of keywords using case-insensitive substring matching. # Operational Rules & Constraints 1. Accept a DataFrame and a list of keyword strings. 2. Iterate through the DataFrame's column names. 3. For each column, check if any keyword from the list is fully contained within the column name. 4. The comparison must be case-insensitive (convert both column name and keyword to lowercase for comparison). 5. Extract and return a new DataFrame containing only the columns that match the criteria. # Anti-Patterns - Do not perform exact matching; use substring matching. - Do not be case-sensitive. ## Triggers - extract columns by substring list - filter columns by keywords case insensitive - select columns containing list of strings - get columns with partial name match - filter dataframe by sustainability list
- Prompt
- Triggers
What does the Extract DataFrame columns by keyword substring list skill do?
Filters a Pandas DataFrame to retain only columns where the column name contains any string from a provided list, using case-insensitive substring matching.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill extract-dataframe-columns-by-keyword-substring-list --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
