python
qeatzy
Have a good career; fail fast, fail frequently and fail forwards! ;)
展开
-
learn python, ref, diveintopython
Decide in your heart of hearts what really excites and challenges you, and start moving your life in that direction. Don't let life randomly kick you into the adult you don't want to become.原创 2015-07-22 14:42:57 · 569 阅读 · 0 评论 -
pydata
numpyx = np.arange(9.).reshape(3, 3) np.where(x>5) x[x>5] # often simple boolean indexing suffices, np.where is not needed pandaspath = 'ch02/usagov_bitly_data2012-03-16-1331923249.txt' records = [json原创 2016-05-03 21:43:38 · 501 阅读 · 0 评论 -
differences in python 2 and python 3
differences in python 2 and 3原创 2016-04-21 20:33:34 · 240 阅读 · 0 评论 -
python pieces
create partial sum of sequence using generator. ref: def partial_sums(iterable): total = 0 for i in iterable: total += i yield total原创 2016-04-21 23:08:48 · 907 阅读 · 0 评论