I'm trying to remove a particle from datas I found by tracking my particles.
df.particle == 0 # I can isolate where are found the particle 0 I want to remove from every frames
df[df.particle == 0] # I can isolate all the datas of the particle 0. Means that I have all the datas, frame by frame, for this particle.
Then I tried :
df.drop(df[df.particle == i].index)
but it remove all the data of the frame 0... I understood that "index" refers to the frame, but I don't know how to manage this.
Hello everyone,
I'm trying to remove a particle from datas I found by tracking my particles.
Then I tried :
df.drop(df[df.particle == i].index)
but it remove all the data of the frame 0... I understood that "index" refers to the frame, but I don't know how to manage this.
Is anyone has a solution for me please?
Thank you all,
Alex