objectiv-analytics
objectiv-analytics copied to clipboard
Fix BQ tests.functional.bach.test_df_scale.test_min_max_scale
MinMaxScaler doesn't seem to respect sorting well.
Items:
- Make sure MinMaxScalar works well if the DataFrame has sorting set. This seems to be an issue
- Make tests.functional.bach.test_df_scale.test_min_max_scale pass. Probably sorting the data beforehand will fix this
- Make sure test doesn't do too many queries. If needed split up so queries will be better distributed over tests.
The test seems to pass now. But the other points still stand: there is something with the sorting, see the TODO in the code, and the test is slow.. This issue is NOT solved.