Trash data getting added while importing through python script

Hey there, I have attached the photos, as you can see the script ran correctly and even it show how data is been appended but then why this trash data is been shown in the dish doctype list?

not able to understand this.