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 201b5dd commit 38e8eb2Copy full SHA for 38e8eb2
pandas/_libs/tslibs/parsing.pyx
@@ -1218,6 +1218,18 @@ cpdef str get_rule_month(str source):
1218
return source.split("-")[1]
1219
1220
cdef inline object _parse_today_now(str date_string):
1221
+ """
1222
+ Parse special case date inputs - "today", "now"
1223
+ and if present return corresponding datetime object
1224
+
1225
+ Parameters
1226
+ ----------
1227
+ date_string : str
1228
1229
+ Returns:
1230
+ --------
1231
+ datetime or None
1232
1233
cdef:
1234
object res = None
1235
0 commit comments