code: def _check_X_y_pandas(X, y, n_instances, n_columns, n_timepoints):
      assert isinstance(X, pd.DataFrame)
      assert isinstance(y, pd.Series)
      assert X.shape[0] == y.shape[0] == n_instances
      assert X.shape[1] == n_columns
      assert X.iloc[0, 0].shape == (n_timepoints,)
  
file_path: sktime/sktime/utils/_testing/tests/test_panel.py
imports: import numpy
  import pandas
  import pytest
  from sktime.datatypes import check_is_mtype
  from sktime.utils._testing.panel import _make_panel, make_classification_problem, make_regression_problem
label_desc: Use image node_id 1 for calling a global function with example usage: _check_X_y_pandas(X, y, n_instances, n_columns, n_timepoints) without return types