code: def test_frame_init_df_duplicated_columns(self):
      # initialization by dataframe and dataframe which have same columns
      df = pd.DataFrame(
          {"A": [1, 2, 3], "B": [4, 5, 6], "C": [7, 8, 9]}
      )
      target = pd.DataFrame({"A": [10, 11, 12], "B": [13, 14, 15]})
  
      mdf = pdml.ModelFrame(df, target=target)
  
      cols = pd.MultiIndex.from_tuples(
          [
              (".target", "A"),
              (".target", "B"),
              (".data", "A"),
              (".data", "B"),
              (".data", "C"),
          ]
      )
      expected = pd.DataFrame(
          {
              (".target", "A"): [10, 11, 12],
              (".target", "B"): [13, 14, 15],
              (".data", "A"): [1, 2, 3],
              (".data", "B"): [4, 5, 6],
              (".data", "C"): [7, 8, 9],
          },
          columns=cols,
      )
      tm.assert_frame_equal(mdf, expected)
  
imports: import pytest
  import datetime
  import warnings
  import numpy
  import pandas
  import sklearn.datasets
  import sklearn.svm
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 4 for calling the TestModelFrameMultiTarges obj's underlying member method code with example usage: obj.test_frame_init_df_duplicated_columns() without return types