code: def test_select_dtypes_include_exclude_using_scalars(self):
      df = DataFrame(
          {
              "a": list("abc"),
              "b": list(range(1, 4)),
              "c": np.arange(3, 6).astype("u1"),
              "d": np.arange(4.0, 7.0, dtype="float64"),
              "e": [True, False, True],
              "f": pd.Categorical(list("abc")),
              "g": pd.date_range("20130101", periods=3),
              "h": pd.date_range(
                  "20130101", periods=3, tz="US/Eastern"
              ),
              "i": pd.date_range("20130101", periods=3, tz="CET"),
              "j": pd.period_range("2013-01", periods=3, freq="M"),
              "k": pd.timedelta_range("1 day", periods=3),
          }
      )
  
      ri = df.select_dtypes(include=np.number, exclude="floating")
      ei = df[["b", "c", "k"]]
      tm.assert_frame_equal(ri, ei)
  
imports: import numpy
  import pytest
  from pandas.core.dtypes.dtypes import ExtensionDtype
  import pandas
  from pandas import DataFrame, Timestamp
  import pandas._testing
  from pandas.core.arrays import ExtensionArray
label_desc: Use image node_id 7 for calling the TestSelectDtypes obj's underlying member method code with example usage: obj.test_select_dtypes_include_exclude_using_scalars() without return types