We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47f8646 commit e2c6172Copy full SHA for e2c6172
pandas/_libs/tslibs/offsets.pyx
@@ -1163,6 +1163,17 @@ cdef class Day(SingleConstructorOffset):
1163
1164
@cache_readonly
1165
def freqstr(self) -> str:
1166
+ """
1167
+ Return a string representing the frequency.
1168
+
1169
+ Examples
1170
+ --------
1171
+ >>> pd.Day(5).freqstr
1172
+ '5D'
1173
1174
+ >>> pd.offsets.Day(1).freqstr
1175
+ 'D'
1176
1177
if self.n != 1:
1178
return str(self.n) + "D"
1179
return "D"
0 commit comments