johannfaouzi / pyts

A Python package for time series classification

Home Page:https://pyts.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I import a local dataset that is neither UCR nor UEA

Marconi666 opened this issue · comments

How do I import a local dataset that is neither UCR nor UEA

There's no specific tool in this package, but there are in other popular packages:

  • numpy.loadtxt: Load data from a text file.
  • pandas.read_csv: Read a comma-separated values file (you can use other separators than a comma).

If your file has another structure, there are probably other tools from popular packages to load your data.

此软件包中没有特定的工具,但其他流行的软件包中也有:

  • numpy.loadtxt:从文本文件加载数据。
  • pandas.read_csv:读取逗号分隔值文件(可以使用逗号以外的其他分隔符)。

如果你的文件有另一个结构,可能还有其他来自流行包的工具来加载你的数据。

Thank you very much, numpy.loadtxt has solved my problem, thank you.