You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUG/ENH: Improve categorical construction when using the iterator in StataReader (#34128)
* BUG/ENH: Correct categorical on iterators
Return categoricals with the same categories if possible when reading
data through an interator.
Warn if not possible.
closes#31544
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v1.1.0.rst
+1
Original file line number
Diff line number
Diff line change
@@ -949,6 +949,7 @@ I/O
949
949
- Bug in :meth:`~DataFrame.read_feather` was raising an `ArrowIOError` when reading an s3 or http file path (:issue:`29055`)
950
950
- Bug in :meth:`~DataFrame.to_excel` could not handle the column name `render` and was raising an ``KeyError`` (:issue:`34331`)
951
951
- Bug in :meth:`~SQLDatabase.execute` was raising a ``ProgrammingError`` for some DB-API drivers when the SQL statement contained the `%` character and no parameters were present (:issue:`34211`)
952
+
- Bug in :meth:`~pandas.io.stata.StataReader` which resulted in categorical variables with difference dtypes when reading data using an iterator. (:issue:`31544`)
0 commit comments