- 博客(3)
- 收藏
- 关注
原创 java pieces,
What is the difference between == vs equals() in Java?, Always remember to override hashCode if you override equals so as not to “break the contract”.equals will only compare what it is written to comp
2016-05-17 22:32:40 622
原创 python in learning math
limit behavior of transition probability of a given markov chain>>> import numpy as np >>> np.set_printoptions(precision=4) >>> g = lambda trans_mat, cnt=20: reduce(lambda x1, x2: print(x1) or x1@x2, (
2016-05-10 19:42:48 317
原创 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
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人