code: def test_multi_output_selection():
      df1 = pd.DataFrame({"id": [0, 1, 2, 3]})
  
      df2 = pd.DataFrame(
          {
              "index": [0, 1, 2, 3],
              "first_id": [0, 1, 1, 3],
              "all_nulls": [None, None, None, None],
              "quarter": ["a", "b", None, "c"],
          },
      )
  
      dataframes = {
          "first": (df1, "id"),
          "second": (df2, "index"),
      }
  
      relationships = [("first", "id", "second", "first_id")]
      es = EntitySet("data", dataframes, relationships=relationships)
      es["second"].ww.set_types(
          logical_types={
              "all_nulls": "categorical",
              "quarter": "categorical",
          },
      )
  
      fm, features = dfs(
          entityset=es,
          target_dataframe_name="first",
          trans_primitives=[],
          agg_primitives=["n_most_common"],
          max_depth=1,
      )
  
      (
          multi_output,
          multi_output_features,
      ) = remove_single_value_features(fm, features)
      assert multi_output.columns == [
          "N_MOST_COMMON(second.quarter)[0]"
      ]
      assert len(multi_output_features) == 1
      assert (
          multi_output_features[0].get_name() == multi_output.columns[0]
      )
  
      es = make_ecommerce_entityset()
      fm, features = dfs(
          entityset=es,
          target_dataframe_name="régions",
          trans_primitives=[],
          agg_primitives=["n_most_common"],
          max_depth=2,
      )
  
      (
          matrix_with_slices,
          unsliced_features,
      ) = remove_highly_null_features(fm, features)
      assert len(matrix_with_slices.columns) == 18
      assert len(unsliced_features) == 14
  
      matrix_columns = set(matrix_with_slices.columns)
      for f in unsliced_features:
          for f_name in f.get_feature_names():
              assert f_name in matrix_columns
  
file_path: featuretools/featuretools/tests/selection/test_selection.py
imports: import numpy
  import pandas
  import pytest
  from woodwork.column_schema import ColumnSchema
  from woodwork.logical_types import Boolean, BooleanNullable, NaturalLanguage
  from featuretools import EntitySet, Feature, dfs
  from featuretools.selection import remove_highly_correlated_features, remove_highly_null_features, remove_low_information_features, remove_single_value_features
  from featuretools.tests.testing_utils import make_ecommerce_entityset
label_desc: Use image node_id 9 for calling a global function with example usage: test_multi_output_selection() without return types