I got the data from the link below
link
I run the LabelMatrix-TimeDays-TrajectrotyMatrix.py
But
Prints the "error" and does not save the Revised_Trajectory_Label_Array.pickle
A = np.where(Dates >= (float(row[0]) - Sec))
B = np.where(Dates > (float(row[1]) + Sec))
C = list(set(A[0]).intersection(B[0]))
if len(C) == 0:
print("error")
[Mode_Trajectory.append(row[2]) for i in C]
[C_list.append(i) for i in C]
I got the data from the link below link I run the LabelMatrix-TimeDays-TrajectrotyMatrix.py But Prints the "error" and does not save the Revised_Trajectory_Label_Array.pickle
A = np.where(Dates >= (float(row[0]) - Sec)) B = np.where(Dates > (float(row[1]) + Sec)) C = list(set(A[0]).intersection(B[0])) if len(C) == 0: print("error") [Mode_Trajectory.append(row[2]) for i in C] [C_list.append(i) for i in C]
what is the reason?
Tnx