73a5213bfbe7c40079102dfebe0cc12ab17135be,pandas/tests/window/conftest.py,,frame,#,297

Before Change


@pytest.fixture
def frame():
    Make mocked frame as fixture.
    return _create_frame()


@pytest.fixture
def series():

After Change


@pytest.fixture
def frame():
    Make mocked frame as fixture.
    return DataFrame(
        np.random.randn(100, 10),
        index=bdate_range(datetime(2009, 1, 1), periods=100),
        columns=np.arange(10),
    )


@pytest.fixture
def series():
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

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: frame


Project Name: brian-team/brian2
Commit Name: 0b92f769fa940f9f199bc8e16f1a57f88c01791a
Time: 2017-02-27
Author: marcel.stimberg@inserm.fr
File Name: brian2/codegen/generators/numpy_generator.py
Class Name:
Method Name: randn_func


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