File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/workflows/airqo_etl_utils Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -159,12 +159,12 @@ def remove_outliers(data: pd.DataFrame) -> pd.DataFrame:
159
159
column_name = mapped_name , row_value = x
160
160
)
161
161
)
162
- else :
163
- data [col ] = data [col ].apply (
164
- lambda x : DataValidationUtils .get_valid_value (
165
- column_name = mapped_name , row_value = x
162
+ else :
163
+ data [col ] = data [col ].apply (
164
+ lambda x : DataValidationUtils .get_valid_value (
165
+ column_name = mapped_name , row_value = x
166
+ )
166
167
)
167
- )
168
168
return data
169
169
170
170
@staticmethod
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def extract_hourly_bam_data(
45
45
},
46
46
inplace = True ,
47
47
)
48
- data . loc [:, "device_category" ] = str (DeviceCategory .BAM )
48
+ data [ "device_category" ] = str (DeviceCategory .BAM )
49
49
return DataWarehouseUtils .filter_valid_columns (data )
50
50
51
51
@staticmethod
You can’t perform that action at this time.
0 commit comments