diff --git a/site/_posts/2019-02-05-python-string-memory-0.12.md b/site/_posts/2019-02-05-python-string-memory-0.12.md index 842cc23f73e3a..0979274461736 100644 --- a/site/_posts/2019-02-05-python-string-memory-0.12.md +++ b/site/_posts/2019-02-05-python-string-memory-0.12.md @@ -130,10 +130,10 @@ values. ## Memory and Performance Benchmarks -We can use the `memory_profiler` Python package to easily get process memory -usage within a running Python application. +We can use the [`memory_profiler`][2] Python package to easily get process +memory usage within a running Python application. -``` +```python import memory_profiler def mem(): return memory_profiler.memory_usage()[0] @@ -243,4 +243,5 @@ native memory layout of pandas or other analytics tools. We will do our best to provide fast and memory-efficient interoperability with pandas and other popular libraries. -[1]: https://www.slideshare.net/xhochy/extending-pandas-using-apache-arrow-and-numba \ No newline at end of file +[1]: https://www.slideshare.net/xhochy/extending-pandas-using-apache-arrow-and-numba +[2]: https://pypi.org/project/memory-profiler/ \ No newline at end of file