diff --git a/CHANGES.rst b/CHANGES.rst index ca4910732..fc48ad0e6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -43,8 +43,10 @@ New Features Changes ------- -- :meth:`choose_from` now transparently converts `outcomes` to a list when it is another type of sequence. :pr:`2100` by - :user:`aidbar `. +- Grouped Examples into subject-specific sections. :pr:`2102` by + :user:`Maureen Githaiga `. +- :meth:`choose_from` now transparently converts `outcomes` to a list when it is + another type of sequence. :pr:`2100` by :user:`aidbar `. - An unnecessary warning that was raised when passing a numpy array to the TableVectorizer has been removed. :pr:`1908` by :user:`Sandrine Henry `. diff --git a/examples/0090_apply_to_cols.py b/examples/0010_apply_to_cols.py similarity index 100% rename from examples/0090_apply_to_cols.py rename to examples/0010_apply_to_cols.py diff --git a/examples/0010_encodings.py b/examples/01_encoding/0010_encodings.py similarity index 100% rename from examples/0010_encodings.py rename to examples/01_encoding/0010_encodings.py diff --git a/examples/0020_text_with_string_encoders.py b/examples/01_encoding/0020_text_with_string_encoders.py similarity index 100% rename from examples/0020_text_with_string_encoders.py rename to examples/01_encoding/0020_text_with_string_encoders.py diff --git a/examples/0030_datetime_encoder.py b/examples/01_encoding/0030_datetime_encoder.py similarity index 100% rename from examples/0030_datetime_encoder.py rename to examples/01_encoding/0030_datetime_encoder.py diff --git a/examples/01_encoding/GALLERY_HEADER.rst b/examples/01_encoding/GALLERY_HEADER.rst new file mode 100644 index 000000000..d79d44f0a --- /dev/null +++ b/examples/01_encoding/GALLERY_HEADER.rst @@ -0,0 +1,2 @@ +Encoding features +================= diff --git a/examples/0100_squashing_scaler.py b/examples/02_data_ops/0100_squashing_scaler.py similarity index 100% rename from examples/0100_squashing_scaler.py rename to examples/02_data_ops/0100_squashing_scaler.py diff --git a/examples/data_ops/1120_multiple_tables.py b/examples/02_data_ops/1120_multiple_tables.py similarity index 100% rename from examples/data_ops/1120_multiple_tables.py rename to examples/02_data_ops/1120_multiple_tables.py diff --git a/examples/data_ops/1130_choices.py b/examples/02_data_ops/1130_choices.py similarity index 100% rename from examples/data_ops/1130_choices.py rename to examples/02_data_ops/1130_choices.py diff --git a/examples/data_ops/1131_optuna_choices.py b/examples/02_data_ops/1131_optuna_choices.py similarity index 100% rename from examples/data_ops/1131_optuna_choices.py rename to examples/02_data_ops/1131_optuna_choices.py diff --git a/examples/data_ops/1140_subsampling.py b/examples/02_data_ops/1140_subsampling.py similarity index 100% rename from examples/data_ops/1140_subsampling.py rename to examples/02_data_ops/1140_subsampling.py diff --git a/examples/data_ops/1150_use_case.py b/examples/02_data_ops/1150_use_case.py similarity index 100% rename from examples/data_ops/1150_use_case.py rename to examples/02_data_ops/1150_use_case.py diff --git a/examples/data_ops/1160_pytorch.py b/examples/02_data_ops/1160_pytorch.py similarity index 100% rename from examples/data_ops/1160_pytorch.py rename to examples/02_data_ops/1160_pytorch.py diff --git a/examples/data_ops/GALLERY_HEADER.rst b/examples/02_data_ops/GALLERY_HEADER.rst similarity index 100% rename from examples/data_ops/GALLERY_HEADER.rst rename to examples/02_data_ops/GALLERY_HEADER.rst diff --git a/examples/0040_fuzzy_joining.py b/examples/03_joining/0040_fuzzy_joining.py similarity index 100% rename from examples/0040_fuzzy_joining.py rename to examples/03_joining/0040_fuzzy_joining.py diff --git a/examples/0060_multiple_key_join.py b/examples/03_joining/0060_multiple_key_join.py similarity index 100% rename from examples/0060_multiple_key_join.py rename to examples/03_joining/0060_multiple_key_join.py diff --git a/examples/0070_join_aggregation.py b/examples/03_joining/0070_join_aggregation.py similarity index 100% rename from examples/0070_join_aggregation.py rename to examples/03_joining/0070_join_aggregation.py diff --git a/examples/0080_interpolation_join.py b/examples/03_joining/0080_interpolation_join.py similarity index 100% rename from examples/0080_interpolation_join.py rename to examples/03_joining/0080_interpolation_join.py diff --git a/examples/03_joining/GALLERY_HEADER.rst b/examples/03_joining/GALLERY_HEADER.rst new file mode 100644 index 000000000..3b3de2857 --- /dev/null +++ b/examples/03_joining/GALLERY_HEADER.rst @@ -0,0 +1,2 @@ +Joining tables with imperfect data +==================================