sudhirpgcmma02 commited on
Commit
a7c6674
·
verified ·
1 Parent(s): e86448e

Upload train.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. train.py +3 -3
train.py CHANGED
@@ -59,14 +59,14 @@ class FeatureEngineer(BaseEstimator, TransformerMixin):
59
  # They should be consistent with the features defined in the overall dataset.
60
 
61
 
62
- print("columna names #######################\n",df.columns)
63
- df.columns = (df.columns
64
  .str.strip()
65
  .str.replace(" ","_")
66
  .str.replace(r"[^\w]","_",regex=True)
67
  .str.lower()
68
  )
69
- print("columna names #######################\n",df.columns)
70
 
71
  core_sensor_cols =df.columns.tolist()
72
 
 
59
  # They should be consistent with the features defined in the overall dataset.
60
 
61
 
62
+ print("columna names #######################\n",df.columns)
63
+ df.columns = (df.columns
64
  .str.strip()
65
  .str.replace(" ","_")
66
  .str.replace(r"[^\w]","_",regex=True)
67
  .str.lower()
68
  )
69
+ print("columna names #######################\n",df.columns)
70
 
71
  core_sensor_cols =df.columns.tolist()
72