Changes between Version 3 and Version 4 of Python API
- Timestamp:
- 09/20/13 14:56:00 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Python API
v3 v4 47 47 The first five data types take any sequence, as long as the Python datatype that is contained matches. In some cases, it may be necessary to recreate a NumPy array so that the canonical Python datatypes are used. For example, with `int`: 48 48 {{{ 49 import numpy as np 50 import muscle 49 import muscle, numpy as np 51 50 52 51 data = np.zeros(100, np.int)