mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-01 20:03:28 +02:00
refine schema
This commit is contained in:
parent
962632cd15
commit
6edbed8fb6
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class PolynomialExpansion(ToolSchema):
|
|||
|
||||
|
||||
class OneHotEncoding(ToolSchema):
|
||||
"""Apply one-hot encoding to specified categorical columns in a DataFrame."""
|
||||
"""Apply one-hot encoding to specified categorical columns, the original columns will be dropped."""
|
||||
|
||||
df: pd.DataFrame = tool_field(description="DataFrame to process.")
|
||||
cols: list = tool_field(description="Categorical columns to be one-hot encoded.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue