Task: Split Pandas DataFrame by Column Value
Task: Split Pandas DataFrame by Column Value: a task in Terminal-Lego-15k (Harbor dataset). You are given a CSV file containing sales data with a column named Sales . Your task is to write a Python script that splits this DataFrame into two separate DataFrames based on a specific value in the…
The task
You are given a CSV file containing sales data with a column named `Sales`. Your task is to write a Python script that splits this DataFrame into two separate DataFrames based on a specific value in the `Sales` column.
Part of PrimeIntellect/Terminal-Lego-15k.