zmc
2023-12-22 9fdbf60165db0400c2e8e6be2dc6e88138ac719a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import numpy as np
 
np.maximum_sctype("S8")
np.maximum_sctype(object)
 
np.issctype(object)
np.issctype("S8")
 
np.obj2sctype(list)
np.obj2sctype(list, default=None)
np.obj2sctype(list, default=np.string_)
 
np.issubclass_(np.int32, int)
np.issubclass_(np.float64, float)
np.issubclass_(np.float64, (int, float))
 
np.issubsctype("int64", int)
np.issubsctype(np.array([1]), np.array([1]))
 
np.issubdtype("S1", np.string_)
np.issubdtype(np.float64, np.float32)
 
np.sctype2char("S1")
np.sctype2char(list)
 
np.find_common_type([], [np.int64, np.float32, complex])
np.find_common_type((), (np.int64, np.float32, complex))
np.find_common_type([np.int64, np.float32], [])
np.find_common_type([np.float32], [np.int64, np.float64])
 
np.cast[int]
np.cast["i8"]
np.cast[np.int64]
 
np.nbytes[int]
np.nbytes["i8"]
np.nbytes[np.int64]
 
np.ScalarType
np.ScalarType[0]
np.ScalarType[3]
np.ScalarType[8]
np.ScalarType[10]
 
np.typecodes["Character"]
np.typecodes["Complex"]
np.typecodes["All"]