pyts icon indicating copy to clipboard operation
pyts copied to clipboard

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

Open Marconi666 opened this issue 2 years ago • 2 comments

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

Marconi666 avatar Jun 16 '22 12:06 Marconi666

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.

johannfaouzi avatar Jun 16 '22 14:06 johannfaouzi

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

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

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

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

Marconi666 avatar Jun 23 '22 13:06 Marconi666