[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Python

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 6

File: image.jpg (127KB, 500x300px) Image search: [Google]
image.jpg
127KB, 500x300px
>Inb4 slow and gay

I've been doing data science in Python for a while, and finally am working on a bigger project. What are the best resources for learning about Python package development and good Python practices (like the weird OOP stuff)?

I prefer books, but anything works...
>>
>>60487281
Learn R instead
>>
File: 1475016558282.png (23KB, 333x260px) Image search: [Google]
1475016558282.png
23KB, 333x260px
>>60487298
I know R but I would never use for something other than pure statistics or probability
>>
>>60487281
>Python
>data science
hah, slow and gay
>>
File: b444fa4.jpg (87KB, 640x1136px) Image search: [Google]
b444fa4.jpg
87KB, 640x1136px
>>60487366
python is slow, the C backends are fast
>>
>>60487679
this.

All the data science packages relay on Numpy which is just a glorified C code wrapper.
>>
File: rms.jpg (66KB, 567x565px) Image search: [Google]
rms.jpg
66KB, 567x565px
>>60487902
don't forget CUDA, hnngg at some of the gpu accelerated linear algebra libraries
>>
>>60487281
Slow and gay, just like you.
>>
>>60487281
Start with Raymond Hettinger (youtube lectures, more about python in general) and The Hitchhiker's Guide to Python.
I hope it will direct you where you want to go
>>
>>60487679
The flaws about this idea are:
a) C<->Python can be a bottleneck
b) someone has to write and maintain those C backends
>>
>>60488684
thank you lovely anon, this is exactly what I was looking for :)
please accept this attractive man as a token of my gratitude, any other advice will be equally well rewarded
>>
File: 04eooV8gUTFnYzLeC.png (31KB, 491x524px) Image search: [Google]
04eooV8gUTFnYzLeC.png
31KB, 491x524px
>>60488735
>>>60487679 (You)
>a) C<->Python can be a bottleneck
barely, opencv slowdown from c++ to python is <1% according to the documentation

>b) someone has to write and maintain those C backends
...like any code ever?
>>
>>60488804
>barely, opencv slowdown from c++ to python is <1% according to the documentation
That is, because as long you don't manipulate pixels yourself directly you are dealing with relative high level objects in opencv.

>>60488804
>...like any code ever?
People prefer working in decent languages.
Thread posts: 13
Thread images: 6


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.