Q: pandas Series iteritems in pydevd_utils.py FutureWarning I have a problem, it seems to be with pandas library. I have installed pandas 1.5.0. The problem/error occurs when debug a code with a pandas Series.
Since pandas has deprecated iteritems, a FutureWarning is showed many times and it causes some error during debugging. I tried installing one version of pandas before, but the problem continues.
Error:
PyCharm Community Edition 2022.2.2\plugins\python-ce\helpers\pydev\_pydevd_bundle\pydevd_utils.py:606: FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
  for item in s.iteritems():


Any knows how to solve this?. I appreciate your support.

A: use code
for item in s.items():

or
series.iloc - is old
use - series.loc

