Skip to content

Commit 00b3d80

Browse files
committed
Json, Numpy
1 parent 4c3cb26 commit 00b3d80

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1136,12 +1136,6 @@ import json
11361136
<object> = json.loads(<str>)
11371137
```
11381138

1139-
#### To preserve order use:
1140-
```python
1141-
from collections import OrderedDict
1142-
<object> = json.loads(<str>, object_pairs_hook=OrderedDict)
1143-
```
1144-
11451139
### Read Object from JSON File
11461140
```python
11471141
def read_json_file(filename):
@@ -1762,8 +1756,8 @@ import numpy as np
17621756
```
17631757

17641758
```python
1765-
<array> = <array>.sum(axis=None)
1766-
indexes = <array>.argmin(axis=None)
1759+
<array> = <array>.sum(axis)
1760+
indexes = <array>.argmin(axis)
17671761
```
17681762

17691763
* **Shape is a tuple of dimension sizes.**

0 commit comments

Comments
 (0)