Skip to content
Snippets Groups Projects
Commit 566f8cbe authored by niklasfranz's avatar niklasfranz
Browse files

refactor: added returns

parent 6aeb5c6e
No related branches found
No related tags found
No related merge requests found
......@@ -122,7 +122,7 @@ class Dataset:
is_competitive_col = self.get_is_competitive_col(dataframe)
return is_competitive_col
def treat_outliers(self, df, colname):
def treat_outliers(self, df, colname) -> pd.DataFrame:
q = df[colname].quantile(0.99)
return df[df[colname] < q]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment