Cargando…
Lose Your Loops with Numpy
<!--HTML-->Developing in python is fast. Computation, however, can often be another story. Or at least that is how it may seem. When working with arrays and numerical datasets one can subvert many of python’s computational limitations by utilizing numpy. Numpy is python’s standard matrix compu...
Autor principal: | |
---|---|
Lenguaje: | eng |
Publicado: |
2016
|
Materias: | |
Acceso en línea: | http://cds.cern.ch/record/2156979 |
_version_ | 1780950702160347136 |
---|---|
author | Gunter, Thoth Kenneth |
author_facet | Gunter, Thoth Kenneth |
author_sort | Gunter, Thoth Kenneth |
collection | CERN |
description | <!--HTML-->Developing in python is fast. Computation, however, can often be another story. Or at least that is how it may seem. When working with arrays and numerical datasets one can subvert many of python’s computational limitations by utilizing numpy. Numpy is python’s standard matrix computation library. Many python users only use numpy to store and generate arrays, failing to utilize one of python’s most powerful computational tools. By leveraging numpy’s ufuncs, aggregation, broadcasting and slicing/masking/indexing functionality one can cut back on slow python loops and increase the speed of their programs by as much as 100x. This talk aims at teaching attendees how to use these tools through toy examples. |
id | cern-2156979 |
institution | Organización Europea para la Investigación Nuclear |
language | eng |
publishDate | 2016 |
record_format | invenio |
spelling | cern-21569792022-11-02T22:10:27Zhttp://cds.cern.ch/record/2156979engGunter, Thoth KennethLose Your Loops with Numpy2nd Developers@CERN ForumDevelopers@CERN Forum<!--HTML-->Developing in python is fast. Computation, however, can often be another story. Or at least that is how it may seem. When working with arrays and numerical datasets one can subvert many of python’s computational limitations by utilizing numpy. Numpy is python’s standard matrix computation library. Many python users only use numpy to store and generate arrays, failing to utilize one of python’s most powerful computational tools. By leveraging numpy’s ufuncs, aggregation, broadcasting and slicing/masking/indexing functionality one can cut back on slow python loops and increase the speed of their programs by as much as 100x. This talk aims at teaching attendees how to use these tools through toy examples.oai:cds.cern.ch:21569792016 |
spellingShingle | Developers@CERN Forum Gunter, Thoth Kenneth Lose Your Loops with Numpy |
title | Lose Your Loops with Numpy |
title_full | Lose Your Loops with Numpy |
title_fullStr | Lose Your Loops with Numpy |
title_full_unstemmed | Lose Your Loops with Numpy |
title_short | Lose Your Loops with Numpy |
title_sort | lose your loops with numpy |
topic | Developers@CERN Forum |
url | http://cds.cern.ch/record/2156979 |
work_keys_str_mv | AT gunterthothkenneth loseyourloopswithnumpy AT gunterthothkenneth 2nddeveloperscernforum |