-
-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Additional space in 0d array repr #9185
Copy link
Copy link
Closed
Description
Snippet:
import numpy as np
print(repr(np.array(1.)))Output on 1.12.1:
array(1.0)
Output on master:
array( 1.0)
Note the space before 1.0.
git bisect gives that the commit introducing the change is d2b06fe.
Probably not such a big deal, but I guess it was not intentional. We noticed because it was breaking one of our doctest on scikit-learn.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels