modbot.preprocessing.read_data

modbot.preprocessing.read_data(dfile)[source]

Read csv file and create DataFrame

Parameters

dfile (str) – String for csv file path

Returns

  • texts (list) – List of texts to use for training

  • y (list) – Corresponding list of targets