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
`The above exception was the direct cause of the following exception:
ecg_plot.plot(ecg,title = 'ECG test')
File "/usr/lib/python3.9/site-packages/ecg_plot/ecg_plot.py", line 113, in plot
secs = len(ecg[0])/sample_rate
File "/usr/lib/python3.9/site-packages/pandas/core/frame.py", line 2906, in __getitem__
indexer = self.columns.get_loc(key)
File "/usr/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 2900, in get_loc
raise KeyError(key) from err
KeyError: 0
`
The text was updated successfully, but these errors were encountered:
Hi tuxador, ecg should be a numpy object in demension m x n, which m is lead count and n is length of signal. You should try to convert ecg from pandas to numpy
Hi, i'm trying to plot a CSV file obtained from an XML
my script is the following:
and this is the error i've got:
The text was updated successfully, but these errors were encountered: