You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Read multi-label text data from file or pandas dataframe.
144
+
145
+
Args:
146
+
data (Union[str, pd.DataFrame]): A file path to data in `LibMultiLabel format <https://www.csie.ntu.edu.tw/~cjlin/libmultilabel/cli/ov_data_format.html#libmultilabel-format>`_
147
+
or a pandas dataframe contains index (optional), label, and text.
148
+
Returns:
149
+
dict[str,list[str]]: A dictionary with a list of index (optional), label, and text.
0 commit comments