`PandasAdapter` causes crash or misattributed features

### Describe the bug

If all the following hold
- Using ColumnTransformer with the output container set to pandas
- At least one transformer transforms 1D inputs to 2D outputs (like [DictVectorizer](https://scikit-learn.org/stable/modules/generated/sklearn.feature_extraction.DictVectorizer.html))
- At least one transformer transformers 2D inputs to 2D outputs (like [FunctionTransformer](https://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.FunctionTransformer.html))
- The input is a pandas DataFrame with non-default index

then fit/transform with the ColumnTransformer crashes because of index misalignment, or (in pathological situations) **permutes the outputs of some feature transforms making the first data point have some features from the first data point and some features from the second data point**.

### Steps/Code to Reproduce

```python
import pandas as pd
from sklearn.compose import make_column_transformer
from sklearn.feature_extraction import DictVectorizer
from sklearn.preprocessing import FunctionTransformer

df = pd.DataFrame({
    'dict_col': [{'foo': 1, 'bar': 2}, {'foo': 3, 'baz': 1}],
    'dummy_col': [1, 2]
}, index=[1, 2])  # replace with [1, 0] for pathological example
                 
t = make_column_transformer(
    (DictVectorizer(sparse=False), 'dict_col'),
    (FunctionTransformer(), ['dummy_col']),
)
t.set_output(transform='pandas')

t.fit_transform(df)
```

### Expected Results

The following features dataframe:
||dictvectorizer__bar|dictvectorizer__baz|dictvectorizer__foo|functiontransformer__dummy_col|
|---|---|---|---|---|
|0|2|0|1|1|
|1|0|1|3|2|

### Actual Results

A crash:
```
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[3], line 17
     11 t = make_column_transformer(
     12     (DictVectorizer(sparse=False), 'dict_col'),
     13     (FunctionTransformer(), ['dummy_col']),
     14 )
     15 t.set_output(transform='pandas')
---> 17 t.fit_transform(df)

File [~\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\sklearn\utils\_set_output.py:319](http://localhost:8888/lab/tree/~/Documents/Code/Python/Scratchwork/pandas_adapter/Lib/site-packages/sklearn/utils/_set_output.py#line=318), in _wrap_method_output.<locals>.wrapped(self, X, *args, **kwargs)
    317 @wraps(f)
    318 def wrapped(self, X, *args, **kwargs):
--> 319     data_to_wrap = f(self, X, *args, **kwargs)
    320     if isinstance(data_to_wrap, tuple):
    321         # only wrap the first output for cross decomposition
    322         return_tuple = (
    323             _wrap_data_with_container(method, data_to_wrap[0], X, self),
    324             *data_to_wrap[1:],
    325         )

File [~\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\sklearn\base.py:1389](http://localhost:8888/lab/tree/~/Documents/Code/Python/Scratchwork/pandas_adapter/Lib/site-packages/sklearn/base.py#line=1388), in _fit_context.<locals>.decorator.<locals>.wrapper(estimator, *args, **kwargs)
   1382     estimator._validate_params()
   1384 with config_context(
   1385     skip_parameter_validation=(
   1386         prefer_skip_nested_validation or global_skip_validation
   1387     )
   1388 ):
-> 1389     return fit_method(estimator, *args, **kwargs)

File [~\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\sklearn\compose\_column_transformer.py:1031](http://localhost:8888/lab/tree/~/Documents/Code/Python/Scratchwork/pandas_adapter/Lib/site-packages/sklearn/compose/_column_transformer.py#line=1030), in ColumnTransformer.fit_transform(self, X, y, **params)
   1028 self._validate_output(Xs)
   1029 self._record_output_indices(Xs)
-> 1031 return self._hstack(list(Xs), n_samples=n_samples)

File [~\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\sklearn\compose\_column_transformer.py:1215](http://localhost:8888/lab/tree/~/Documents/Code/Python/Scratchwork/pandas_adapter/Lib/site-packages/sklearn/compose/_column_transformer.py#line=1214), in ColumnTransformer._hstack(self, Xs, n_samples)
   1213     output_samples = output.shape[0]
   1214     if output_samples != n_samples:
-> 1215         raise ValueError(
   1216             "Concatenating DataFrames from the transformer's output lead to"
   1217             " an inconsistent number of samples. The output may have Pandas"
   1218             " Indexes that do not match, or that transformers are returning"
   1219             " number of samples which are not the same as the number input"
   1220             " samples."
   1221         )
   1223     return output
   1225 return np.hstack(Xs)

ValueError: Concatenating DataFrames from the transformer's output lead to an inconsistent number of samples. The output may have Pandas Indexes that do not match, or that transformers are returning number of samples which are not the same as the number input samples.
```

Or the following for the pathological example (note the two entries in functiontransformer__dummy_col are in the wrong order):
||dictvectorizer__bar|dictvectorizer__baz|dictvectorizer__foo|functiontransformer__dummy_col|
|---|---|---|---|---|
|0|2|0|1|2|
|1|0|1|3|1|

### Versions

```shell
System:
    python: 3.12.6 (tags/v3.12.6:a4a2d2b, Sep  6 2024, 20:11:23) [MSC v.1940 64 bit (AMD64)]
executable: C:\Users\user\Documents\Code\Python\Scratchwork\pandas_adapter\Scripts\python.exe
   machine: Windows-11-10.0.26100-SP0

Python dependencies:
      sklearn: 1.6.1
          pip: 24.2
   setuptools: 77.0.3
        numpy: 2.2.4
        scipy: 1.15.2
       Cython: None
       pandas: 2.2.3
   matplotlib: None
       joblib: 1.4.2
threadpoolctl: 3.6.0

Built with OpenMP: True

threadpoolctl info:
       user_api: blas
   internal_api: openblas
    num_threads: 12
         prefix: libscipy_openblas
       filepath: C:\Users\user\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\numpy.libs\libscipy_openblas64_-43e11ff0749b8cbe0a615c9cf6737e0e.dll
        version: 0.3.28
threading_layer: pthreads
   architecture: Haswell

       user_api: openmp
   internal_api: openmp
    num_threads: 12
         prefix: vcomp
       filepath: C:\Users\user\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\sklearn\.libs\vcomp140.dll
        version: None

       user_api: blas
   internal_api: openblas
    num_threads: 12
         prefix: libscipy_openblas
       filepath: C:\Users\user\Documents\Code\Python\Scratchwork\pandas_adapter\Lib\site-packages\scipy.libs\libscipy_openblas-f07f5a5d207a3a47104dca54d6d0c86a.dll
        version: 0.3.28
threading_layer: pthreads
   architecture: Haswell
```

COMMENT:
@nicolas-bolle It works by just swapping `elif isinstance(X_original, pd.DataFrame): for elif isinstance(X_original, (pd.DataFrame, pd.Series)):`

got expected results:

![Image](https://github.com/user-attachments/assets/392cd0fb-f8a9-4531-959f-05c780eadbc9)

**I have run pre-defined unit-tests inside changed dir: sklearn/utils: They passed with:
 1992 passed, 1155 skipped, 77 warnings in 17.22s.**

But I also ran a complete test on whole sklearn and got this, got this mess after around 34% of tests passed:

```
sklearn/metrics/tests/test_pairwise.py s.ssssssssssssssss.......................................................................s.ssss....s.s........ssssss......sss [ 34%]
...sssFatal Python error: Fatal Python error: Segmentation faultSegmentation fault



Thread 0xThread 0x00007fb0ff7fe64000007fb0ff7fe640 (most recent call first):
 (most recent call first):
  File   File ""/usr/local/lib/python3.12/multiprocessing/pool.py/usr/local/lib/python3.12/multiprocessing/pool.py"", line , line 579579 in  in _handle_results_handle_results

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10101010 in  in runrun

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10731073 in  in _bootstrap_inner_bootstrap_inner

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10301030 in  in _bootstrap_bootstrap



Thread 0xThread 0x00007fb0fffff64000007fb0fffff640 (most recent call first):
 (most recent call first):
  File   File ""/usr/local/lib/python3.12/multiprocessing/pool.py/usr/local/lib/python3.12/multiprocessing/pool.py"", line , line 531531 in  in _handle_tasks_handle_tasks

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10101010 in  in runrun

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10731073 in  in _bootstrap_inner_bootstrap_inner

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10301030 in  in _bootstrap_bootstrap



Thread 0xThread 0x00007fb168ff964000007fb168ff9640 (most recent call first):
 (most recent call first):
  File   File ""/usr/local/lib/python3.12/selectors.py/usr/local/lib/python3.12/selectors.py"", line , line 415415 in  in selectselect

  File   File ""/usr/local/lib/python3.12/multiprocessing/connection.py/usr/local/lib/python3.12/multiprocessing/connection.py"", line , line 11361136 in  in waitwait

  File   File ""/usr/local/lib/python3.12/multiprocessing/pool.py/usr/local/lib/python3.12/multiprocessing/pool.py"", line , line 502502 in  in _wait_for_updates_wait_for_updates

  File   File ""/usr/local/lib/python3.12/multiprocessing/pool.py/usr/local/lib/python3.12/multiprocessing/pool.py"", line 522, line  in 522_handle_workers in 
_handle_workers  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1010, line  in 1010run in 
run  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1073, line  in 1073_bootstrap_inner in 
_bootstrap_inner  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1030, line  in 1030_bootstrap in 
_bootstrap

Thread 0x
00007fb1697fa640Thread 0x (most recent call first):
00007fb1697fa640  File  (most recent call first):
"  File /home/arpbansal/code/open-source/scikit-learn/sklearn/utils/extmath.py""/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/extmath.py, line "203 in , line safe_sparse_dot203
 in   File safe_sparse_dot"
/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py  File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py, line "425 in , line _euclidean_distances425
 in   File _euclidean_distances"
/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py  File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py, line "389 in , line euclidean_distances389
 in   File euclidean_distances"
/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/_param_validation.py  File "", line /home/arpbansal/code/open-source/scikit-learn/sklearn/utils/_param_validation.py191" in , line wrapper191
 in   File wrapper"
/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py  File "", line /home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py1958" in , line _dist_wrapper1958
 in   File _dist_wrapper"
/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/parallel.py  File "", line /home/arpbansal/code/open-source/scikit-learn/sklearn/utils/parallel.py147" in , line __call__147
 in   File __call__"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py598" in , line __call__598
 in   File __call__"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/_utils.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/_utils.py72" in , line __call__72
 in   File __call__"
/usr/local/lib/python3.12/multiprocessing/pool.py  File ""/usr/local/lib/python3.12/multiprocessing/pool.py, line "125, line  in 125worker in 
worker  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1010, line  in 1010run in 
run  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1073, line  in 1073_bootstrap_inner in 
_bootstrap_inner  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1030, line  in 1030_bootstrap in 
_bootstrap

Thread 0x
00007fb169ffb640Thread 0x (most recent call first):
00007fb169ffb640  File  (most recent call first):
"  File /home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py, line "426, line  in 426_euclidean_distances in 
_euclidean_distances  File 
"  File /home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py, line "389, line  in 389euclidean_distances in 
euclidean_distances  File 
"  File /home/arpbansal/code/open-source/scikit-learn/sklearn/utils/_param_validation.py""/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/_param_validation.py, line "191, line  in 191wrapper in 
wrapper  File 
"  File /home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py, line "1958, line  in 1958_dist_wrapper in 
_dist_wrapper  File 
"  File /home/arpbansal/code/open-source/scikit-learn/sklearn/utils/parallel.py""/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/parallel.py, line "147, line  in 147__call__ in 
__call__  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py, line "598, line  in 598__call__ in 
__call__  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/_utils.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/_utils.py, line "72, line  in 72__call__ in 
__call__  File 
"  File /usr/local/lib/python3.12/multiprocessing/pool.py""/usr/local/lib/python3.12/multiprocessing/pool.py, line "125, line  in 125worker in 
worker  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1010, line  in 1010run in 
run  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1073, line  in 1073_bootstrap_inner in 
_bootstrap_inner  File 
"  File /usr/local/lib/python3.12/threading.py""/usr/local/lib/python3.12/threading.py, line "1030, line  in 1030_bootstrap in 
_bootstrap

Thread 0x
Thread 0x00007fb1897fe64000007fb1897fe640 (most recent call first):
 (most recent call first):
  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 355355 in  in waitwait

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/externals/loky/backend/queues.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/externals/loky/backend/queues.py"", line , line 147147 in  in _feed_feed

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10101010 in  in runrun

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10731073 in  in _bootstrap_inner_bootstrap_inner

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10301030 in  in _bootstrap_bootstrap



Thread 0xThread 0x00007fb188ffd64000007fb188ffd640 (most recent call first):
 (most recent call first):
  File   File ""/usr/local/lib/python3.12/selectors.py/usr/local/lib/python3.12/selectors.py"", line , line 415415 in  in selectselect

  File   File ""/usr/local/lib/python3.12/multiprocessing/connection.py/usr/local/lib/python3.12/multiprocessing/connection.py"", line , line 11361136 in  in waitwait

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/externals/loky/process_executor.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/externals/loky/process_executor.py"", line , line 654654 in  in wait_result_broken_or_wakeupwait_result_broken_or_wakeup

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/externals/loky/process_executor.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/externals/loky/process_executor.py"", line , line 596596 in  in runrun

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10731073 in  in _bootstrap_inner_bootstrap_inner

  File   File ""/usr/local/lib/python3.12/threading.py/usr/local/lib/python3.12/threading.py"", line , line 10301030 in  in _bootstrap_bootstrap



Thread 0xThread 0x00007fb21c57674000007fb21c576740 (most recent call first):
 (most recent call first):
  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py"", line , line 17621762 in  in _retrieve_retrieve

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py"", line , line 16501650 in  in _get_outputs_get_outputs

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/joblib/parallel.py"", line , line 20072007 in  in __call____call__

  File   File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/parallel.py/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/parallel.py"", line , line 8282 in  in __call____call__

  File   File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py"", line , line 19751975 in  in _parallel_pairwise_parallel_pairwise

  File   File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/pairwise.py"", line , line 24772477 in  in pairwise_distancespairwise_distances

  File   File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/_param_validation.py/home/arpbansal/code/open-source/scikit-learn/sklearn/utils/_param_validation.py"", line , line 218218 in  in wrapperwrapper

  File   File ""/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/tests/test_pairwise.py/home/arpbansal/code/open-source/scikit-learn/sklearn/metrics/tests/test_pairwise.py"", line , line 712712 in  in test_parallel_pairwise_distances_diagonaltest_parallel_pairwise_distances_diagonal

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/python.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/python.py"", line , line 159159 in  in pytest_pyfunc_callpytest_pyfunc_call

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py"", line 103, line  in 103_multicall in 
_multicall  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py, line "120, line  in 120_hookexec in 
_hookexec  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py, line "513, line  in 513__call__ in 
__call__  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/python.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/python.py, line "1627, line  in 1627runtest in 
runtest  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py, line "174, line  in 174pytest_runtest_call in 
pytest_runtest_call  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py, line "103, line  in 103_multicall in 
_multicall  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py, line "120, line  in 120_hookexec in 
_hookexec  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py, line "513, line  in 513__call__ in 
__call__  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py, line "242, line  in 242<lambda> in 
<lambda>  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py, line "341, line  in 341from_call in 
from_call  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py, line "241 in , line call_and_report241
 in   File call_and_report"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py132" in , line runtestprotocol132
 in   File runtestprotocol"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/runner.py113" in , line pytest_runtest_protocol113
 in   File pytest_runtest_protocol"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py103" in _multicall, line 
103  File  in "_multicall/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py
"  File , line "120/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py in "_hookexec, line 
120  File  in "_hookexec/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py
"  File , line "513/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py in "__call__, line 
513  File  in __call__"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py  File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py, line "362 in , line pytest_runtestloop362
 in   File pytest_runtestloop"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py103" in , line _multicall103
 in   File _multicall"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py120" in , line _hookexec120
 in   File _hookexec"
/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py  File "", line /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py513" in , line __call__513
 in   File __call__
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py, line "337, line  in 337_main in 
_main  File 
"  File /home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py", line , line 283283 in  in wrap_sessionwrap_session

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/main.py"", line , line 330330 in  in pytest_cmdline_mainpytest_cmdline_main

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_callers.py"", line , line 103103 in  in _multicall_multicall

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_manager.py"", line , line 120120 in  in _hookexec_hookexec

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/pluggy/_hooks.py"", line , line 513513 in  in __call____call__

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/config/__init__.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/config/__init__.py"", line , line 175175 in  in mainmain

  File   File ""/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/config/__init__.py/home/arpbansal/code/open-source/venv/lib/python3.12/site-packages/_pytest/config/__init__.py"", line , line 201201 in  in console_mainconsole_main

  File   File ""/home/arpbansal/code/open-source/venv/bin/pytest/home/arpbansal/code/open-source/venv/bin/pytest"", line , line 88 in  in <module><module>


Extension modules: 
Extension modules: sklearn.__check_build._check_buildsklearn.__check_build._check_build, , numpy._core._multiarray_umathnumpy._core._multiarray_umath, , numpy.linalg._umath_linalgnumpy.linalg._umath_linalg, , psutil._psutil_linuxpsutil._psutil_linux, , psutil._psutil_posixpsutil._psutil_posix, , cython.cimports.libc.mathcython.cimports.libc.math, , scipy._lib._ccallback_cscipy._lib._ccallback_c, , charset_normalizer.mdcharset_normalizer.md, , numpy.random._commonnumpy.random._common, , numpy.random.bit_generatornumpy.random.bit_generator, , numpy.random._bounded_integersnumpy.random._bounded_integers, , numpy.random._mt19937numpy.random._mt19937, , numpy.random.mtrandnumpy.random.mtrand, , numpy.random._philoxnumpy.random._philox, , numpy.random._pcg64numpy.random._pcg64, , numpy.random._sfc64numpy.random._sfc64, , numpy.random._generatornumpy.random._generator, , scipy.sparse._sparsetoolsscipy.sparse._sparsetools, , _csparsetools_csparsetools, , scipy.sparse._csparsetoolsscipy.sparse._csparsetools, , scipy.linalg._fblasscipy.linalg._fblas, , scipy.linalg._flapackscipy.linalg._flapack, , scipy.linalg.cython_lapackscipy.linalg.cython_lapack, , scipy.linalg._cythonized_array_utilsscipy.linalg._cythonized_array_utils, , scipy.linalg._solve_toeplitzscipy.linalg._solve_toeplitz, scipy.linalg._decomp_lu_cython, , scipy.linalg._decomp_lu_cythonscipy.linalg._matfuncs_sqrtm_triu, scipy.linalg._matfuncs_sqrtm_triu, , scipy.linalg._matfuncs_expmscipy.linalg._matfuncs_expm, , scipy.linalg._linalg_pythranscipy.linalg._linalg_pythran, , scipy.linalg.cython_blasscipy.linalg.cython_blas, , scipy.linalg._decomp_updatescipy.linalg._decomp_update, , scipy.sparse.linalg._dsolve._superluscipy.sparse.linalg._dsolve._superlu, , scipy.sparse.linalg._eigen.arpack._arpackscipy.sparse.linalg._eigen.arpack._arpack, , scipy.sparse.linalg._propack._spropackscipy.sparse.linalg._propack._spropack, , scipy.sparse.linalg._propack._dpropackscipy.sparse.linalg._propack._dpropack, , scipy.sparse.linalg._propack._cpropackscipy.sparse.linalg._propack._cpropack, , scipy.sparse.linalg._propack._zpropackscipy.sparse.linalg._propack._zpropack, , scipy.sparse.csgraph._toolsscipy.sparse.csgraph._tools, , scipy.sparse.csgraph._shortest_pathscipy.sparse.csgraph._shortest_path, , scipy.sparse.csgraph._traversalscipy.sparse.csgraph._traversal, , scipy.sparse.csgraph._min_spanning_treescipy.sparse.csgraph._min_spanning_tree, , scipy.sparse.csgraph._flowscipy.sparse.csgraph._flow, , scipy.sparse.csgraph._matchingscipy.sparse.csgraph._matching, , scipy.sparse.csgraph._reorderingscipy.sparse.csgraph._reordering, , scipy.special._ufuncs_cxxscipy.special._ufuncs_cxx, , scipy.special._ufuncsscipy.special._ufuncs, , scipy.special._specfunscipy.special._specfun, , scipy.special._combscipy.special._comb, , scipy.special._ellip_harm_2scipy.special._ellip_harm_2, , scipy.spatial._ckdtreescipy.spatial._ckdtree, , scipy._lib.messagestreamscipy._lib.messagestream, , scipy.spatial._qhullscipy.spatial._qhull, , scipy.spatial._voronoiscipy.spatial._voronoi, , scipy.spatial._distance_wrapscipy.spatial._distance_wrap, , scipy.spatial._hausdorffscipy.spatial._hausdorff, , scipy.spatial.transform._rotationscipy.spatial.transform._rotation, , scipy.optimize._group_columnsscipy.optimize._group_columns, , scipy.optimize._trlib._trlibscipy.optimize._trlib._trlib, , scipy.optimize._lbfgsbscipy.optimize._lbfgsb, , _moduleTNC_moduleTNC, , scipy.optimize._moduleTNCscipy.optimize._moduleTNC, , scipy.optimize._cobylascipy.optimize._cobyla, , scipy.optimize._slsqpscipy.optimize._slsqp, , scipy.optimize._minpackscipy.optimize._minpack, , scipy.optimize._lsq.givens_eliminationscipy.optimize._lsq.givens_elimination, scipy.optimize._zeros, , scipy.optimize._zerosscipy.optimize._cython_nnls, , scipy.optimize._cython_nnlsscipy._lib._uarray._uarray, scipy._lib._uarray._uarray, scipy.linalg._decomp_interpolative, scipy.linalg._decomp_interpolative, scipy.optimize._bglu_dense, scipy.optimize._bglu_dense, scipy.optimize._lsap, scipy.optimize._lsap, , scipy.optimize._directscipy.optimize._direct, , scipy.integrate._odepackscipy.integrate._odepack, , scipy.integrate._quadpackscipy.integrate._quadpack, , scipy.integrate._vodescipy.integrate._vode, , scipy.integrate._dopscipy.integrate._dop, , scipy.integrate._lsodascipy.integrate._lsoda, scipy.interpolate._fitpack, scipy.interpolate._fitpack, , scipy.interpolate._dfitpackscipy.interpolate._dfitpack, , scipy.interpolate._dierckxscipy.interpolate._dierckx, , scipy.interpolate._ppolyscipy.interpolate._ppoly, , scipy.interpolate._interpndscipy.interpolate._interpnd, , scipy.interpolate._rbfinterp_pythranscipy.interpolate._rbfinterp_pythran, , scipy.interpolate._rgi_cythonscipy.interpolate._rgi_cython, , scipy.interpolate._bsplscipy.interpolate._bspl, , scipy.special.cython_specialscipy.special.cython_special, scipy.stats._stats, scipy.stats._stats, scipy.stats._sobol, , scipy.stats._sobolscipy.stats._qmc_cy, , scipy.stats._qmc_cyscipy.stats._biasedurn, , scipy.stats._biasedurnscipy.stats._stats_pythran, , scipy.stats._stats_pythranscipy.stats._levy_stable.levyst, , scipy.stats._levy_stable.levystscipy.stats._ansari_swilk_statistics, scipy.stats._ansari_swilk_statistics, , scipy.stats._mvnscipy.stats._mvn, , scipy.stats._rcont.rcontscipy.stats._rcont.rcont, , scipy.ndimage._nd_imagescipy.ndimage._nd_image, , scipy.ndimage._rank_filter_1dscipy.ndimage._rank_filter_1d, _ni_label, _ni_label, , scipy.ndimage._ni_labelscipy.ndimage._ni_label, , pandas._libs.tslibs.ccalendarpandas._libs.tslibs.ccalendar, , pandas._libs.tslibs.np_datetimepandas._libs.tslibs.np_datetime, , pandas._libs.tslibs.dtypespandas._libs.tslibs.dtypes, pandas._libs.tslibs.base, pandas._libs.tslibs.base, , pandas._libs.tslibs.nattypepandas._libs.tslibs.nattype, , pandas._libs.tslibs.timezonespandas._libs.tslibs.timezones, , pandas._libs.tslibs.fieldspandas._libs.tslibs.fields, , pandas._libs.tslibs.timedeltaspandas._libs.tslibs.timedeltas, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.tzconversion, pandas._libs.tslibs.timestamps, pandas._libs.tslibs.timestamps, pandas._libs.properties, pandas._libs.properties, pandas._libs.tslibs.offsets, pandas._libs.tslibs.offsets, pandas._libs.tslibs.strptime, , pandas._libs.tslibs.strptimepandas._libs.tslibs.parsing, , pandas._libs.tslibs.conversionpandas._libs.tslibs.parsing, pandas._libs.tslibs.period, , pandas._libs.tslibs.conversionpandas._libs.tslibs.vectorized, pandas._libs.ops_dispatch, pandas._libs.tslibs.period, pandas._libs.missing, , pandas._libs.tslibs.vectorizedpandas._libs.hashtable, , pandas._libs.ops_dispatchpandas._libs.algos, , pandas._libs.missingpandas._libs.interval, , pandas._libs.hashtablepandas._libs.lib, , pandas._libs.algospandas._libs.ops, pandas._libs.interval, , pandas._libs.hashingpandas._libs.lib, , pandas._libs.arrayspandas._libs.ops, pandas._libs.tslib, pandas._libs.hashing, pandas._libs.sparse, , pandas._libs.arrayspandas._libs.internals, , pandas._libs.indexingpandas._libs.tslib, pandas._libs.index, pandas._libs.sparse, pandas._libs.writers, , pandas._libs.internalspandas._libs.join, , pandas._libs.indexingpandas._libs.window.aggregations, pandas._libs.window.indexers, pandas._libs.index, pandas._libs.reshape, pandas._libs.writers, pandas._libs.groupby, pandas._libs.join, pandas._libs.json, , pandas._libs.parserspandas._libs.window.aggregations, , pandas._libs.window.indexerspandas._libs.testing, pandas._libs.reshape, sklearn.utils._isfinite, pandas._libs.groupby, sklearn.utils.sparsefuncs_fast, , pandas._libs.jsonsklearn.utils.murmurhash, sklearn.utils._openmp_helpers, pandas._libs.parsers, , sklearn.preprocessing._csr_polynomial_expansionpandas._libs.testing, sklearn.preprocessing._target_encoder_fast, sklearn.utils._isfinite, scipy.io.matlab._mio_utils, , scipy.io.matlab._streamssklearn.utils.sparsefuncs_fast, , scipy.io.matlab._mio5_utilssklearn.utils.murmurhash, , sklearn.utils._openmp_helperssklearn.datasets._svmlight_format_fast, , sklearn.preprocessing._csr_polynomial_expansionsklearn.utils._random, , sklearn.preprocessing._target_encoder_fastsklearn.utils._vector_sentinel, , sklearn.feature_extraction._hashing_fastscipy.io.matlab._mio_utils, , scipy.io.matlab._streams_loss, sklearn._loss._loss, scipy.io.matlab._mio5_utils, sklearn.metrics.cluster._expected_mutual_info_fast, , sklearn.metrics._dist_metricssklearn.datasets._svmlight_format_fast, , sklearn.metrics._pairwise_distances_reduction._datasets_pairsklearn.utils._random, sklearn.utils._cython_blas, , sklearn.utils._vector_sentinelsklearn.metrics._pairwise_distances_reduction._base, sklearn.metrics._pairwise_distances_reduction._middle_term_computer, sklearn.feature_extraction._hashing_fast, sklearn.utils._heap, sklearn.utils._sorting, _loss, sklearn.metrics._pairwise_distances_reduction._argkmin, , sklearn._loss._losssklearn.metrics._pairwise_distances_reduction._argkmin_classmode, , sklearn.metrics.cluster._expected_mutual_info_fastsklearn.metrics._pairwise_distances_reduction._radius_neighbors, , sklearn.metrics._dist_metricssklearn.metrics._pairwise_distances_reduction._radius_neighbors_classmode, , sklearn.metrics._pairwise_distances_reduction._datasets_pairsklearn.metrics._pairwise_fast, sklearn.utils._cython_blas, sklearn.utils._fast_dict, sklearn.metrics._pairwise_distances_reduction._base, sklearn.cluster._hierarchical_fast, sklearn.metrics._pairwise_distances_reduction._middle_term_computer, sklearn.cluster._k_means_common, , sklearn.cluster._k_means_elkansklearn.utils._heap, , sklearn.cluster._k_means_lloydsklearn.utils._sorting, , sklearn.cluster._k_means_minibatchsklearn.metrics._pairwise_distances_reduction._argkmin, sklearn.neighbors._partition_nodes, sklearn.metrics._pairwise_distances_reduction._argkmin_classmode, sklearn.neighbors._ball_tree, , sklearn.metrics._pairwise_distances_reduction._radius_neighborssklearn.neighbors._kd_tree, , sklearn.utils.arrayfuncssklearn.metrics._pairwise_distances_reduction._radius_neighbors_classmode, sklearn.utils._seq_dataset, , sklearn.linear_model._cd_fastsklearn.metrics._pairwise_fast, sklearn.svm._liblinear, sklearn.utils._fast_dict, sklearn.svm._libsvm, , sklearn.svm._libsvm_sparsesklearn.cluster._hierarchical_fast, sklearn.linear_model._sag_fast, sklearn.cluster._k_means_common, sklearn.utils._weight_vector, , sklearn.cluster._k_means_elkansklearn.linear_model._sgd_fast, , sklearn.cluster._k_means_lloydsklearn.decomposition._online_lda_fast, sklearn.cluster._k_means_minibatch, sklearn.decomposition._cdnmf_fast, sklearn.neighbors._partition_nodes, sklearn.cluster._dbscan_inner, sklearn.neighbors._ball_tree, , sklearn.cluster._hdbscan._treesklearn.neighbors._kd_tree, , sklearn.cluster._hdbscan._linkagesklearn.utils.arrayfuncs, , sklearn.cluster._hdbscan._reachabilitysklearn.utils._seq_dataset, , sklearn.linear_model._cd_fastsklearn._isotonic, , sklearn.tree._utilssklearn.svm._liblinear, sklearn.tree._tree, sklearn.svm._libsvm, sklearn.tree._partitioner, , sklearn.svm._libsvm_sparsesklearn.tree._splitter, sklearn.tree._criterion, sklearn.linear_model._sag_fast, sklearn.neighbors._quad_tree, , sklearn.utils._weight_vectorsklearn.manifold._barnes_hut_tsne, , sklearn.manifold._utilssklearn.linear_model._sgd_fast, , scipy.cluster._vqsklearn.decomposition._online_lda_fast, scipy.cluster._hierarchy, sklearn.decomposition._cdnmf_fast, scipy.cluster._optimal_leaf_ordering, , sklearn.cluster._dbscan_innersklearn.ensemble._gradient_boosting, , sklearn.cluster._hdbscan._treesklearn.ensemble._hist_gradient_boosting.common, , sklearn.cluster._hdbscan._linkagesklearn.ensemble._hist_gradient_boosting._gradient_boosting, , sklearn.cluster._hdbscan._reachabilitysklearn.ensemble._hist_gradient_boosting._binning, , sklearn._isotonicsklearn.ensemble._hist_gradient_boosting._bitset, , sklearn.ensemble._hist_gradient_boosting.histogramsklearn.tree._utils, , sklearn.ensemble._hist_gradient_boosting._predictorsklearn.tree._tree, sklearn.ensemble._hist_gradient_boosting.splitting, sklearn.tree._partitioner, sklearn.tree._splitter, sklearn.tree._criterion, sklearn.neighbors._quad_tree, sklearn.svm._newrand, sklearn.manifold._barnes_hut_tsne, , sklearn.manifold._utilssklearn.utils._typedefs, scipy.cluster._vq (total: , 213scipy.cluster._hierarchy), 
scipy.cluster._optimal_leaf_ordering, sklearn.ensemble._gradient_boosting, sklearn.ensemble._hist_gradient_boosting.common, sklearn.ensemble._hist_gradient_boosting._gradient_boosting, sklearn.ensemble._hist_gradient_boosting._binning, sklearn.ensemble._hist_gradient_boosting._bitset, sklearn.ensemble._hist_gradient_boosting.histogram, sklearn.ensemble._hist_gradient_boosting._predictor, sklearn.ensemble._hist_gradient_boosting.splitting, sklearn.svm._newrand, sklearn.utils._typedefs (total: 213)
Segmentation fault (core dumped)
```
Is it cause I did some mistake in building from source?

Labels: Bug