r/Python • • Jun 09 '16

Scientific Python Cheat Sheet

https://ipgp.github.io/scientific_python_cheat_sheet/
476 Upvotes

62 comments sorted by

View all comments

2

u/qu4ku Jun 10 '16 edited Jun 10 '16

generators:

x = [for i in firstn(10)]

should be:

x = [i for i in firstn(10)]

2

u/tfhoon Jun 10 '16

thanks for pointing that. it's been edited and made clearer.