code: def test_manual_selection_is_weekend(df_datetime_daily_idx):
      """Tests that "is_weekend" returns correct result in `manual_selection`."""
      transformer = DateTimeFeatures(
          manual_selection=["is_weekend"], keep_original_columns=True
      )
  
      Xt = transformer.fit_transform(df_datetime_daily_idx)
      expected = pd.DataFrame(
          data={
              "y": [1, 1, 1, 1, 1, 1, 1],
              "is_weekend": [1, 1, 0, 0, 0, 0, 0],
          },
          index=df_datetime_daily_idx.index,
      )
      assert_frame_equal(Xt, expected)
  
imports: import numpy
  import pandas
  import pytest
  from pandas.testing import assert_frame_equal
  from sktime.datasets import load_airline, load_longley, load_PBS_dataset
  from sktime.split import temporal_train_test_split
  from sktime.tests.test_switch import run_test_for_class
  from sktime.transformations.series.date import DateTimeFeatures
  from sktime.utils._testing.hierarchical import _make_hierarchical
label_desc: Use image node_id 24 for calling a global function with example usage: test_manual_selection_is_weekend(df_datetime_daily_idx) without return types