Closed Manojar14 closed 5 months ago
I am trying to apply series2graph (from TSB_UAD.models.series2graph import Series2Graph) to my data set. However, once I run the following code :
label = df[:max_length,1].astype(int)
Result is :
IndexError Traceback (most recent call last) Cell In[21], line 1 ----> 1 label = df[:max_length,1].astype(int)
IndexError: index 1 is out of bounds for axis 1 with size 1
When I apply the dataset uploaded to https://github.com/TheDatumOrg/TSB-UAD/tree/main/data/benchmark/ECG, no errors occur.
Please help me solve this issue.
Thanks in advance
solved
I am trying to apply series2graph (from TSB_UAD.models.series2graph import Series2Graph) to my data set. However, once I run the following code :
label = df[:max_length,1].astype(int)
Result is :
IndexError Traceback (most recent call last) Cell In[21], line 1 ----> 1 label = df[:max_length,1].astype(int)
IndexError: index 1 is out of bounds for axis 1 with size 1
When I apply the dataset uploaded to https://github.com/TheDatumOrg/TSB-UAD/tree/main/data/benchmark/ECG, no errors occur.
Please help me solve this issue.
Thanks in advance