73a5213bfbe7c40079102dfebe0cc12ab17135be,pandas/tests/window/conftest.py,,series,#,303

Before Change


@pytest.fixture
def series():
    Make mocked series as fixture.
    return _create_series()


@pytest.fixture(params=[_create_series(), _create_frame()])
def which(request):

After Change


    arr = np.random.randn(100)
    locs = np.arange(20, 40)
    arr[locs] = np.NaN
    series = Series(arr, index=bdate_range(datetime(2009, 1, 1), periods=100))
    return series


@pytest.fixture(params=["1 day", timedelta(days=1)])
def halflife_with_times(request):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: pandas-dev/pandas
Commit Name: 73a5213bfbe7c40079102dfebe0cc12ab17135be
Time: 2020-11-19
Author: emailformattr@gmail.com
File Name: pandas/tests/window/conftest.py
Class Name:
Method Name: series


Project Name: streamlit/streamlit
Commit Name: b3bcd7d40f78b9727f1bd7c4bc0f68507a3dadb4
Time: 2020-02-19
Author: nate@streamlit.io
File Name: lib/streamlit/ConfigOption.py
Class Name:
Method Name: _parse_yyyymmdd_str


Project Name: nilmtk/nilmtk
Commit Name: 41a57942968c89762733f0ffdb2b918b6be79c6b
Time: 2014-01-14
Author: jack-list@xlk.org.uk
File Name: nilmtk/dataset/hes.py
Class Name:
Method Name: datetime_converter


Project Name: okfn-brasil/serenata-de-amor
Commit Name: 67069d7e05a7ee1195cba76c937ffca4d63d8ccf
Time: 2016-11-11
Author: cuducos@gmail.com
File Name: jarbas/core/management/commands/loadsuppliers.py
Class Name: Command
Method Name: to_date


Project Name: pandas-dev/pandas
Commit Name: 73a5213bfbe7c40079102dfebe0cc12ab17135be
Time: 2020-11-19
Author: emailformattr@gmail.com
File Name: pandas/tests/window/conftest.py
Class Name:
Method Name: frame