We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make a new class-based array creator.
class ArrayCreator: def __init__(specs): self.specs = specs def __call__(self, array): return self.create(array) def ones(self, shape): return self(np.ones(shape)) def zeros(self, shape): return self(np.zeros(shape)) series = ArrayCreator(series_specs) map = ArrayCreator(map_specs)
A data array can be created like the following codes.
array_1 = series([[1, 2], [3, 4]]) array_2 = series.ones([10, 10])
The text was updated successfully, but these errors were encountered:
#17 Update Poetry config
a07f4c7
#17 Add creator module
3842a38
#17 Update creator module
ae1d090
No branches or pull requests
Make a new class-based array creator.
A data array can be created like the following codes.
The text was updated successfully, but these errors were encountered: