tocsv_interval _categories
- [x] closes #46297
- [x] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.

Thanks @Kyrpel for the PR. does this also fix the related issue #46812?

can you add a release note doc/source/whatsnew/v1.4.3.rst Thanks @Kyrpel for the PR.

This fix is currently adding some more code where the regression was caused by a code addition in #44930.

https://github.com/pandas-dev/pandas/blob/009c4c622c739941ae3dfde4bc4117eb25172500/pandas/core/internals/blocks.py#L2265-L2271

whereas before #44930 the conversion was done in ...

https://github.com/pandas-dev/pandas/blob/009c4c622c739941ae3dfde4bc4117eb25172500/pandas/core/internals/blocks.py#L2318-L2323

Now removing the code addition in #44930 also fixes this issue.

Now since the `astype(object)` for categorical containing Timestamps was also fixed in #18024, i'm not sure why the special casing for Categorical was added to `to_native_types`.

Going back to this issue. `repr` already still works and according to some code comments, `to_csv`/`repr` are supposed to be sharing the same `to_native_types` code.

we also have the related issue https://github.com/pandas-dev/pandas/issues/46812, and I may need to update this observation once I have looked at that one. I suspect that both issues should probably be fixed togther. > Now since the `astype(object)` for categorical containing Timestamps was also fixed in #18024, i'm not sure why the special casing for Categorical was added to `to_native_types`.

should have been containing Timestamps was also fixed in #18024 -> containing Timestamps #18024 was also fixed in #44930

cc @jbrockmendel @phofl (participants in https://github.com/pandas-dev/pandas/pull/44930) Thanks @Kyrpel for the PR. closing as superseded by #47347.