News for hackers. Stuff that matters.

neomatrix369

Ask HN: Where can I find examples and resources on how to vectorize in Python?

Mainly the lambda like or .apply() like code styles? Where can I find examples and resources on how to vectorize code in Python (for fast Pandas and Numpy execution), for e.g. vectorize code like this: def some_function(): return group_series.apply(lambda x: x.astype(some_type).rolling(some_number).sum().shift(some_number))or even something like this: def some_function(): return...

( Read More... | 2 comments | 3 points | on HN )
Awesome work! Thanks for making it free on Kaggle!

Run Jupyter notebooks on the cloud, backed by the powers of the GraalVM compiler

https://medium.com/@neomatrix369/running-your-jupyter-notebooks-on-the-cloud-ed970326649f expounds on technologies like GraalVM, Jupyter notebooks, Cloud infrastructure and Docker!Have a play with the code snippets and scripts and make your own out it!PRs and constructive feedback are welcome.

( Read More... | no comments | on HN )