News for hackers. Stuff that matters.
Re:Useful Python decorators for data scientists by lpmiss on Monday May 23, 2022 @05:45AM (#31476952)
Scientific code in the Python ecosystem is horrible in general. Architecture astronauts, stack overflows from recursion, bloat, truncating int64 in casts to double, version incompatible mess due to the latest features at all costs. I have seen it all. They treat Python as if it were a sound language with the guarantees of Haskell.
Re:Useful Python decorators for data scientists by gregsadetsky on Monday May 23, 2022 @06:31AM (#31477230)
Are there good examples (established libraries or projects) of scientific code in Python? And more broadly, would you have examples of what good scientific code could/does look like?

Not being facetious! I’m genuinely curious and would love to learn more. Thanks

Re:Useful Python decorators for data scientists by Zeratoss on Monday May 23, 2022 @07:10AM (#31477515)
https://github.com/scverse/scanpy

This is incredibly popular in single cell analysis

Re:Useful Python decorators for data scientists by geysersam on Monday May 23, 2022 @07:17AM (#31477571)
The Scipy project is a good example, with code from many scientific domains.