Fixture for DataFrame of ints with index of unique strings Columns are ['A', 'B', 'C', 'D']
()
| 901 | # ---------------------------------------------------------------- |
| 902 | @pytest.fixture |
| 903 | def int_frame() -> DataFrame: |
| 904 | """ |
| 905 | Fixture for DataFrame of ints with index of unique strings |
| 906 | |
| 907 | Columns are ['A', 'B', 'C', 'D'] |
| 908 | """ |
| 909 | return DataFrame( |
| 910 | np.ones((30, 4), dtype=np.int64), |
| 911 | index=Index([f"foo_{i}" for i in range(30)]), |
| 912 | columns=Index(list("ABCD")), |
| 913 | ) |
| 914 | |
| 915 | |
| 916 | @pytest.fixture |