guolingbing's recent timeline updates
guolingbing

guolingbing

V2EX member #155738, joined on 2016-01-17 00:39:42 +08:00
Per guolingbing's settings, the topics list is hidden
Deals info, including closed deals, is not hidden
guolingbing's recent replies
May 24, 2017
Replied to a topic by guolingbing Python 求解答,还是 numpy 和 pandas
@amoia50 这个根本不会 work
May 24, 2017
Replied to a topic by guolingbing Python 求解答,还是 numpy 和 pandas
@zhusimaji 这个 work ,但是速度比较慢,还要解决 na 值
May 22, 2017
Replied to a topic by guolingbing Python 求解答,还是 numpy 和 pandas
谢谢各位,我已经找到方法了 233:
把数组 flat 以后,用 np.add.reduceat()方法
May 22, 2017
Replied to a topic by guolingbing Python 求解答,还是 numpy 和 pandas
@imn1 这样太慢了
May 22, 2017
Replied to a topic by guolingbing Python 问一个 numpy pandas 相关的问题
@khowarizmi 实际上 np.in1d 我用起来很快的,要比遍历快的多,我现在用答案上提供的 in2d 的方法,大概两个 50W 的向量几秒就完成了,我估计是 numpy 和 pandas 会自动 hash
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5380 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 14ms · UTC 01:14 · PVG 09:14 · LAX 18:14 · JFK 21:14
♥ Do have faith in what you're doing.