I am going to delete row from csv but I got this error
KeyError at /tools/universe/delete_instrument/ "['33333'] not found in axis" views.py instrument = request.POST.get("symbol") universe_id = request.POST.get("id") universe = get_object_or_404(Universe_Universe, id=universe_id) universe_path = settings.UNIVERSES + get_path(universe.parent_id) data_universe = pd.read_csv(universe_path + universe.name + '.csv', index_col="Ticker") print(data_universe) print(instrument) data_universe.drop(instrument, axis=1, inplace=True) error KeyError: "['33333'] not found in axis" printresult: Name Ticker 44444 444444 33333 33333333 33333 -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/9b6254ad-6c11-42e5-87ed-9d4b851f06d0%40googlegroups.com.