class_docstr: Adds a random split column to the dataset, with fixed proportions of:
   train: 70%
   validation: 10%
   test: 20%
  .
class_docstr_tok: ["Adds","a","random","split","column","to","the","dataset",",","with","fixed","proportions","of",":","train",":","70","%","validation",":","10","%","test",":","20","%","."]
code: def transform_dataframe(
      self, dataframe: pd.DataFrame
  ) -> pd.DataFrame:
      df = super().transform_dataframe(dataframe)
      df[SPLIT] = np.random.choice(
          3, len(df), p=(0.7, 0.1, 0.2)
      ).astype(np.int8)
      return df
  
imports: import numpy
  import pandas
  from ludwig.constants import SPLIT
  from ludwig.datasets.loaders.dataset_loader import DatasetLoader
label_desc: Use image node_id 1 for calling the RandomSplitLoader obj's underlying member method code with example usage: obj.transform_dataframe(dataframe) and returns: df