Get the appropriate buffer for data depending on table nestedness.
(self, shape: int)
| 1009 | return arr |
| 1010 | |
| 1011 | def _get_container(self, shape: int) -> np.ndarray: |
| 1012 | """Get the appropriate buffer for data depending on table nestedness.""" |
| 1013 | # This is *much* faster than the numpy.rec.array counterpart |
| 1014 | return np.empty(shape=shape, dtype=self._v_dtype) |
| 1015 | |
| 1016 | def _get_type_col_names(self, type_: str) -> list[str]: |
| 1017 | """Return a list containing 'type_' column names.""" |
no outgoing calls
no test coverage detected