Skip to content

Commit 59a2e9d

Browse files
committed
Numpy
1 parent 994a62c commit 59a2e9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1714,12 +1714,12 @@ import numpy as np
17141714
```python
17151715
<array> = np.array(<list>)
17161716
<array> = np.arange(from_inclusive, to_exclusive, step_size)
1717-
<array> = np.ones(<shape>) # Shape is a tuple of dimension sizes.
1717+
<array> = np.ones(<shape>)
17181718
<array> = np.random.randint(from_inclusive, to_exclusive, <shape>)
17191719
```
17201720

17211721
```python
1722-
<array>.shape = <shape>
1722+
<array>.shape = <shape> # Shape is a tuple of dimension sizes.
17231723
<view> = <array>.reshape(<shape>)
17241724
<view> = np.broadcast_to(<array>, <shape>)
17251725
```

0 commit comments

Comments
 (0)