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/whatsnew/v0.18.0.txt
+17-1
Original file line number
Diff line number
Diff line change
@@ -312,6 +312,23 @@ New Behavior:
312
312
s.index
313
313
print(s.to_csv(path=None))
314
314
315
+
Latex Represenation
316
+
^^^^^^^^^^^^^^^^^^^
317
+
318
+
``DataFrame`` has gained a ``_repr_latex_`` method in order to allow
319
+
for conversion to latex in a ipython/jupyter notebook using
320
+
nbconvert. (:issue:`11778`)
321
+
322
+
Note that this must be activated by setting the option ``display.latex.repr``
323
+
to ``True`` (issue:`12182`)
324
+
325
+
For example, if you have a jupyter notebook you plan to convert to latex using
326
+
nbconvert, place the statement ``pd.set_option('display.latex.repr', True)``
327
+
in the first cell to have the contained DataFrame output also stored as latex.
328
+
329
+
Options ``display.latex.escape`` and ``display.latex.longtable`` have also been
330
+
added to the configuration and are used automatically by the ``to_latex``
331
+
method. See the :ref:`options documentation<options>` for more info.
315
332
316
333
.. _whatsnew_0180.enhancements.other:
317
334
@@ -324,7 +341,6 @@ Other enhancements
324
341
- add support for ``AWS_S3_HOST`` env variable when reading from s3 (:issue:`12198`)
325
342
- A simple version of ``Panel.round()`` is now implemented (:issue:`11763`)
326
343
- For Python 3.x, ``round(DataFrame)``, ``round(Series)``, ``round(Panel)`` will work (:issue:`11763`)
327
-
- ``DataFrame`` has gained a ``_repr_latex_`` method in order to allow for automatic conversion to latex in a ipython/jupyter notebook using nbconvert. Options ``display.latex.escape`` and ``display.latex.longtable`` have been added to the configuration and are used automatically by the ``to_latex`` method. (:issue:`11778`)
328
344
- ``sys.getsizeof(obj)`` returns the memory usage of a pandas object, including the
329
345
values it contains (:issue:`11597`)
330
346
- ``Series`` gained an ``is_unique`` attribute (:issue:`11946`)
0 commit comments