code: def test_select_dtypes_duplicate_columns(self):
      # GH20839
      df = DataFrame(
          {
              "a": ["a", "b", "c"],
              "b": [1, 2, 3],
              "c": np.arange(3, 6).astype("u1"),
              "d": np.arange(4.0, 7.0, dtype="float64"),
              "e": [True, False, True],
              "f": pd.date_range("now", periods=3).values,
          }
      )
      df.columns = ["a", "a", "b", "b", "b", "c"]
  
      expected = DataFrame(
          {"a": list(range(1, 4)), "b": np.arange(3, 6).astype("u1")}
      )
  
      result = df.select_dtypes(
          include=[np.number], exclude=["floating"]
      )
      tm.assert_frame_equal(result, expected)
  
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 9 for calling the TestSelectDtypes obj's underlying member method code with example usage: obj.test_select_dtypes_duplicate_columns() without return types