code: def get_series() -> Dict[str, pd.Series]:
      """
      Taken from Vision to remove the `complex_series_nan` that causes an exception due to a bug
      in pandas 2 and numpy with the value `np.nan * 0j` and  `complex(np.nan, np.nan)`.
      See: https://github.com/numpy/numpy/issues/12919
      """
      from visions.backends.numpy.sequences import (
          get_sequences as get_numpy_sequences,
      )
      from visions.backends.pandas.sequences import (
          get_sequences as get_pandas_sequences,
      )
      from visions.backends.python.sequences import (
          get_sequences as get_builtin_sequences,
      )
  
      sequences = get_builtin_sequences()
      sequences.update(get_numpy_sequences())
  
      del sequences["complex_series_nan"]
  
      test_series = {
          name: pd.Series(sequence)
          for name, sequence in sequences.items()
      }
      test_series.update(get_pandas_sequences())
      assert all(isinstance(v, pd.Series) for v in test_series.values())
  
      return test_series
  
file_path: ydata-profiling/tests/unit/test_typeset_default.py
imports: import os
  from typing import Dict
  import numpy
  import pandas
  import pytest
  from visions.test.utils import contains, convert, get_contains_cases, get_convert_cases, get_inference_cases, infers
  from tests.unit.test_utils import patch_arg
  from ydata_profiling.config import Settings
  from ydata_profiling.model.typeset import ProfilingTypeSet
  from ydata_profiling.profile_report import ProfileReport
label_desc: Use image node_id 1 for calling a global function with example usage: get_series() and returns: test_series