8000 ENH: tracking issue for merging randomgen into numpy · Issue #13164 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content
ENH: tracking issue for merging randomgen into numpy #13164
@mattip

Description

@mattip

Merge bashtage/randomgen into numpy, as part of NEP 19.

  • get the cythonize to work properly. Currently we call python -mcython infile outfile with no ability to add extra command line args
  • get the code to compile and import
  • get the tests to run and pass
  • replace mtrand with randomgen
  • work the documentation cleanly into our documentation
  • fix any TODOs
    • decrease module depth by moving numpy.random.randomgen.* into numpy.random
    • rewrite parts of documentation as randomgen is not outside numpy.random
  • benchmark
  • check that the NEP and the implementation are consistent

Post merge checklist

  • work through the other issues and PRs related to random
  • make documentation flow more smoothly with indices, heirarchies
    • integrate examples to Numba, Cython, CFFI, ctypes more tightly
    • refactor out the common BRNG attribute/method documentation
  • discuss deprecating np.random.seed and access to functions via np.random.xxx
  • fix vendored code for NumPy style (two-space tabbing and more)

Edit: add more tasks (replace mtrand, fix TODOs)
Edit: add NEP check
Edit: add post-merge tasks

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0