We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 791de95 commit cd04471Copy full SHA for cd04471
pandas/_libs/tslibs/timedeltas.pyx
@@ -1246,7 +1246,7 @@ class Timedelta(_Timedelta):
1246
deprecated. Use 'array // timedelta.value' instead.
1247
If you want to obtain epochs from an array of timestamps,
1248
you can rather use
1249
- 'array - pd.Timestamp("1970-01-01")) // pd.Timedelta("1s")'.
+ '(array - pd.Timestamp("1970-01-01")) // pd.Timedelta("1s")'.
1250
""")
1251
warnings.warn(msg, FutureWarning)
1252
return other // self.value
0 commit comments