freefft data.csv
Traceback (most recent call last):
File "/home/user/.local/bin/freefft", line 8, in <module>
sys.exit(main())
^^^^^^
File "/home/user/.local/pipx/venvs/freefft/lib/python3.11/site-packages/freefft/__main__.py", line 535, in main
main = Window(file)
^^^^^^^^^^^^
File "/home/user/.local/pipx/venvs/freefft/lib/python3.11/site-packages/freefft/__main__.py", line 139, in __init__
self.open_file(file)
File "/home/user/.local/pipx/venvs/freefft/lib/python3.11/site-packages/freefft/__main__.py", line 309, in open_file
self.load_csv(file_path)
File "/home/user/.local/pipx/venvs/freefft/lib/python3.11/site-packages/freefft/__main__.py", line 201, in load_csv
self.time_elapsed = self.data[-1, 0] - self.data[0, 0]
~~~~~~~~~^^^^^^^
IndexError: index -1 is out of bounds for axis 0 with size 0
I can see you are using pandas to read csv file, but I didn't dig further here.
What is the expected data format here? What column separators are expected?
README.md
states:I'm struggling to make that work, however.
Very basic
data.csv
:With this data set:
I can see you are using
pandas
to read csv file, but I didn't dig further here. What is the expected data format here? What column separators are expected?