diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index 8ec64c15b3..d8a9a873b1 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -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`) diff --git a/featuretools/entityset/serialize.py b/featuretools/entityset/serialize.py index 92b6514008..406eead10a 100644 --- a/featuretools/entityset/serialize.py +++ b/featuretools/entityset/serialize.py @@ -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)