(version)
| 262 | |
| 263 | @pytest.mark.pandas |
| 264 | def test_integer_no_nulls(version): |
| 265 | data, arr = {}, [] |
| 266 | |
| 267 | numpy_dtypes = ['i1', 'i2', 'i4', 'i8', |
| 268 | 'u1', 'u2', 'u4', 'u8'] |
| 269 | num_values = 100 |
| 270 | |
| 271 | for dtype in numpy_dtypes: |
| 272 | values = np.random.randint(0, 100, size=num_values) |
| 273 | data[dtype] = values.astype(dtype) |
| 274 | arr.append(values.astype(dtype)) |
| 275 | |
| 276 | df = pd.DataFrame(data) |
| 277 | _check_pandas_roundtrip(df, version=version) |
| 278 | |
| 279 | table = pa.table(arr, names=numpy_dtypes) |
| 280 | _check_arrow_roundtrip(table) |
| 281 | |
| 282 | |
| 283 | @pytest.mark.pandas |
nothing calls this directly
no test coverage detected