code: def X_few_na_expected(X_few_na):
      """Expected results for a DataFrame with occasional missing."""
      return {
          "0": {
              "None": X_few_na.drop(labels=["1947", "1950"], axis=0),
              "any": X_few_na.drop(labels=["1947", "1950"], axis=0),
              "all": X_few_na,
          },
          "index": {
              "None": X_few_na.drop(labels=["1947", "1950"], axis=0),
              "any": X_few_na.drop(labels=["1947", "1950"], axis=0),
              "all": X_few_na,
          },
          "1": {
              "None": X_few_na.drop(labels=["GNPDEFL", "GNP"], axis=1),
              "any": X_few_na.drop(labels=["GNPDEFL", "GNP"], axis=1),
              "all": X_few_na,
          },
          "columns": {
              "None": X_few_na.drop(labels=["GNPDEFL", "GNP"], axis=1),
              "any": X_few_na.drop(labels=["GNPDEFL", "GNP"], axis=1),
              "all": X_few_na,
          },
      }
  
file_path: sktime/sktime/transformations/series/tests/test_dropna.py
imports: import numpy
  import pytest
  from sktime.datasets import load_longley
  from sktime.transformations.series.dropna import DropNA
  from sktime.utils._testing.estimator_checks import _assert_array_almost_equal
label_desc: Use image node_id 2 for calling a global function with example usage: X_few_na_expected(X_few_na) and returns: dict