When I typed this code del data_set_playstore[10473]
, I pressed Restart & Run All many times, but I noticed that the length of the google play data set didn’t change, why?
Hello @Maho,
Put a line of code that prints the length of the dataset after the delete
statement.
Can you please share your code?
print(len(android_data))
del android_data[10472] # don't run this more than once so you dont delete multiple rows
print(len(android_data))
Use this code above. It shows you the length of the data set before and after deletion. That way you know if it worked.