code: def test_conversions_with_pandas():
      pytest.importorskip("pandas")
      n, sz, d = 15, 10, 3
      rng = np.random.RandomState(0)
      tslearn_dataset = rng.randn(n, sz, d)
  
      assert_allclose(
          tslearn_dataset,
          tslearn.utils.from_sktime_dataset(
              tslearn.utils.to_sktime_dataset(tslearn_dataset)
          ),
      )
  
      assert_allclose(
          tslearn_dataset,
          tslearn.utils.from_tsfresh_dataset(
              tslearn.utils.to_tsfresh_dataset(tslearn_dataset)
          ),
      )
  
      tslearn_dataset = rng.randn(1, sz, d)
      assert_allclose(
          tslearn_dataset,
          tslearn.utils.from_pyflux_dataset(
              tslearn.utils.to_pyflux_dataset(tslearn_dataset)
          ),
      )
  
file_path: tslearn/tslearn/tests/test_utils.py
imports: from tempfile import gettempdir
  from os.path import join
  import numpy
  import pickle
  from numpy.testing import assert_allclose
  import pytest
  import tslearn.utils
label_desc: Use image node_id 5 for calling a global function with example usage: test_conversions_with_pandas() without return types