Skip to content

Commit

Permalink
Increase max_length in feature type detector
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMeissnerDS committed Sep 19, 2024
1 parent f6087ca commit 78a0ab4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluecast/preprocessing/feature_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def identify_num_columns(self, df: pd.DataFrame) -> pd.DataFrame:

for col in df.columns.to_list():
max_length = df[col].astype(str).str.len().max()
if col not in num_col_list and max_length < 10:
if col not in num_col_list and max_length < 20:
try:
if self.check_if_column_is_float_from_string(df[col]):
df[col] = df[col].astype(float)
Expand Down
Binary file modified dist/bluecast-1.6.2-py3-none-any.whl
Binary file not shown.
Binary file modified dist/bluecast-1.6.2.tar.gz
Binary file not shown.

0 comments on commit 78a0ab4

Please sign in to comment.