, filename, relation_name=None, index=True)[source]#

Write ARFF file

  • data (pandas.DataFrame) – DataFrame containing data

  • filename (string or file-like object) – Path to ARFF file or file-like object. In the latter case, the handle is closed by calling this function.

  • relation_name (string, optional, default: "pandas") – Name of relation in ARFF file.

  • index (boolean, optional, default: True) – Write row names (index)