- Fixed a "'column' is out of columns range" error when settings a column's width if dataframe has more than 26 columns.
- Hotfix: Fixed typo in setup.py
- Change supported versions of openpyxl to >= 2.5
- Changed
use_openpyxl_stylesargument default value toFalseinStyleFrame.read_excel.
- Fixed an issue that prevented reading files which used certain theme colors.
- Reading columns' widths and rows' heights when passing
read_style=Truetoread_excel. - Added support for named indexes.
- Added
style_index_headerargument toapply_headers_style. - Added support for pandas <= 0.23.4
- Added Python 3.7 support
- Added support for pandas <= 0.23.1
- Added dt and str accessors to Series
- Added support for passing an integer (sheet index) as
sheet_nametoStyleFrame.read_excel StyleFrame.read_excelsheetnameargument changed tosheet_name. Usingsheetnameis still allowed but will show deprecation warning.- Added
Styler.combinemethod. - Added
utils.number_formats.decimal_with_num_of_digitsmethod. - Added
overwrite_default_styleargument toStyleFramemethodsapply_style_by_indexesandapply_column_style
- Fixed a bug where
read_excelwill fail when usingread_style=Truein cases where specific themes are used (See github issue #37).
- Added
complement_styleandcomplement_heightarguments toStyleFrame.apply_indexes_by_style - Added support for comments
- Renamed
Styler.create_stylemethod toto_openpyxl_style(create_styleis still available for backward compatibility) - Fixed a bug not allowing to access StyleFrame columns by dot notation in case a column name is a number
- No longer supporting Python 3.3
- StyleFrame objects no longer expose .ix method as it is deprecated since pandas 0.20. Use .loc or .iloc instead
- Added ability to access StyleFrame columns as attributes (eg
sf.column_a) - Added conditional formatting
- Added
best_fittoto_excelmethod - Added support for pandas <= 0.22.0
- Added support for theme colors when reading styles from Excel sheets
- Added option to use
Stylerobjects when reading styles from Excel sheets - Using a JSON schema to validate json from command line
- Added command line argument --show-schema
- Improved error message if invalid style arguments are used in JSON through the commandline interface
- Fixed an error importing utils in case there is already a utils module in Python's path (see github issue #31)
- Added
utils.fill_pattern_types - Added
wrap_text,shrink_to_fit,fill_pattern_typeandindentarguments toStyler.__init__
- Fixed an issue when running tests from code
- Using
.locand.ilocinstead of.ixsince.ixis deprecated in pandas >0.20 - Added
horizontal_alignmentandvertical_alignmentarguments toStyler.__init__ - Added
style_alternate_rowsmethod toStyleFrame.
- Added option to pass a json string through cli
- Added
cellsoption todefault_styleswhen using JSON
- Added commandline interface that supports json to xlsx
- Added
utils.fonts - Added
widthandheightarguments to relevant styling methods
- Removed support for individual style specifiers when calling styling methods
- Added 2 general styles to
utils.number_formats: '0' asutils.number_formats.general_integerand '0.00' asutils.number_formats.general_float - Fixed a bug with a
DeprecationWarningunnecessarily showing
- Added ability to change font
- Added ability to change cell border type
- Added
style_objargument to all styling methods which accepts aStylerobject so styles can be reused. The ability to directly pass style specifiers is deprecated and may break in a future version - Added basic ability to read stylized excel into a stylized StyleFrame by pass
read_style=TruetoStyleFrame.read_excel. Currently does not support reading style from a subset of sheet (ie usingstartrow,startcoland the such) - Added ability to provide a default
Stylerobject toStyleFrame.__init__, and added deprecation message when not passing aStylerobject to styling methods
- Added ability to run tests by code:
from StyleFrame import tests tests.run()
- Fixed a bug when adding an underline to a style
- More extensive tests
- Fixed a bug when passing
header=Falsetoto_excel
- Changed dependencies, now requires pandas 0.16.2 - 0.18.1
- Changed Python support: 2.7, 3.3, 3.4, 3.5
- Fixed a bug when trying to filter the first row
- Transitioning to x.y.z version numbers
right_to_leftis now set toFalseas default into_excel()- Most of the methods now return
selfto allow method chaining (egStyleFrame(..).rename(..).to_excel())
- Supports passing a path to required output file to
to_excelmethod, much like pandas'sto_excel.
- Basic support for Python 3.
- Internal changes in
apply_style_by_indexesmethod in order to keep number formats of dates and times.
- Fixed a bug when creating a
StyleFramefrom an emptyDataFrame
- Some bugs fixes
- Added ability to change width and height of several columns/rows at once (
set_column_width_dictandset_row_heightmethods)
- Added ability to create excel with the dataframe's (and style) indexes
- Added ability add filter to rows
- Added ability to protect cells and sheets from editing
- Some bugs fixes
- Added default style for cells with
'=HYPERLINK(..)'values (blue color, underlined) - Improved unicode support
- Added ability to set rows height and columns width
- Added ability to style only the columns headers.
- Added ability to rename columns while keeping the style of the headers
- Added ability to change font color
- Added
utils.number_formats - Added support for 'direct' item assignment, ie
sf['column_c'] = 5
- Added ability to hide certain columns when exporting to excel.
- Changed parameters names. See the documentation.
- Added
ExcelWritertoStyleFrameclass - Supports initializing
StyleFramewith containers
- Initial release