Skip to content

Commit c719bdf

Browse files
committed
BUG: DataFrame.apply not adding a frequency if freq=None (pandas-dev#22150)
1 parent 98fb53c commit c719bdf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

pandas/core/indexes/datetimes.py

-2
Original file line numberDiff line numberDiff line change
@@ -854,8 +854,6 @@ def union_many(self, others):
854854
if isinstance(this, DatetimeIndex):
855855
this._tz = timezones.tz_standardize(tz)
856856

857-
if this.freq is None:
858-
this.freq = to_offset(this.inferred_freq)
859857
return this
860858

861859
def join(self, other, how='left', level=None, return_indexers=False,

0 commit comments

Comments
 (0)