I'm getting this warning when running some Pandas code:
/home/labs/drake/tensorflow_gpu_11.7/lib/python3.8/site-packages/pandas/core/internals/blocks.py:2538: RuntimeWarning: invalid value encountered in cast
values = values.astype(str)
Of course, the "stack trace" is just one line deep in the internals, so I can't tell if it's (a) something wrong with my code, (b) something wrong with my data, or (c) something I can ignore. I also can't imagine what value would fail to convert to str; an empty Series or a Series containing None both seem to be fine.