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
ENH: Added ability to freeze panes from DataFrame.to_excel() (pandas-dev#15160)
closespandas-dev#15160
Author: Jeff Carey <[email protected]>
Closespandas-dev#15291 from jeffcarey/enh-15160 and squashes the following commits:
cef8fce [Jeff Carey] ENH: Added ability to freeze panes from DataFrame.to_excel()
The look and feel of Excel worksheets created from pandas can be modified using the following parameters on the ``DataFrame``'s ``to_excel`` method.
2833
+
2834
+
- ``float_format`` : Format string for floating point numbers (default None)
2835
+
- ``freeze_panes`` : A tuple of two integers representing the bottommost row and rightmost column to freeze. Each of these parameters is one-based, so (1, 1) will
2836
+
freeze the first row and first column (default None)
Copy file name to clipboardExpand all lines: doc/source/whatsnew/v0.20.0.txt
+1
Original file line number
Diff line number
Diff line change
@@ -153,6 +153,7 @@ Other enhancements
153
153
- ``Series/DataFrame.resample.asfreq`` have gained a ``fill_value`` parameter, to fill missing values during resampling (:issue:`3715`).
154
154
- ``pandas.tools.hashing`` has gained a ``hash_tuples`` routine, and ``hash_pandas_object`` has gained the ability to hash a ``MultiIndex`` (:issue:`15224`)
155
155
- ``Series/DataFrame.squeeze()`` have gained the ``axis`` parameter. (:issue:`15339`)
156
+
- ``DataFrame.to_excel()`` has a new ``freeze_panes`` parameter to turn on Freeze Panes when exporting to Excel (:issue:`15160`)
0 commit comments