Closed ghost closed 5 years ago
The Dataset.size property returns a scalar numpy.ndarray value which creates TypeError exceptions when encoding that value into JSON. This PR fixes this by ensuring that the return value is a normal Python integer.
TypeError
The Dataset.size property returns a scalar numpy.ndarray value which creates
TypeError
exceptions when encoding that value into JSON. This PR fixes this by ensuring that the return value is a normal Python integer.