%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /backups/router/usr/local/lib/python3.11/site-packages/pandas/tests/apply/
Upload File :
Create Path :
Current File : //backups/router/usr/local/lib/python3.11/site-packages/pandas/tests/apply/conftest.py

import numpy as np
import pytest

from pandas import DataFrame


@pytest.fixture
def int_frame_const_col():
    """
    Fixture for DataFrame of ints which are constant per column

    Columns are ['A', 'B', 'C'], with values (per column): [1, 2, 3]
    """
    df = DataFrame(
        np.tile(np.arange(3, dtype="int64"), 6).reshape(6, -1) + 1,
        columns=["A", "B", "C"],
    )
    return df

Zerion Mini Shell 1.0