Spaces:
Sleeping
Sleeping
update parameters to Args for the agent to create docstring
Browse files
app.py
CHANGED
|
@@ -39,7 +39,7 @@ def filter_dataframe(df: pd.DataFrame, filters: dict) -> pd.DataFrame:
|
|
| 39 |
"""
|
| 40 |
Filters a DataFrame based on provided keys and their corresponding values.
|
| 41 |
|
| 42 |
-
|
| 43 |
df (pd.DataFrame): The pandas DataFrame to filter.
|
| 44 |
filters (dict): A dictionary where each key is a column name in the DataFrame,
|
| 45 |
and the corresponding value is the filter criteria. The filter
|
|
|
|
| 39 |
"""
|
| 40 |
Filters a DataFrame based on provided keys and their corresponding values.
|
| 41 |
|
| 42 |
+
Args:
|
| 43 |
df (pd.DataFrame): The pandas DataFrame to filter.
|
| 44 |
filters (dict): A dictionary where each key is a column name in the DataFrame,
|
| 45 |
and the corresponding value is the filter criteria. The filter
|