Skip to content

Releases: DeepSpace2/StyleFrame

2.0.1

06 Dec 16:38
Compare
Choose a tag to compare
  • Hotfix: Fixed typo in setup.py

2.0

30 Nov 16:24
Compare
Choose a tag to compare
2.0
  • Change supported versions of openpyxl to >= 2.5
  • Changed use_openpyxl_styles argument default value to False in StyleFrame.read_excel.

1.6.2

06 Sep 17:08
Compare
Choose a tag to compare
  • Fixed an issue that prevented reading files which used certain theme colors.

1.6.1

22 Aug 18:42
Compare
Choose a tag to compare
  • Reading columns' widths and rows' heights when passing read_style=True to read_excel.
  • Added support for named indexes.
  • Added style_index_header argument to apply_headers_style.
  • Added support for pandas <= 0.23.4

1.6

13 Jul 12:30
Compare
Choose a tag to compare
1.6
  • 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_name to StyleFrame.read_excel
  • StyleFrame.read_excel sheetname argument changed to sheet_name. Using sheetname is still allowed but will
    show deprecation warning.
  • Added Styler.combine method.
  • Added utils.number_formats.decimal_with_num_of_digits method.
  • Added overwrite_default_style argument to StyleFrame methods apply_style_by_indexes and apply_column_style

1.5.1

05 Jul 20:40
Compare
Choose a tag to compare
  • Fixed a bug where read_excel will fail when using read_style=True in cases
    where specific themes are used (See github issue #37).

1.5

08 Jun 07:57
Compare
Choose a tag to compare
1.5
  • Added complement_style and complement_height arguments to StyleFrame.apply_indexes_by_style
  • Added support for comments
  • Renamed Styler.create_style method to to_openpyxl_style (create_style is 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

1.4

22 Mar 10:46
Compare
Choose a tag to compare
1.4
  • 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_fit to to_excel method
  • Added support for pandas <= 0.22.0
  • Added support for theme colors when reading styles from Excel sheets
  • Added option to use Styler objects when reading styles from Excel sheets
  • Using a JSON schema to validate json from command line
  • Added command line argument --show-schema

Also closes #34 and #35

1.3.1

26 Dec 19:00
Compare
Choose a tag to compare
  • 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)

1.3

23 Dec 13:03
Compare
Choose a tag to compare
1.3
  • Added utils.fill_pattern_types
  • Added wrap_text, shrink_to_fit, fill_pattern_type and indent to Styler
  • Version bumped to 1.3