<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom"><title>Simon Willison's Weblog: scipy</title><link href="http://simonwillison.net/" rel="alternate"/><link href="http://simonwillison.net/tags/scipy.atom" rel="self"/><id>http://simonwillison.net/</id><updated>2020-09-17T16:34:46+00:00</updated><author><name>Simon Willison</name></author><entry><title>Array programming with NumPy - the NumPy paper</title><link href="https://simonwillison.net/2020/Sep/17/array-programming-numpy/#atom-tag" rel="alternate"/><published>2020-09-17T16:34:46+00:00</published><updated>2020-09-17T16:34:46+00:00</updated><id>https://simonwillison.net/2020/Sep/17/array-programming-numpy/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://www.nature.com/articles/s41586-020-2649-2"&gt;Array programming with NumPy - the NumPy paper&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
The NumPy paper is out, published in Nature. I found this enlightening: for an academic paper it’s very understandable, and it filled in quite a few gaps in my mental model of what NumPy is and which problems it addresses, as well as its relationship to the many other tools in the scientific Python stack.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://twitter.com/numpy_team/status/1306268442450972674"&gt;@numpy_team&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scipy"&gt;scipy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/numpy"&gt;numpy&lt;/a&gt;&lt;/p&gt;



</summary><category term="python"/><category term="scipy"/><category term="numpy"/></entry><entry><title>Pyodide: Bringing the scientific Python stack to the browser</title><link href="https://simonwillison.net/2019/Apr/17/pyodide-bringing-scientific-python-stack-browser/#atom-tag" rel="alternate"/><published>2019-04-17T04:23:33+00:00</published><updated>2019-04-17T04:23:33+00:00</updated><id>https://simonwillison.net/2019/Apr/17/pyodide-bringing-scientific-python-stack-browser/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://hacks.mozilla.org/2019/04/pyodide-bringing-the-scientific-python-stack-to-the-browser/"&gt;Pyodide: Bringing the scientific Python stack to the browser&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
More fun with WebAssembly: Pyodide attempts (and mostly succeeds) to bring the full Python data stack to the browser: CPython, NumPy, Pandas, Scipy, and Matplotlib. Also includes interesting bridge tools for e.g. driving a canvas element from Python. Really interesting project from the Firefox Data Platform team.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="https://news.ycombinator.com/item?id=19677721"&gt;Hacker News&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/mozilla"&gt;mozilla&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/pandas"&gt;pandas&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scipy"&gt;scipy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/webassembly"&gt;webassembly&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/numpy"&gt;numpy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/pyodide"&gt;pyodide&lt;/a&gt;&lt;/p&gt;



</summary><category term="mozilla"/><category term="pandas"/><category term="python"/><category term="scipy"/><category term="webassembly"/><category term="numpy"/><category term="pyodide"/></entry><entry><title>Super Fast String Matching in Python</title><link href="https://simonwillison.net/2017/Nov/5/super-fast-string-matching-in-python/#atom-tag" rel="alternate"/><published>2017-11-05T15:26:52+00:00</published><updated>2017-11-05T15:26:52+00:00</updated><id>https://simonwillison.net/2017/Nov/5/super-fast-string-matching-in-python/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="https://bergvca.github.io/2017/10/14/super-fast-string-matching.html"&gt;Super Fast String Matching in Python&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Interesting technique for calculating string similarity at scale in Python, with much better performance than Levenshtein distances. The trick here uses TF/IDF against N-Grams, plus a CSR (Compressed Sparse Row) scipy matrix to run the calculations. Includes clear explanations of each of these concepts.

    &lt;p&gt;&lt;small&gt;&lt;/small&gt;Via &lt;a href="http://us2.campaign-archive.com/?u=e2e180baf855ac797ef407fc7&amp;amp;id=3b186916c5/?u=e2e180baf855ac797ef407fc7&amp;amp;id=3b186916c5&amp;amp;awesome=no&amp;amp;e="&gt;Python Weekly - Issue 317&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scipy"&gt;scipy&lt;/a&gt;&lt;/p&gt;



</summary><category term="python"/><category term="scipy"/></entry><entry><title>Python in the Scientific World</title><link href="https://simonwillison.net/2009/Nov/6/neopythonic/#atom-tag" rel="alternate"/><published>2009-11-06T11:04:04+00:00</published><updated>2009-11-06T11:04:04+00:00</updated><id>https://simonwillison.net/2009/Nov/6/neopythonic/#atom-tag</id><summary type="html">
    
&lt;p&gt;&lt;strong&gt;&lt;a href="http://neopythonic.blogspot.com/2009/11/python-in-scientific-world.html"&gt;Python in the Scientific World&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;
Python continues to make strides in the scientific world—and the Hubble Space Telescope team have been using it for 10 years!


    &lt;p&gt;Tags: &lt;a href="https://simonwillison.net/tags/astronomy"&gt;astronomy&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/guido-van-rossum"&gt;guido-van-rossum&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/hubblespacetelescope"&gt;hubblespacetelescope&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/python"&gt;python&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/science"&gt;science&lt;/a&gt;, &lt;a href="https://simonwillison.net/tags/scipy"&gt;scipy&lt;/a&gt;&lt;/p&gt;



</summary><category term="astronomy"/><category term="guido-van-rossum"/><category term="hubblespacetelescope"/><category term="python"/><category term="science"/><category term="scipy"/></entry></feed>