blaze / blaze/datashape

Inconsistent use of 'real'

Open
#205 0 comments 0 reactions 0 assignees View on GitHub
user experience
Dominant language
Python
Stars
189
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Datashape has 3 things using the word "real" in them:
- `ds.predicates.isreal`: checks if the datashape is floating point
- `ds.real`: alias for `ctype("float64")`
- `ds.typesets.real`: contains all numeric, non-complex types

This is inconsistent, and should be corrected. I'd prefer to make `ds.predicates.isreal` check for containment in `ds.typesets.real` (expanding `isreal` to return True for integers). Removing the alias may or may not be beneficial.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.