Wes McKinney created ARROW-9142:
-----------------------------------
Summary: [C++] random::RandomArrayGenerator::Boolean "probability"
misdocumented / incorrect
Key: ARROW-9142
URL: https://issues.apache.org/jira/browse/ARROW-9142
Project: Apache Arrow
Issue Type: Bug
Components: C++
Reporter: Wes McKinney
Assignee: Wes McKinney
Fix For: 1.0.0
I would expect {{rng.Boolean(length, 0.99)}} to generate an array that is 99%
"true" on average.
The docs say "/// \param[in] probability the estimated number of active bits",
but this is not what the function does (the opposite, actually).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)