Skip to content

Commit a3c42f0

Browse files
committed
revert for period
1 parent e29d898 commit a3c42f0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/core/arrays/period.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ def asfreq(self, freq=None, how='E'):
572572
# ------------------------------------------------------------------
573573
# Rendering Methods
574574

575-
def _format_native_types(self, na_rep='NaT', date_format=None, **kwargs):
575+
def _format_native_types(self, na_rep=u'NaT', date_format=None, **kwargs):
576576
"""
577577
actually format my specific types
578578
"""

pandas/core/indexes/period.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def _maybe_convert_timedelta(self, other):
395395
# ------------------------------------------------------------------------
396396
# Rendering Methods
397397

398-
def _format_native_types(self, na_rep='NaT', quoting=None, **kwargs):
398+
def _format_native_types(self, na_rep=u'NaT', quoting=None, **kwargs):
399399
# just dispatch, return ndarray
400400
return self._data._format_native_types(na_rep=na_rep,
401401
quoting=quoting,

0 commit comments

Comments
 (0)