lambda表达式,在python2中的表达式和python3不同,原来只要:
map(lambda x: x ** 2, [1, 2, 3, 4, 5]) 原来python2
[1, 4, 9, 16, 25]
list(map(lambda x: x ** 2, [1, 2, 3, 4, 5])) 现在python3
[1, 4, 9, 16, 25]
https://www.cnblogs.com/guochaoxxl/p/11919526.html分层抽样代码: https://www.coder.work/article/3206268
np.spilt问题:https://zhuanlan.zhihu.com/p/50935978