TYP: remove mypy ignore[assignment] from pandas/core/methods/to_dict.py
Related to #37715
mypy ignore[assignment] was removed from pandas/core/methods/to_dict.py
Hi @jbrockmendel, could you please take a look at this pr? theres nothing wrong here, but @simonjayhawkins has made a pretty good argument that we don't want to alter code to satisfy mypy.  maybe he can comment on an alternative > theres nothing wrong here, but @simonjayhawkins has made a pretty good argument that we don't want to alter code to satisfy mypy. maybe he can comment on an alternative

Thank you, @jbrockmendel, it sounds reasonable.