def test_single_split_x_and_y_is_a_dataframe_and_numpy_array(self):
    folder_name = 'datasets'
    file_name = 'diabetes.csv'
    test_full_path = ((('.\\..\\' + folder_name) + '\\') + file_name)
    csv_type = self._loader_creator.create_loader(test_full_path, 'CSV')
    df = csv_type.get_file_transformed()
    splitter = SplitterReturner()
    data = splitter.split_x_y_from_df(df)
    results = [isinstance(data[0], pd.DataFrame), isinstance(data[(- 1)], np.ndarray)]
    for r in results:
        self.assertTrue(r)
def test_single_split_x_and_y_is_a_dataframe_and_numpy_array(self):
    folder_name = 'datasets'
    file_name = 'diabetes.csv'
    test_full_path = ((('.\\..\\' + folder_name) + '\\') + file_name)
    csv_type = self._loader_creator.create_loader(test_full_path, 'CSV')
    df = csv_type.get_file_transformed()
    splitter = SplitterReturner()
    data = splitter.split_x_y_from_df(df)
    results = [isinstance(data[0], pd.DataFrame), isinstance(data[(- 1)], np.ndarray)]
    for r in results:
        self.assertTrue(r)