File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ Small example of the use of ``origin``:
176176 ts = pd.Series(np.arange(len (rng)) * 3 , index = rng)
177177 ts
178178
179- Resample with the default behavior 'start_day' (origin is 2000-10-01 00:00:00):
179+ Resample with the default behavior `` 'start_day' `` (origin is `` 2000-10-01 00:00:00 `` ):
180180
181181.. ipython :: python
182182
Original file line number Diff line number Diff line change @@ -56,8 +56,9 @@ def test_deprecating_on_loffset_and_base():
5656 with tm .assert_produces_warning (FutureWarning ):
5757 df .resample ("3T" , loffset = "0s" ).sum ()
5858 msg = "'offset' and 'base' cannot be present at the same time"
59- with pytest .raises (ValueError , match = msg ):
60- df .groupby ("a" ).resample ("3T" , base = 0 , offset = 0 ).sum ()
59+ with tm .assert_produces_warning (FutureWarning ):
60+ with pytest .raises (ValueError , match = msg ):
61+ df .groupby ("a" ).resample ("3T" , base = 0 , offset = 0 ).sum ()
6162
6263
6364@all_ts
You can’t perform that action at this time.
0 commit comments