Passed
Push — master ( d5b48a...5a31d8 )
by Simon
01:07
created

dataset_features()   A

Complexity

Conditions 1

Size

Total Lines 5
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nop 1
1
# Author: Simon Blanke
2
# Email: [email protected]
3
# License: MIT License
4
5
6
def dataset_features(array):
7
    return {
8
        "array_size": array.size,
9
        "array_byte_size": array.itemsize,
10
        "array_ndim": array.ndim,
11
    }
12
13