🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
rm redundant docstring
yzlin8c65ed02b879
diff --git a/metagpt/tools/libs/data_preprocess.py b/metagpt/tools/libs/data_preprocess.pyindex 66f579f66..2cfa0b389 100644--- a/metagpt/tools/libs/data_preprocess.py+++ b/metagpt/tools/libs/data_preprocess.py@@ -71,26 +71,11 @@ class DataPreprocessTool(MLProcess):self.model = None # to be filled by specific subclass Tooldef fit(self, df: pd.DataFrame):- """- Fit a model to be used in subsequent transform.-- Args:- df (pd.DataFrame): The input DataFrame.- """if len(self.features) == 0:returnself.model.fit(df[self.features])def transform(self, df: pd.DataFrame) -> pd.DataFrame:- """- Transform the input DataFrame with the fitted model.-- Args:- df (pd.DataFrame): The input DataFrame.-- Returns:- pd.DataFrame: The transformed DataFrame.- """if len(self.features) == 0:return dfnew_df = df.copy()