code: def test_train_test_split_abbr(self):
      df = pdml.ModelFrame(datasets.load_digits())
      self.assertIsInstance(df, pdml.ModelFrame)
  
      train_df, test_df = df.ms.train_test_split()
      tm.assert_index_equal(df.columns, train_df.columns)
      tm.assert_index_equal(df.columns, test_df.columns)
  
      self.assertEqual(len(df), len(train_df) + len(test_df))
      self.assertEqual(df.shape[1], train_df.shape[1])
      self.assertEqual(df.shape[1], test_df.shape[1])
  
      tm.assert_index_equal(df.columns, train_df.columns)
      tm.assert_index_equal(df.columns, test_df.columns)
  
      df = pdml.ModelFrame(datasets.load_digits())
      df.target_name = "xxx"
  
      train_df, test_df = df.ms.train_test_split()
      tm.assert_index_equal(df.columns, train_df.columns)
      tm.assert_index_equal(df.columns, test_df.columns)
      self.assertEqual(train_df.target_name, "xxx")
      self.assertEqual(test_df.target_name, "xxx")
  
imports: import sklearn.datasets
  import sklearn.svm
  import sklearn.naive_bayes
  import numpy
  import pandas
  import pandas_ml
  import pandas_ml.util.testing
label_desc: Use image node_id 5 for calling the TestSplitter obj's underlying member method code with example usage: obj.test_train_test_split_abbr() without return types