code: def split_data(df: pd.DataFrame, t_size: float = 0.2):
      """Split pandas DataFrame into train and test parts"""
      train, test = train_test_split(
          df.iloc[:, :], test_size=t_size, random_state=42
      )
      return train, test
  
imports: import math
  import os
  import platform
  import random
  import tempfile
  from pathlib import Path
  from typing import Optional, Union
  import numpy
  import pandas
  from golem.utilities.random import RandomStateHandler
  from sklearn.model_selection import train_test_split
label_desc: Use image node_id 5 for calling a global function with example usage: split_data(df, t_size) and returns: train,  test