zoombini29
Re:Teaching Pandas and Jupyter to Northwestern journalism students
on Thursday June 08, 2017 @03:19AM (#14512505)
> 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
Re:Is fat killing you, or is sugar?
on Wednesday March 29, 2017 @05:14PM (#13990631)
Eggs, oats, bananas, and yogurt are all good options.
Re:Uvloop: Fast Python networking
on Tuesday May 03, 2016 @11:47PM (#11626027)
do you have perf benchmarks under heavier concurrency? (e.g., how does it do with 100 concurrent clients? 1000?)