891b16f0476a4604a33d192d4494c37b7f981795,pandas/tests/frame/methods/test_between_time.py,TestBetweenTime,test_between_time_axis,#TestBetweenTime#Any#,75
Before Change
assert len(ts.between_time(stime, etime)) == exp_len
assert len(ts.between_time(stime, etime, axis=0)) == exp_len
if axis in ["columns", 1]:
ts.columns = rng
selected = ts.between_time(stime, etime, axis=1).columns
assert len(selected) == exp_len
After Change
rng = date_range("1/1/2000", periods=100, freq="10min")
ts = Series(np.random.randn(len(rng)), index=rng)
if frame_or_series is DataFrame:
ts = ts.to_frame()
stime, etime = ("08:00:00", "09:00:00")
expected_length = 7
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pandas-dev/pandas
Commit Name: 891b16f0476a4604a33d192d4494c37b7f981795
Time: 2020-11-02
Author: jbrockmendel@gmail.com
File Name: pandas/tests/frame/methods/test_between_time.py
Class Name: TestBetweenTime
Method Name: test_between_time_axis
Project Name: commonsense/conceptnet5
Commit Name: 3cc86e1285cc086d495665c4e73b398a37b44646
Time: 2017-03-15
Author: joanna.teresa.duda@gmail.com
File Name: conceptnet5/vectors/evaluation/compare.py
Class Name:
Method Name: compare_embeddings
Project Name: kwgoodman/numerox
Commit Name: 35888e106789800f5dad17a1332fd3888b0b575f
Time: 2018-01-01
Author: kwgoodman@gmail.com
File Name: numerox/report.py
Class Name: Report
Method Name: append_prediction