Ran del more than once

Screen Link:

App Profile Recommendation | Dataquest

My Code:

print(android_data[10472])
del android_data[10472]
print(android_data[10472])
print(len(android_data))

What I expected to happen:

What actually happened:
I ran the del command more than once just to get the hang of how it works and the rows kept deleting.

I don’t know how to get the data back which has now been deleted. Kindly help me restore the content of database.

Thanks.

Replace this line with the output/error

@AnkushMalik: you can just select restart and run the cells one by one again. Hope this helps!

1 Like