(self, n, dtype)
| 24 | |
| 25 | class PandasConversionsBase(object): |
| 26 | def setup(self, n, dtype): |
| 27 | if dtype == 'float64_nans': |
| 28 | arr = np.arange(n).astype('float64') |
| 29 | arr[arr % 10 == 0] = np.nan |
| 30 | else: |
| 31 | arr = np.arange(n).astype(dtype) |
| 32 | self.data = pd.DataFrame({'column': arr}) |
| 33 | |
| 34 | |
| 35 | class PandasConversionsToArrow(PandasConversionsBase): |
nothing calls this directly
no outgoing calls
no test coverage detected