Skip to content

Commit

Permalink
drop python 2.7 from serialize.py (#812)
Browse files Browse the repository at this point in the history
* drop python 2.7 from serialize.py

* update changelog
  • Loading branch information
systemshift authored and rwedge committed Nov 14, 2019
1 parent 036473f commit 606c0c0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions docs/source/changelog.rst
Expand Up @@ -6,6 +6,7 @@ Changelog
* Enhancements
* Fixes
* Changes
* Remove python 2.7 support from serialize.py (:pr:`812`)
* Documentation Changes
* remove python 2.7 support and add 3.7 in install.rst (:pr:`805`)
* Fix import error in docs (:pr:`803`)
Expand Down
1 change: 0 additions & 1 deletion featuretools/entityset/serialize.py
Expand Up @@ -95,7 +95,6 @@ def write_entity_data(entity, path, format='csv', **kwargs):
df = entity.df.copy()
columns = df.select_dtypes('object').columns
df[columns] = df[columns].astype('unicode')
df.columns = df.columns.astype('unicode') # ensures string column names for python 2.7
df.to_parquet(file, **kwargs)
elif format == 'pickle':
entity.df.to_pickle(file, **kwargs)
Expand Down

0 comments on commit 606c0c0

Please sign in to comment.