Task: Filter DataFrame Rows by String Pattern
Task: Filter DataFrame Rows by String Pattern: a task in Terminal-Lego-15k (Harbor dataset). You need to write a Python script that filters rows from a Pandas DataFrame based on a string pattern. Specifically, you need to filter rows where a column contains a specific substring.
The task
You need to write a Python script that filters rows from a Pandas DataFrame based on a string pattern. Specifically, you need to filter rows where a column contains a specific substring.
Part of PrimeIntellect/Terminal-Lego-15k.