ENH/BUG: implement __iter__ for IntegerArray so conversions (to_dict, tolist, etc.) return python native types
- [x] closes #29738
- [x] closes #34665
- [x] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Reheating #31328 (as it's been stale for a few months)
likely also close

Possibly related to: #27616, #25969, #21256

pls indicate this by adding tests (or comment that we don't close these) Getting a doctest failure after this patch: is it ok to change the doc here?
```
_____________ [doctest] pandas.core.arrays.floating.FloatingArray ______________
240 
241     Returns
242     -------
243     FloatingArray
244 
245     Examples
246     --------
247     Create an FloatingArray with :func:`pandas.array`:
248 
249     >>> pd.array([0.1, None, 0.3], dtype=pd.Float32Dtype())
Differences (unified diff with -expected +actual):
    @@ -1,3 +1,3 @@
     <FloatingArray>
    -[0.1, <NA>, 0.3]
    +[0.10000000149011612, <NA>, 0.30000001192092896]
     Length: 3, dtype: Float32
``` > likely also close
> 
> Possibly related to: #27616, #25969, #21256
> 
> pls indicate this by adding tests (or comment that we don't close these)

#21256 - fixed on current master (I'll add tests)
#27616, #25969 - open & unaffected by this fix (they're bugs in the NumPy-backed data structures). I'll investigate in a separate PR This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. closing as stale. if you want to continue, pls ping and can re-open.