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