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
Copy file name to clipboardExpand all lines: doc/source/v0.15.0.txt
+6-1Lines changed: 6 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -119,6 +119,11 @@ API changes
119
119
- The ``infer_types`` argument to :func:`~pandas.io.html.read_html` now has no
120
120
effect (:issue:`7762`, :issue:`7032`).
121
121
122
+
- ``DataFrame.to_stata`` and ``StataWriter`` check string length for
123
+
compatibility with limitations imposed in dta files where fixed-width
124
+
strings must contain 244 or fewer characters. Attempting to write Stata
125
+
dta files with strings longer than 244 characters raises a ``ValueError``. (:issue:`7858`)
126
+
122
127
123
128
.. _whatsnew_0150.cat:
124
129
@@ -312,7 +317,7 @@ Bug Fixes
312
317
313
318
- Bug in ``DataFrame.plot`` with ``subplots=True`` may draw unnecessary minor xticks and yticks (:issue:`7801`)
314
319
- Bug in ``StataReader`` which did not read variable labels in 117 files due to difference between Stata documentation and implementation (:issue:`7816`)
315
-
320
+
- Bug in ``StataReader`` where strings were always converted to 244 characters-fixed width irrespective of underlying string size (:issue:`7858`)
316
321
- Bug in ``expanding_cov``, ``expanding_corr``, ``rolling_cov``, ``rolling_cov``, ``ewmcov``, and ``ewmcorr``
317
322
returning results with columns sorted by name and producing an error for non-unique columns;
318
323
now handles non-unique columns and returns columns in original order
0 commit comments