Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/fory
/ bool_array
Function
bool_array
benchmarks/python/benchmark.py:92–93 ·
view source on GitHub ↗
(values: Iterable[bool])
Source
from the content-addressed store, hash-verified
90
91
92
def
bool_array(values: Iterable[bool]) -> np.ndarray:
93
return
np.array(list(values), dtype=np.bool_)
94
95
96
class
Player(IntEnum):
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