Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ int64_array
Function
int64_array
benchmarks/python/benchmark.py:80–81 ·
view source on GitHub ↗
(values: Iterable[int])
Source
from the content-addressed store, hash-verified
78
79
80
def
int64_array(values: Iterable[int]) -> np.ndarray:
81
return
np.array(list(values), dtype=np.int64)
82
83
84
def
float32_array(values: Iterable[float]) -> np.ndarray:
Callers
2
create_sample
Function · 0.85
from_pb_sample
Function · 0.85
Calls
2
list
Function · 0.50
array
Method · 0.45
Tested by
no test coverage detected