diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e6908b7..3104c89 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -90,13 +90,13 @@ jobs: - name: Install python depencies run: | python -m pip install --upgrade pip - python -m pip install certifi cibuildwheel==2.2.2 + python -m pip install certifi cibuildwheel python -m pip install -r requirements.txt - name: Build MacOS wheel if: matrix.os == 'macos-latest' env: - CIBW_BUILD: "cp36-macosx_x86_64 cp37-macosx_x86_64 cp38-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64" + CIBW_BUILD: "cp311-macosx_x86_64 cp312-macosx_x86_64" CIBW_BEFORE_ALL: brew install libomp CIBW_BEFORE_BUILD_MACOS: > python -m pip install pip -U && @@ -108,7 +108,7 @@ jobs: - name: Build linux wheels if: matrix.os == 'ubuntu-latest' env: - CIBW_BUILD: "cp36-manylinux_x86_64 cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64 cp312-manylinux_x86_64" + CIBW_BUILD: "cp311-manylinux_x86_64 cp312-manylinux_x86_64" CIBW_BEFORE_BUILD_LINUX: > python -m pip install pip -U && python -m pip install setuptools && diff --git a/tests.rtf b/tests.rtf deleted file mode 100644 index 7fc05ed..0000000 --- a/tests.rtf +++ /dev/null @@ -1,848 +0,0 @@ -============================= test session starts ============================== -platform darwin -- Python 3.12.1, pytest-8.0.2, pluggy-1.4.0 -rootdir: /Users/cpoli/opensource/gators -configfile: pytest.ini -collected 830 items - -gators/binning/tests/test_bin_rare_categories_dd.py .. [ 0%] -gators/binning/tests/test_bin_rare_categories_ks.py .......... [ 1%] -gators/binning/tests/test_bin_rare_categories_pd.py ........... [ 2%] -gators/binning/tests/test_bin_single_target_class_categories_dd.py .. [ 3%] -gators/binning/tests/test_bin_single_target_class_categories_ks.py . [ 3%] -gators/binning/tests/test_bin_single_target_class_categories_pd.py ..... [ 3%] -. [ 3%] -gators/binning/tests/test_binning_dd.py .......... [ 5%] -gators/binning/tests/test_binning_ks.py .......... [ 6%] -gators/binning/tests/test_binning_pd.py ........... [ 7%] -gators/binning/tests/test_custom_binning_dd.py .......... [ 8%] -gators/binning/tests/test_custom_binning_ks.py .......... [ 10%] -gators/binning/tests/test_custom_binning_pd.py ........... [ 11%] -gators/binning/tests/test_quantile_binning_dd.py .......... [ 12%] -gators/binning/tests/test_quantile_binning_ks.py .......... [ 13%] -gators/binning/tests/test_quantile_binning_pd.py ........... [ 15%] -gators/binning/tests/test_tree_binning_dd.py .... [ 15%] -gators/binning/tests/test_tree_binning_ks.py .... [ 16%] -gators/binning/tests/test_tree_binning_pd.py ....... [ 16%] -gators/clipping/tests/test_clipping_dd.py .... [ 17%] -gators/clipping/tests/test_clipping_ks.py .... [ 17%] -gators/clipping/tests/test_clipping_pd.py ....... [ 18%] -gators/clipping/tests/test_quantile_clipping_dd.py ...... [ 19%] -gators/clipping/tests/test_quantile_clipping_ks.py ...... [ 20%] -gators/clipping/tests/test_quantile_clipping_pd.py ....... [ 20%] -gators/converter/tests/test_to_numpy_dd.py . [ 21%] -gators/converter/tests/test_to_numpy_ks.py . [ 21%] -gators/converter/tests/test_to_numpy_pd.py . [ 21%] -gators/converter/tests/test_to_pandas_dd.py . [ 21%] -gators/converter/tests/test_to_pandas_ks.py . [ 21%] -gators/converter/tests/test_to_pandas_pd.py . [ 21%] -gators/data_cleaning/tests/test_convert_column_datatype_dd.py .... [ 22%] -gators/data_cleaning/tests/test_convert_column_datatype_ks.py .... [ 22%] -gators/data_cleaning/tests/test_convert_column_datatype_pd.py ..... [ 23%] -gators/data_cleaning/tests/test_drop_columns_dd.py .. [ 23%] -gators/data_cleaning/tests/test_drop_columns_ks.py .. [ 23%] -gators/data_cleaning/tests/test_drop_columns_pd.py ..... [ 24%] -gators/data_cleaning/tests/test_drop_datatype_columns_dd.py .. [ 24%] -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py .. [ 24%] -gators/data_cleaning/tests/test_drop_datatype_columns_pd.py ... [ 25%] -gators/data_cleaning/tests/test_drop_high_cardinality_dd.py .. [ 25%] -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py ...... [ 26%] -gators/data_cleaning/tests/test_drop_high_cardinality_pd.py ....... [ 26%] -gators/data_cleaning/tests/test_drop_high_nan_ratio_dd.py .. [ 27%] -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py .... [ 27%] -gators/data_cleaning/tests/test_drop_high_nan_ratio_pd.py ..... [ 28%] -gators/data_cleaning/tests/test_drop_low_cardinality_dd.py ........ [ 29%] -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py ....... [ 30%] -gators/data_cleaning/tests/test_drop_low_cardinality_pd.py ........ [ 31%] -gators/data_cleaning/tests/test_keep_columns_dd.py .. [ 31%] -gators/data_cleaning/tests/test_keep_columns_ks.py .. [ 31%] -gators/data_cleaning/tests/test_keep_columns_pd.py ... [ 31%] -gators/data_cleaning/tests/test_rename_columns_dd.py .. [ 32%] -gators/data_cleaning/tests/test_rename_columns_ks.py .. [ 32%] -gators/data_cleaning/tests/test_rename_columns_pd.py ... [ 32%] -gators/data_cleaning/tests/test_replace_dd.py .. [ 33%] -gators/data_cleaning/tests/test_replace_ks.py .. [ 33%] -gators/data_cleaning/tests/test_replace_pd.py ..... [ 33%] -gators/encoders/tests/test_base_encoder.py . [ 33%] -gators/encoders/tests/test_count_encoder_pd.py ...... [ 34%] -gators/encoders/tests/test_onehot_encoder_dd.py .... [ 35%] -gators/encoders/tests/test_onehot_encoder_ks.py .... [ 35%] -gators/encoders/tests/test_onehot_encoder_pd.py ...... [ 36%] -gators/encoders/tests/test_ordinal_encoder_dd.py .... [ 36%] -gators/encoders/tests/test_ordinal_encoder_ks.py .... [ 37%] -gators/encoders/tests/test_ordinal_encoder_pd.py ....... [ 38%] -gators/encoders/tests/test_target_encoder_dd.py .... [ 38%] -gators/encoders/tests/test_target_encoder_ks.py .... [ 39%] -gators/encoders/tests/test_target_encoder_pd.py ...... [ 39%] -gators/encoders/tests/test_woe_encoder_dd.py ...... [ 40%] -gators/encoders/tests/test_woe_encoder_ks.py ...... [ 41%] -gators/encoders/tests/test_woe_encoder_pd.py ....... [ 42%] -gators/feature_generation/tests/test_cluster_statistics_dd.py ...... [ 42%] -gators/feature_generation/tests/test_cluster_statistics_ks.py ...... [ 43%] -gators/feature_generation/tests/test_cluster_statistics_pd.py ....... [ 44%] -gators/feature_generation/tests/test_elementary_arithmetics_dd.py ...... [ 45%] -.... [ 45%] -gators/feature_generation/tests/test_elementary_arithmetics_ks.py ...... [ 46%] -.... [ 46%] -gators/feature_generation/tests/test_elementary_arithmetics_pd.py ...... [ 47%] -...... [ 48%] -gators/feature_generation/tests/test_is_equal_dd.py ...... [ 49%] -gators/feature_generation/tests/test_is_equal_ks.py ...... [ 49%] -gators/feature_generation/tests/test_is_equal_pd.py ....... [ 50%] -gators/feature_generation/tests/test_is_null_dd.py ...... [ 51%] -gators/feature_generation/tests/test_is_null_ks.py ...... [ 52%] -gators/feature_generation/tests/test_is_null_pd.py ....... [ 52%] -gators/feature_generation/tests/test_one_hot_dd.py .... [ 53%] -gators/feature_generation/tests/test_one_hot_ks.py .... [ 53%] -gators/feature_generation/tests/test_one_hot_pd.py ..... [ 54%] -gators/feature_generation/tests/test_plane_rotation_dd.py .... [ 54%] -gators/feature_generation/tests/test_plane_rotation_ks.py .... [ 55%] -gators/feature_generation/tests/test_plane_rotation_pd.py ..... [ 56%] -gators/feature_generation/tests/test_polynomial_features_dd.py .... [ 56%] -gators/feature_generation/tests/test_polynomial_features_ks.py .... [ 56%] -gators/feature_generation/tests/test_polynomial_features_pd.py ..... [ 57%] -gators/feature_generation/tests/test_polynomial_object_features_dd.py .. [ 57%] - [ 57%] -gators/feature_generation/tests/test_polynomial_object_features_ks.py .. [ 58%] - [ 58%] -gators/feature_generation/tests/test_polynomial_object_features_pd.py .. [ 58%] -. [ 58%] -gators/feature_generation_dt/tests/test_base_datetime_features_dt.py .. [ 58%] -gators/feature_generation_dt/tests/test_cyclic_day_of_month_dd.py .. [ 58%] -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py .. [ 59%] -gators/feature_generation_dt/tests/test_cyclic_day_of_month_pd.py ... [ 59%] -gators/feature_generation_dt/tests/test_cyclic_day_of_week_dd.py .. [ 59%] -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py .. [ 60%] -gators/feature_generation_dt/tests/test_cyclic_day_of_week_pd.py ... [ 60%] -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_dd.py .. [ 60%] -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py .. [ 60%] -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_pd.py ... [ 61%] -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_dd.py .. [ 61%] -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py .. [ 61%] -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_pd.py ... [ 62%] -gators/feature_generation_dt/tests/test_cyclic_month_of_year_dd.py .. [ 62%] -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py .. [ 62%] -gators/feature_generation_dt/tests/test_cyclic_month_of_year_pd.py ... [ 62%] -gators/feature_generation_dt/tests/test_delta_time_dd.py .. [ 63%] -gators/feature_generation_dt/tests/test_delta_time_ks.py .. [ 63%] -gators/feature_generation_dt/tests/test_delta_time_pd.py ..... [ 63%] -gators/feature_generation_dt/tests/test_ordinal_day_of_month_dd.py .. [ 64%] -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py .. [ 64%] -gators/feature_generation_dt/tests/test_ordinal_day_of_month_pd.py ... [ 64%] -gators/feature_generation_dt/tests/test_ordinal_day_of_week_dd.py .. [ 65%] -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py .. [ 65%] -gators/feature_generation_dt/tests/test_ordinal_day_of_week_pd.py ... [ 65%] -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_dd.py .. [ 65%] -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py .. [ 66%] -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_pd.py ... [ 66%] -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_dd.py .. [ 66%] -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py .. [ 66%] -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_pd.py ... [ 67%] - [ 67%] -gators/feature_generation_dt/tests/test_ordinal_month_of_year_dd.py .. [ 67%] -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py .. [ 67%] -gators/feature_generation_dt/tests/test_ordinal_month_of_year_pd.py ... [ 68%] -gators/feature_generation_str/tests/test_extract_dd.py .. [ 68%] -gators/feature_generation_str/tests/test_extract_ks.py .. [ 68%] -gators/feature_generation_str/tests/test_extract_pd.py ... [ 69%] -gators/feature_generation_str/tests/test_lower_case_dd.py .. [ 69%] -gators/feature_generation_str/tests/test_lower_case_ks.py .. [ 69%] -gators/feature_generation_str/tests/test_lower_case_pd.py ....... [ 70%] -gators/feature_generation_str/tests/test_split_extract_pd.py ... [ 70%] -gators/feature_generation_str/tests/test_contains_dd.py .... [ 71%] -gators/feature_generation_str/tests/test_contains_ks.py .... [ 71%] -gators/feature_generation_str/tests/test_contains_pd.py ..... [ 72%] -gators/feature_generation_str/tests/test_length_dd.py .. [ 72%] -gators/feature_generation_str/tests/test_length_ks.py .. [ 72%] -gators/feature_generation_str/tests/test_length_pd.py ... [ 73%] -gators/feature_generation_str/tests/test_upper_case_dd.py .. [ 73%] -gators/feature_generation_str/tests/test_upper_case_ks.py .. [ 73%] -gators/feature_generation_str/tests/test_upper_case_pd.py ....... [ 74%] -gators/feature_selection/tests/test_correlation_filter_dd.py .. [ 74%] -gators/feature_selection/tests/test_correlation_filter_ks.py .. [ 74%] -gators/feature_selection/tests/test_correlation_filter_pd.py ... [ 75%] -gators/feature_selection/tests/test_information_value_dd.py .. [ 75%] -gators/feature_selection/tests/test_information_value_ks.py .. [ 75%] -gators/feature_selection/tests/test_information_value_pd.py ... [ 76%] -gators/feature_selection/tests/test_select_from_model_dd.py .. [ 76%] -gators/feature_selection/tests/test_select_from_model_ks.py .. [ 76%] -gators/feature_selection/tests/test_select_from_model_pd.py ... [ 76%] -gators/feature_selection/tests/test_select_from_models_dd.py .. [ 77%] -gators/feature_selection/tests/test_select_from_models_ks.py .. [ 77%] -gators/feature_selection/tests/test_select_from_models_pd.py ... [ 77%] -gators/feature_selection/tests/test_supervized_correlation_filter_dd.py . [ 77%] -. [ 78%] -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py . [ 78%] -. [ 78%] -gators/feature_selection/tests/test_supervized_correlation_filter_pd.py . [ 78%] -.. [ 78%] -gators/feature_selection/tests/test_variance_filter_dd.py ... [ 79%] -gators/feature_selection/tests/test_variance_filter_ks.py .. [ 79%] -gators/feature_selection/tests/test_variance_filter_pd.py .... [ 79%] -gators/imputers/tests/test_imputers_dd.py .................. [ 81%] -gators/imputers/tests/test_imputers_ks.py .................. [ 84%] -gators/imputers/tests/test_imputers_pd.py .............................. [ 87%] -.... [ 88%] -gators/pipeline/tests/test_pipeline_dd.py .... [ 88%] -gators/pipeline/tests/test_pipeline_ks.py ... [ 89%] -gators/pipeline/tests/test_pipeline_pd.py ...... [ 89%] -gators/sampling/tests/test_supervised_sampling_dd.py . [ 89%] -gators/sampling/tests/test_supervised_sampling_ks.py . [ 90%] -gators/sampling/tests/test_supervised_sampling_pd.py .. [ 90%] -gators/sampling/tests/test_unsupervised_sampling_dd.py ... [ 90%] -gators/sampling/tests/test_unsupervised_sampling_ks.py . [ 90%] -gators/sampling/tests/test_unsupervised_sampling_pd.py ... [ 91%] -gators/scalers/tests/test_minmax_scaler_dd.py .... [ 91%] -gators/scalers/tests/test_minmax_scaler_ks.py .... [ 92%] -gators/scalers/tests/test_minmax_scaler_pd.py .... [ 92%] -gators/scalers/tests/test_standard_scaler_dd.py .. [ 92%] -gators/scalers/tests/test_standard_scaler_ks.py .... [ 93%] -gators/scalers/tests/test_standard_scaler_pd.py .... [ 93%] -gators/scalers/tests/test_yeo_johnson_dd.py ...... [ 94%] -gators/scalers/tests/test_yeo_johnson_ks.py ...... [ 95%] -gators/scalers/tests/test_yeo_johnson_pd.py ......... [ 96%] -gators/transformers/tests/test_transformer_dd.py . [ 96%] -gators/transformers/tests/test_transformer_ks.py . [ 96%] -gators/transformers/tests/test_transformer_pd.py ..... [ 97%] -gators/transformers/tests/test_transformer_xy_dd.py . [ 97%] -gators/transformers/tests/test_transformer_xy_ks.py . [ 97%] -gators/transformers/tests/test_transformer_xy_pd.py ... [ 97%] -gators/util/tests/test_iv_pd.py .. [ 97%] -gators/util/tests/test_util_dd.py ...... [ 98%] -gators/util/tests/test_util_ks.py ... [ 99%] -gators/util/tests/test_util_pd.py ........ [100%] - -=============================== warnings summary =============================== -../../gators312/lib/python3.12/site-packages/dateutil/tz/tz.py:37 - /Users/cpoli/gators312/lib/python3.12/site-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC). - EPOCH = datetime.datetime.utcfromtimestamp(0) - -gators/binning/tests/test_bin_rare_categories_dd.py:2 - /Users/cpoli/opensource/gators/gators/binning/tests/test_bin_rare_categories_dd.py:2: DeprecationWarning: The current Dask DataFrame implementation is deprecated. - In a future release, Dask DataFrame will use a new implementation that - contains several improvements including a logical query planning. - The user-facing DataFrame API will remain unchanged. - - The new implementation is already available and can be enabled by - installing the dask-expr library: - - $ pip install dask-expr - - and turning the query planning option on: - - >>> import dask - >>> dask.config.set({'dataframe.query-planning': True}) - >>> import dask.dataframe as dd - - API documentation for the new implementation is available at - https://docs.dask.org/en/stable/dask-expr-api.html - - Any feedback can be reported on the Dask issue tracker - https://github.com/dask/dask/issues - - To disable this warning in the future, set dask config: - - # via Python - >>> dask.config.set({'dataframe.query-planning-warning': False}) - - # via CLI - dask config set dataframe.query-planning-warning False - - - import dask.dataframe as dd - -gators/feature_selection/supervized_correlation_filter.py:111: 4 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_dd.py: 8 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 8 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_pd.py: 8 warnings - /Users/cpoli/opensource/gators/gators/feature_selection/supervized_correlation_filter.py:111: DeprecationWarning: The truth value of an empty array is ambiguous. Returning False, but in future this will result in an error. Use `array.size > 0` to check that an array is not empty. - if val >= self.max_corr: - -gators/binning/tests/test_bin_rare_categories_dd.py: 6 warnings -gators/binning/tests/test_bin_rare_categories_pd.py: 12 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pandas/core/algorithms.py:522: DeprecationWarning: np.find_common_type is deprecated. Please use `np.result_type` or `np.promote_types`. - See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) - common = np.find_common_type([values.dtype, comps_array.dtype], []) - -gators/binning/tests/test_bin_rare_categories_dd.py: 1 warning -gators/binning/tests/test_bin_rare_categories_ks.py: 4 warnings -gators/binning/tests/test_bin_rare_categories_pd.py: 4 warnings -gators/binning/tests/test_bin_single_target_class_categories_dd.py: 1 warning -gators/binning/tests/test_bin_single_target_class_categories_pd.py: 1 warning -gators/binning/tests/test_binning_dd.py: 72 warnings -gators/binning/tests/test_binning_ks.py: 20 warnings -gators/binning/tests/test_binning_pd.py: 36 warnings -gators/binning/tests/test_custom_binning_dd.py: 16 warnings -gators/binning/tests/test_custom_binning_ks.py: 4 warnings -gators/binning/tests/test_custom_binning_pd.py: 16 warnings -gators/binning/tests/test_quantile_binning_dd.py: 40 warnings -gators/binning/tests/test_quantile_binning_ks.py: 4 warnings -gators/binning/tests/test_quantile_binning_pd.py: 20 warnings -gators/binning/tests/test_tree_binning_dd.py: 7 warnings -gators/binning/tests/test_tree_binning_ks.py: 1 warning -gators/binning/tests/test_tree_binning_pd.py: 7 warnings -gators/data_cleaning/tests/test_convert_column_datatype_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_columns_dd.py: 1 warning -gators/data_cleaning/tests/test_drop_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_columns_pd.py: 2 warnings -gators/data_cleaning/tests/test_drop_datatype_columns_dd.py: 1 warning -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_datatype_columns_pd.py: 1 warning -gators/data_cleaning/tests/test_drop_high_cardinality_dd.py: 1 warning -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 2 warnings -gators/data_cleaning/tests/test_drop_high_cardinality_pd.py: 2 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_dd.py: 1 warning -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 2 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_pd.py: 2 warnings -gators/data_cleaning/tests/test_keep_columns_dd.py: 1 warning -gators/data_cleaning/tests/test_keep_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_keep_columns_pd.py: 1 warning -gators/data_cleaning/tests/test_rename_columns_dd.py: 2 warnings -gators/data_cleaning/tests/test_rename_columns_ks.py: 2 warnings -gators/data_cleaning/tests/test_rename_columns_pd.py: 2 warnings -gators/data_cleaning/tests/test_replace_dd.py: 1 warning -gators/data_cleaning/tests/test_replace_ks.py: 1 warning -gators/data_cleaning/tests/test_replace_pd.py: 2 warnings -gators/encoders/tests/test_count_encoder_pd.py: 2 warnings -gators/encoders/tests/test_onehot_encoder_dd.py: 1 warning -gators/encoders/tests/test_onehot_encoder_ks.py: 1 warning -gators/encoders/tests/test_onehot_encoder_pd.py: 2 warnings -gators/encoders/tests/test_ordinal_encoder_dd.py: 9 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 1 warning -gators/encoders/tests/test_ordinal_encoder_pd.py: 2 warnings -gators/encoders/tests/test_target_encoder_dd.py: 9 warnings -gators/encoders/tests/test_target_encoder_ks.py: 1 warning -gators/encoders/tests/test_target_encoder_pd.py: 2 warnings -gators/encoders/tests/test_woe_encoder_dd.py: 14 warnings -gators/encoders/tests/test_woe_encoder_ks.py: 2 warnings -gators/encoders/tests/test_woe_encoder_pd.py: 2 warnings -gators/feature_generation/tests/test_cluster_statistics_dd.py: 2 warnings -gators/feature_generation/tests/test_cluster_statistics_ks.py: 2 warnings -gators/feature_generation/tests/test_cluster_statistics_pd.py: 2 warnings -gators/feature_generation/tests/test_elementary_arithmetics_dd.py: 2 warnings -gators/feature_generation/tests/test_elementary_arithmetics_ks.py: 2 warnings -gators/feature_generation/tests/test_elementary_arithmetics_pd.py: 2 warnings -gators/feature_generation/tests/test_is_equal_dd.py: 2 warnings -gators/feature_generation/tests/test_is_equal_ks.py: 2 warnings -gators/feature_generation/tests/test_is_equal_pd.py: 2 warnings -gators/feature_generation/tests/test_is_null_dd.py: 3 warnings -gators/feature_generation/tests/test_is_null_ks.py: 2 warnings -gators/feature_generation/tests/test_is_null_pd.py: 2 warnings -gators/feature_generation/tests/test_one_hot_dd.py: 2 warnings -gators/feature_generation/tests/test_one_hot_ks.py: 2 warnings -gators/feature_generation/tests/test_one_hot_pd.py: 2 warnings -gators/feature_generation/tests/test_plane_rotation_dd.py: 2 warnings -gators/feature_generation/tests/test_plane_rotation_ks.py: 2 warnings -gators/feature_generation/tests/test_plane_rotation_pd.py: 2 warnings -gators/feature_generation/tests/test_polynomial_features_dd.py: 2 warnings -gators/feature_generation/tests/test_polynomial_features_ks.py: 2 warnings -gators/feature_generation/tests/test_polynomial_features_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_month_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_month_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_delta_time_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_delta_time_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_pd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_dd.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_pd.py: 2 warnings -gators/feature_generation_str/tests/test_extract_dd.py: 1 warning -gators/feature_generation_str/tests/test_extract_ks.py: 1 warning -gators/feature_generation_str/tests/test_extract_pd.py: 1 warning -gators/feature_generation_str/tests/test_lower_case_dd.py: 1 warning -gators/feature_generation_str/tests/test_lower_case_ks.py: 1 warning -gators/feature_generation_str/tests/test_lower_case_pd.py: 3 warnings -gators/feature_generation_str/tests/test_split_extract_pd.py: 1 warning -gators/feature_generation_str/tests/test_contains_dd.py: 2 warnings -gators/feature_generation_str/tests/test_contains_ks.py: 2 warnings -gators/feature_generation_str/tests/test_contains_pd.py: 2 warnings -gators/feature_generation_str/tests/test_length_dd.py: 1 warning -gators/feature_generation_str/tests/test_length_ks.py: 1 warning -gators/feature_generation_str/tests/test_length_pd.py: 1 warning -gators/feature_generation_str/tests/test_upper_case_dd.py: 1 warning -gators/feature_generation_str/tests/test_upper_case_ks.py: 1 warning -gators/feature_generation_str/tests/test_upper_case_pd.py: 3 warnings -gators/feature_selection/tests/test_correlation_filter_dd.py: 1 warning -gators/feature_selection/tests/test_correlation_filter_ks.py: 1 warning -gators/feature_selection/tests/test_correlation_filter_pd.py: 1 warning -gators/feature_selection/tests/test_supervized_correlation_filter_dd.py: 1 warning -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 1 warning -gators/feature_selection/tests/test_supervized_correlation_filter_pd.py: 1 warning -gators/feature_selection/tests/test_variance_filter_dd.py: 19 warnings -gators/feature_selection/tests/test_variance_filter_ks.py: 1 warning -gators/feature_selection/tests/test_variance_filter_pd.py: 1 warning -gators/imputers/tests/test_imputers_dd.py: 29 warnings -gators/imputers/tests/test_imputers_ks.py: 1 warning -gators/imputers/tests/test_imputers_pd.py: 3 warnings -gators/scalers/tests/test_standard_scaler_dd.py: 4 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pandas/core/dtypes/cast.py:1641: DeprecationWarning: np.find_common_type is deprecated. Please use `np.result_type` or `np.promote_types`. - See https://numpy.org/devdocs/release/1.25.0-notes.html and the docs for more information. (Deprecated NumPy 1.25) - return np.find_common_type(types, []) - -gators/binning/tests/test_bin_rare_categories_ks.py: 3608 warnings -gators/binning/tests/test_bin_single_target_class_categories_ks.py: 554 warnings -gators/binning/tests/test_binning_ks.py: 22480 warnings -gators/binning/tests/test_custom_binning_ks.py: 9434 warnings -gators/binning/tests/test_quantile_binning_ks.py: 15744 warnings -gators/binning/tests/test_tree_binning_ks.py: 5668 warnings -gators/clipping/tests/test_clipping_ks.py: 640 warnings -gators/clipping/tests/test_quantile_clipping_ks.py: 1724 warnings -gators/converter/tests/test_to_numpy_ks.py: 64 warnings -gators/converter/tests/test_to_pandas_ks.py: 64 warnings -gators/data_cleaning/tests/test_convert_column_datatype_ks.py: 430 warnings -gators/data_cleaning/tests/test_drop_columns_ks.py: 76 warnings -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py: 108 warnings -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 746 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 1240 warnings -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py: 590 warnings -gators/data_cleaning/tests/test_keep_columns_ks.py: 76 warnings -gators/data_cleaning/tests/test_rename_columns_ks.py: 132 warnings -gators/data_cleaning/tests/test_replace_ks.py: 114 warnings -gators/encoders/tests/test_onehot_encoder_ks.py: 4406 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 1186 warnings -gators/encoders/tests/test_target_encoder_ks.py: 1458 warnings -gators/encoders/tests/test_woe_encoder_ks.py: 2520 warnings -gators/feature_generation/tests/test_cluster_statistics_ks.py: 15496 warnings -gators/feature_generation/tests/test_elementary_arithmetics_ks.py: 3484 warnings -gators/feature_generation/tests/test_is_equal_ks.py: 1332 warnings -gators/feature_generation/tests/test_is_null_ks.py: 1778 warnings -gators/feature_generation/tests/test_one_hot_ks.py: 2264 warnings -gators/feature_generation/tests/test_plane_rotation_ks.py: 5628 warnings -gators/feature_generation/tests/test_polynomial_features_ks.py: 3258 warnings -gators/feature_generation/tests/test_polynomial_object_features_ks.py: 1012 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 2382 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 1716 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py: 1710 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py: 1710 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py: 3706 warnings -gators/feature_generation_dt/tests/test_delta_time_ks.py: 2892 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py: 1616 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 1626 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py: 1616 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py: 1616 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py: 1616 warnings -gators/feature_generation_str/tests/test_extract_ks.py: 498 warnings -gators/feature_generation_str/tests/test_lower_case_ks.py: 528 warnings -gators/feature_generation_str/tests/test_contains_ks.py: 1188 warnings -gators/feature_generation_str/tests/test_length_ks.py: 810 warnings -gators/feature_generation_str/tests/test_upper_case_ks.py: 528 warnings -gators/feature_selection/tests/test_correlation_filter_ks.py: 222 warnings -gators/feature_selection/tests/test_information_value_ks.py: 396 warnings -gators/feature_selection/tests/test_select_from_model_ks.py: 242 warnings -gators/feature_selection/tests/test_select_from_models_ks.py: 326 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 242 warnings -gators/feature_selection/tests/test_variance_filter_ks.py: 502 warnings -gators/imputers/tests/test_imputers_ks.py: 4056 warnings -gators/pipeline/tests/test_pipeline_ks.py: 2350 warnings -gators/sampling/tests/test_supervised_sampling_ks.py: 964 warnings -gators/sampling/tests/test_unsupervised_sampling_ks.py: 366 warnings -gators/scalers/tests/test_minmax_scaler_ks.py: 4704 warnings -gators/scalers/tests/test_standard_scaler_ks.py: 5148 warnings -gators/scalers/tests/test_yeo_johnson_ks.py: 7824 warnings -gators/transformers/tests/test_transformer_ks.py: 126 warnings -gators/transformers/tests/test_transformer_xy_ks.py: 88 warnings -gators/util/tests/test_util_ks.py: 944 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/typedef/typehints.py:152: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. - if sys.version_info >= (3, 8) and LooseVersion(np.__version__) >= LooseVersion("1.21"): - -gators/binning/tests/test_bin_rare_categories_ks.py: 936 warnings -gators/binning/tests/test_bin_single_target_class_categories_ks.py: 131 warnings -gators/binning/tests/test_binning_ks.py: 7207 warnings -gators/binning/tests/test_custom_binning_ks.py: 3022 warnings -gators/binning/tests/test_quantile_binning_ks.py: 5043 warnings -gators/binning/tests/test_tree_binning_ks.py: 1831 warnings -gators/clipping/tests/test_clipping_ks.py: 218 warnings -gators/clipping/tests/test_quantile_clipping_ks.py: 580 warnings -gators/converter/tests/test_to_numpy_ks.py: 24 warnings -gators/converter/tests/test_to_pandas_ks.py: 24 warnings -gators/data_cleaning/tests/test_convert_column_datatype_ks.py: 147 warnings -gators/data_cleaning/tests/test_drop_columns_ks.py: 26 warnings -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py: 36 warnings -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 160 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 386 warnings -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py: 117 warnings -gators/data_cleaning/tests/test_keep_columns_ks.py: 26 warnings -gators/data_cleaning/tests/test_rename_columns_ks.py: 39 warnings -gators/data_cleaning/tests/test_replace_ks.py: 32 warnings -gators/encoders/tests/test_onehot_encoder_ks.py: 1403 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 349 warnings -gators/encoders/tests/test_target_encoder_ks.py: 413 warnings -gators/encoders/tests/test_woe_encoder_ks.py: 693 warnings -gators/feature_generation/tests/test_cluster_statistics_ks.py: 4188 warnings -gators/feature_generation/tests/test_elementary_arithmetics_ks.py: 1178 warnings -gators/feature_generation/tests/test_is_equal_ks.py: 479 warnings -gators/feature_generation/tests/test_is_null_ks.py: 585 warnings -gators/feature_generation/tests/test_one_hot_ks.py: 706 warnings -gators/feature_generation/tests/test_plane_rotation_ks.py: 1872 warnings -gators/feature_generation/tests/test_polynomial_features_ks.py: 1070 warnings -gators/feature_generation/tests/test_polynomial_object_features_ks.py: 241 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 758 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 536 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py: 533 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py: 533 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py: 1159 warnings -gators/feature_generation_dt/tests/test_delta_time_ks.py: 916 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py: 489 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 494 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py: 489 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py: 489 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py: 489 warnings -gators/feature_generation_str/tests/test_extract_ks.py: 147 warnings -gators/feature_generation_str/tests/test_lower_case_ks.py: 153 warnings -gators/feature_generation_str/tests/test_contains_ks.py: 360 warnings -gators/feature_generation_str/tests/test_length_ks.py: 240 warnings -gators/feature_generation_str/tests/test_upper_case_ks.py: 153 warnings -gators/feature_selection/tests/test_correlation_filter_ks.py: 72 warnings -gators/feature_selection/tests/test_information_value_ks.py: 81 warnings -gators/feature_selection/tests/test_select_from_model_ks.py: 84 warnings -gators/feature_selection/tests/test_select_from_models_ks.py: 109 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 80 warnings -gators/feature_selection/tests/test_variance_filter_ks.py: 167 warnings -gators/imputers/tests/test_imputers_ks.py: 1292 warnings -gators/pipeline/tests/test_pipeline_ks.py: 779 warnings -gators/sampling/tests/test_supervised_sampling_ks.py: 307 warnings -gators/sampling/tests/test_unsupervised_sampling_ks.py: 112 warnings -gators/scalers/tests/test_minmax_scaler_ks.py: 1507 warnings -gators/scalers/tests/test_standard_scaler_ks.py: 1654 warnings -gators/scalers/tests/test_yeo_johnson_ks.py: 2610 warnings -gators/transformers/tests/test_transformer_ks.py: 48 warnings -gators/transformers/tests/test_transformer_xy_ks.py: 35 warnings -gators/util/tests/test_util_ks.py: 314 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/typedef/typehints.py:181: DeprecationWarning: Converting `np.character` to a dtype is deprecated. The current result is `np.dtype(np.str_)` which is not strictly correct. Note that `np.character` is generally deprecated and 'S1' should be used. - elif tpe in (bytes, np.character, np.bytes_, np.string_): - -gators/binning/tests/test_bin_rare_categories_ks.py: 62 warnings -gators/binning/tests/test_bin_single_target_class_categories_ks.py: 8 warnings -gators/binning/tests/test_binning_ks.py: 136 warnings -gators/binning/tests/test_custom_binning_ks.py: 40 warnings -gators/binning/tests/test_quantile_binning_ks.py: 56 warnings -gators/binning/tests/test_tree_binning_ks.py: 56 warnings -gators/clipping/tests/test_clipping_ks.py: 16 warnings -gators/clipping/tests/test_quantile_clipping_ks.py: 54 warnings -gators/converter/tests/test_to_numpy_ks.py: 8 warnings -gators/converter/tests/test_to_pandas_ks.py: 8 warnings -gators/data_cleaning/tests/test_convert_column_datatype_ks.py: 18 warnings -gators/data_cleaning/tests/test_drop_columns_ks.py: 8 warnings -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py: 8 warnings -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 32 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 40 warnings -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py: 32 warnings -gators/data_cleaning/tests/test_keep_columns_ks.py: 8 warnings -gators/data_cleaning/tests/test_rename_columns_ks.py: 8 warnings -gators/data_cleaning/tests/test_replace_ks.py: 8 warnings -gators/encoders/tests/test_onehot_encoder_ks.py: 20 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 30 warnings -gators/encoders/tests/test_target_encoder_ks.py: 30 warnings -gators/encoders/tests/test_woe_encoder_ks.py: 48 warnings -gators/feature_generation/tests/test_cluster_statistics_ks.py: 96 warnings -gators/feature_generation/tests/test_elementary_arithmetics_ks.py: 40 warnings -gators/feature_generation/tests/test_is_equal_ks.py: 24 warnings -gators/feature_generation/tests/test_is_null_ks.py: 24 warnings -gators/feature_generation/tests/test_one_hot_ks.py: 16 warnings -gators/feature_generation/tests/test_plane_rotation_ks.py: 16 warnings -gators/feature_generation/tests/test_polynomial_features_ks.py: 16 warnings -gators/feature_generation/tests/test_polynomial_object_features_ks.py: 8 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 106 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 40 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py: 28 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py: 28 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py: 40 warnings -gators/feature_generation_dt/tests/test_delta_time_ks.py: 40 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py: 40 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 60 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py: 40 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py: 40 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py: 40 warnings -gators/feature_generation_str/tests/test_extract_ks.py: 20 warnings -gators/feature_generation_str/tests/test_lower_case_ks.py: 8 warnings -gators/feature_generation_str/tests/test_contains_ks.py: 40 warnings -gators/feature_generation_str/tests/test_length_ks.py: 8 warnings -gators/feature_generation_str/tests/test_upper_case_ks.py: 8 warnings -gators/feature_selection/tests/test_correlation_filter_ks.py: 16 warnings -gators/feature_selection/tests/test_information_value_ks.py: 20 warnings -gators/feature_selection/tests/test_select_from_model_ks.py: 12 warnings -gators/feature_selection/tests/test_select_from_models_ks.py: 16 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 24 warnings -gators/feature_selection/tests/test_variance_filter_ks.py: 28 warnings -gators/imputers/tests/test_imputers_ks.py: 232 warnings -gators/pipeline/tests/test_pipeline_ks.py: 8 warnings -gators/sampling/tests/test_supervised_sampling_ks.py: 14 warnings -gators/sampling/tests/test_unsupervised_sampling_ks.py: 4 warnings -gators/scalers/tests/test_minmax_scaler_ks.py: 74 warnings -gators/scalers/tests/test_standard_scaler_ks.py: 84 warnings -gators/scalers/tests/test_yeo_johnson_ks.py: 24 warnings -gators/transformers/tests/test_transformer_ks.py: 16 warnings -gators/transformers/tests/test_transformer_xy_ks.py: 10 warnings -gators/util/tests/test_util_ks.py: 10 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/sql/pandas/utils.py:37: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. - if LooseVersion(pandas.__version__) < LooseVersion(minimum_pandas_version): - -gators/binning/tests/test_bin_rare_categories_ks.py: 10 warnings -gators/binning/tests/test_bin_single_target_class_categories_ks.py: 1 warning -gators/binning/tests/test_binning_ks.py: 16 warnings -gators/converter/tests/test_to_pandas_ks.py: 2 warnings -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 4 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 4 warnings -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py: 4 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 6 warnings -gators/encoders/tests/test_target_encoder_ks.py: 2 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 2 warnings -gators/feature_selection/tests/test_variance_filter_ks.py: 2 warnings -gators/scalers/tests/test_minmax_scaler_ks.py: 8 warnings -gators/scalers/tests/test_standard_scaler_ks.py: 8 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/utils.py:1016: PandasAPIOnSparkAdviceWarning: `to_pandas` loads all data into the driver's memory. It should only be used if the resulting pandas Series is expected to be small. - warnings.warn(message, PandasAPIOnSparkAdviceWarning) - -gators/binning/tests/test_bin_rare_categories_ks.py: 9 warnings -gators/binning/tests/test_bin_single_target_class_categories_ks.py: 1 warning -gators/binning/tests/test_binning_ks.py: 5 warnings -gators/binning/tests/test_custom_binning_ks.py: 5 warnings -gators/binning/tests/test_quantile_binning_ks.py: 13 warnings -gators/binning/tests/test_tree_binning_ks.py: 2 warnings -gators/clipping/tests/test_clipping_ks.py: 2 warnings -gators/clipping/tests/test_quantile_clipping_ks.py: 5 warnings -gators/converter/tests/test_to_pandas_ks.py: 2 warnings -gators/data_cleaning/tests/test_convert_column_datatype_ks.py: 2 warnings -gators/data_cleaning/tests/test_drop_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 7 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 4 warnings -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py: 7 warnings -gators/data_cleaning/tests/test_keep_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_rename_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_replace_ks.py: 1 warning -gators/encoders/tests/test_onehot_encoder_ks.py: 4 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 4 warnings -gators/encoders/tests/test_target_encoder_ks.py: 4 warnings -gators/encoders/tests/test_woe_encoder_ks.py: 11 warnings -gators/feature_generation/tests/test_cluster_statistics_ks.py: 3 warnings -gators/feature_generation/tests/test_elementary_arithmetics_ks.py: 5 warnings -gators/feature_generation/tests/test_is_equal_ks.py: 3 warnings -gators/feature_generation/tests/test_is_null_ks.py: 3 warnings -gators/feature_generation/tests/test_one_hot_ks.py: 2 warnings -gators/feature_generation/tests/test_plane_rotation_ks.py: 2 warnings -gators/feature_generation/tests/test_polynomial_features_ks.py: 2 warnings -gators/feature_generation/tests/test_polynomial_object_features_ks.py: 1 warning -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_delta_time_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py: 3 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py: 3 warnings -gators/feature_generation_str/tests/test_extract_ks.py: 1 warning -gators/feature_generation_str/tests/test_lower_case_ks.py: 1 warning -gators/feature_generation_str/tests/test_contains_ks.py: 2 warnings -gators/feature_generation_str/tests/test_length_ks.py: 1 warning -gators/feature_generation_str/tests/test_upper_case_ks.py: 1 warning -gators/feature_selection/tests/test_correlation_filter_ks.py: 5 warnings -gators/feature_selection/tests/test_information_value_ks.py: 5 warnings -gators/feature_selection/tests/test_select_from_model_ks.py: 1 warning -gators/feature_selection/tests/test_select_from_models_ks.py: 3 warnings -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 5 warnings -gators/feature_selection/tests/test_variance_filter_ks.py: 3 warnings -gators/imputers/tests/test_imputers_ks.py: 27 warnings -gators/scalers/tests/test_minmax_scaler_ks.py: 1 warning -gators/scalers/tests/test_yeo_johnson_ks.py: 4 warnings -gators/util/tests/test_util_ks.py: 2 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/utils.py:1016: PandasAPIOnSparkAdviceWarning: `to_pandas` loads all data into the driver's memory. It should only be used if the resulting pandas DataFrame is expected to be small. - warnings.warn(message, PandasAPIOnSparkAdviceWarning) - -gators/binning/tests/test_bin_rare_categories_ks.py: 5 warnings -gators/binning/tests/test_binning_ks.py: 5 warnings -gators/binning/tests/test_custom_binning_ks.py: 5 warnings -gators/binning/tests/test_quantile_binning_ks.py: 5 warnings -gators/binning/tests/test_tree_binning_ks.py: 26 warnings -gators/clipping/tests/test_clipping_ks.py: 2 warnings -gators/clipping/tests/test_quantile_clipping_ks.py: 17 warnings -gators/converter/tests/test_to_numpy_ks.py: 3 warnings -gators/data_cleaning/tests/test_convert_column_datatype_ks.py: 3 warnings -gators/data_cleaning/tests/test_drop_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_datatype_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py: 3 warnings -gators/data_cleaning/tests/test_drop_high_nan_ratio_ks.py: 2 warnings -gators/data_cleaning/tests/test_drop_low_cardinality_ks.py: 3 warnings -gators/data_cleaning/tests/test_keep_columns_ks.py: 1 warning -gators/data_cleaning/tests/test_rename_columns_ks.py: 2 warnings -gators/data_cleaning/tests/test_replace_ks.py: 1 warning -gators/encoders/tests/test_onehot_encoder_ks.py: 2 warnings -gators/encoders/tests/test_ordinal_encoder_ks.py: 2 warnings -gators/encoders/tests/test_target_encoder_ks.py: 2 warnings -gators/encoders/tests/test_woe_encoder_ks.py: 3 warnings -gators/feature_generation/tests/test_cluster_statistics_ks.py: 3 warnings -gators/feature_generation/tests/test_elementary_arithmetics_ks.py: 5 warnings -gators/feature_generation/tests/test_is_equal_ks.py: 3 warnings -gators/feature_generation/tests/test_is_null_ks.py: 3 warnings -gators/feature_generation/tests/test_one_hot_ks.py: 2 warnings -gators/feature_generation/tests/test_plane_rotation_ks.py: 2 warnings -gators/feature_generation/tests/test_polynomial_features_ks.py: 2 warnings -gators/feature_generation/tests/test_polynomial_object_features_ks.py: 1 warning -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_hour_of_day_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_minute_of_hour_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_cyclic_month_of_year_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_delta_time_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_month_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_hour_of_day_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_minute_of_hour_ks.py: 2 warnings -gators/feature_generation_dt/tests/test_ordinal_month_of_year_ks.py: 2 warnings -gators/feature_generation_str/tests/test_extract_ks.py: 1 warning -gators/feature_generation_str/tests/test_lower_case_ks.py: 1 warning -gators/feature_generation_str/tests/test_contains_ks.py: 2 warnings -gators/feature_generation_str/tests/test_length_ks.py: 1 warning -gators/feature_generation_str/tests/test_upper_case_ks.py: 1 warning -gators/feature_selection/tests/test_correlation_filter_ks.py: 1 warning -gators/feature_selection/tests/test_information_value_ks.py: 1 warning -gators/feature_selection/tests/test_select_from_model_ks.py: 1 warning -gators/feature_selection/tests/test_select_from_models_ks.py: 1 warning -gators/feature_selection/tests/test_supervized_correlation_filter_ks.py: 1 warning -gators/feature_selection/tests/test_variance_filter_ks.py: 1 warning -gators/imputers/tests/test_imputers_ks.py: 13 warnings -gators/pipeline/tests/test_pipeline_ks.py: 1 warning -gators/scalers/tests/test_minmax_scaler_ks.py: 2 warnings -gators/scalers/tests/test_standard_scaler_ks.py: 2 warnings -gators/scalers/tests/test_yeo_johnson_ks.py: 2 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/utils.py:1016: PandasAPIOnSparkAdviceWarning: `to_numpy` loads all data into the driver's memory. It should only be used if the resulting NumPy ndarray is expected to be small. - warnings.warn(message, PandasAPIOnSparkAdviceWarning) - -gators/binning/tests/test_bin_single_target_class_categories_ks.py::test_ks -gators/encoders/tests/test_target_encoder_ks.py::test_ks -gators/encoders/tests/test_target_encoder_ks.py::test_ks_np - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/groupby.py:649: FutureWarning: Default value of `numeric_only` will be changed to `False` instead of `True` in 4.0.0. - warnings.warn( - -gators/binning/tests/test_bin_single_target_class_categories_pd.py::test_no_binning_pd -gators/binning/tests/test_bin_single_target_class_categories_pd.py::test_no_binning_pd_np - /Users/cpoli/opensource/gators/gators/binning/bin_single_target_class_categories.py:137: FutureWarning: Not prepending group keys to the result index of transform-like apply. In the future, the group keys will be included in the index, regardless of whether the applied function returns a like-indexed object. - To preserve the previous behavior, use - - >>> .groupby(..., group_keys=False) - - To adopt the future behavior and silence this warning, use - - >>> .groupby(..., group_keys=True) - .apply(lambda x: x.sort_index(level=1).sort_values()) - -gators/binning/tests/test_quantile_binning_ks.py: 8 warnings -gators/clipping/tests/test_quantile_clipping_ks.py: 14 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/frame.py:12228: FutureWarning: Default value of `numeric_only` will be changed to `False` instead of `True` in 4.0.0. - warnings.warn( - -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py::test_no_object_ks -gators/data_cleaning/tests/test_drop_high_cardinality_ks.py::test_no_object_ks_np - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/frame.py:6976: FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning. - return pd.Series( - -gators/encoders/tests/test_ordinal_encoder_ks.py: 6 warnings -gators/imputers/tests/test_imputers_ks.py: 4 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/base.py:1437: FutureWarning: The resulting Series will have a fixed name of 'count' from 4.0.0. - warnings.warn( - -gators/feature_generation_dt/tests/test_cyclic_day_of_month_ks.py: 72 warnings -gators/feature_generation_dt/tests/test_cyclic_day_of_week_ks.py: 6 warnings -gators/feature_generation_dt/tests/test_ordinal_day_of_week_ks.py: 10 warnings -gators/feature_generation_str/tests/test_extract_ks.py: 6 warnings -gators/feature_generation_str/tests/test_contains_ks.py: 12 warnings - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/sql/pandas/utils.py:64: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. - if LooseVersion(pyarrow.__version__) < LooseVersion(minimum_pyarrow_version): - -gators/feature_selection/tests/test_select_from_model_dd.py::test_dd_np - /Users/cpoli/gators312/lib/python3.12/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use. - Perhaps you already have a cluster running? - Hosting the HTTP server on port 62980 instead - warnings.warn( - -gators/feature_selection/tests/test_select_from_model_ks.py::test_ks -gators/feature_selection/tests/test_select_from_model_ks.py::test_ks_np -gators/feature_selection/tests/test_select_from_models_ks.py::test_ks -gators/feature_selection/tests/test_select_from_models_ks.py::test_ks -gators/feature_selection/tests/test_select_from_models_ks.py::test_ks_np -gators/feature_selection/tests/test_select_from_models_ks.py::test_ks_np - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/utils.py:1016: PandasAPIOnSparkAdviceWarning: If `index_col` is not specified for `to_spark`, the existing index is lost when converting to Spark DataFrame. - warnings.warn(message, PandasAPIOnSparkAdviceWarning) - -gators/feature_selection/tests/test_select_from_models_dd.py::test_dd - /Users/cpoli/gators312/lib/python3.12/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use. - Perhaps you already have a cluster running? - Hosting the HTTP server on port 63027 instead - warnings.warn( - -gators/feature_selection/tests/test_select_from_models_dd.py::test_dd - /Users/cpoli/gators312/lib/python3.12/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use. - Perhaps you already have a cluster running? - Hosting the HTTP server on port 63062 instead - warnings.warn( - -gators/feature_selection/tests/test_select_from_models_dd.py::test_dd_np - /Users/cpoli/gators312/lib/python3.12/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use. - Perhaps you already have a cluster running? - Hosting the HTTP server on port 63107 instead - warnings.warn( - -gators/feature_selection/tests/test_select_from_models_dd.py::test_dd_np - /Users/cpoli/gators312/lib/python3.12/site-packages/distributed/node.py:182: UserWarning: Port 8787 is already in use. - Perhaps you already have a cluster running? - Hosting the HTTP server on port 63136 instead - warnings.warn( - -gators/imputers/tests/test_imputers_pd.py::test_empty_columns_object -gators/imputers/tests/test_imputers_pd.py::test_num_idx_columns_empty -gators/imputers/tests/test_imputers_pd.py::test_num_idx_columns_empty - /Users/cpoli/opensource/gators/gators/imputers/_base_imputer.py:113: FutureWarning: The default dtype for empty Series will be 'object' instead of 'float64' in a future version. Specify a dtype explicitly to silence this warning. - if pd.Series(statistics).isnull().sum(): - -gators/sampling/tests/test_supervised_sampling_dd.py::test_dd - /Users/cpoli/opensource/gators/gators/sampling/supervised_sampling.py:116: UserWarning: `meta` is not specified, inferred from partial data. Please provide `meta` if the result is unexpected. - Before: .apply(func) - After: .apply(func, meta={'x': 'f8', 'y': 'f8'}) for dataframe result - or: .apply(func, meta=('x', 'f8')) for series result - .apply(f, self.frac_dict, self.random_state) - -gators/sampling/tests/test_supervised_sampling_ks.py::test_ks - /Users/cpoli/gators312/lib/python3.12/site-packages/pyspark/pandas/utils.py:1016: PandasAPIOnSparkAdviceWarning: If the type hints is not specified for `groupby.apply`, it is expensive to infer the data type internally. - warnings.warn(message, PandasAPIOnSparkAdviceWarning) - -gators/scalers/tests/test_yeo_johnson_pd.py::test_0lambda_pd -gators/scalers/tests/test_yeo_johnson_pd.py::test_2lambda_pd -gators/scalers/tests/test_yeo_johnson_pd.py::test_not_inplace_pd - /Users/cpoli/gators312/lib/python3.12/site-packages/pandas/core/arraylike.py:402: RuntimeWarning: divide by zero encountered in log1p - result = getattr(ufunc, method)(*inputs, **kwargs) - -gators/scalers/tests/test_yeo_johnson_pd.py::test_0lambda_pd -gators/scalers/tests/test_yeo_johnson_pd.py::test_2lambda_pd -gators/scalers/tests/test_yeo_johnson_pd.py::test_not_inplace_pd -gators/scalers/tests/test_yeo_johnson_pd.py::test_not_inplace_pd -gators/scalers/tests/test_yeo_johnson_pd.py::test_not_inplace_pd - /Users/cpoli/gators312/lib/python3.12/site-packages/pandas/core/arraylike.py:402: RuntimeWarning: invalid value encountered in log1p - result = getattr(ufunc, method)(*inputs, **kwargs) - --- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html -=============== 830 passed, 215265 warnings in 408.37s (0:06:48) ===============