all!
I am pretty confused by this and for the life of me cannot figure out the error.
I am trying to go through all the strings in a data frame and remove the ones that do n
for i in range(len(bb_db)):
if 'Barry Bonds' in bb_db['player_names'][i]:
bb_db = bb_db.drop(bb_db.index[i])
# or this works too..
# bb_db.drop(bb_db.index[i], inplace=True)
print (i)