pandas - running python code despite KeyError -
pandas - running python code despite KeyError -
i keyerror 1 of entries in dataframe, code go on other entries seem have not problem. have been reading except() alternative don't know how utilize it. can help
the basic form of exception handling in python uses try:
try: #code gives key error (replace pass code) pass except keyerror: #do exception handling here (or pass) pass python pandas
Comments
Post a Comment