Better HN
topnewbestaskshowjobs
Log inSign up

zoombini29

1 karma · joined May 4, 2016 (10y ago) · 3 submissions

Submissions

comment 9y ago · link · parent

> Pandas, for some reason, cannot stick to python-isms. I can't do simple things like... > if not df: # Check if DF is empty > return ...

This part is a gotcha, but it's also a reflection that allowing if checks for things other than empty leads to subtle bugs. (there are long mailing list posts about it and about the bugs that were uncovered). See here for some explanation about why numpy does it: https://github.com/numpy/numpy/issues/8622

comment 9y ago · link · parent

Eggs, oats, bananas, and yogurt are all good options.

comment 10y ago · link · parent

do you have perf benchmarks under heavier concurrency? (e.g., how does it do with 100 concurrent clients? 1000?)