一些py小技巧

记忆力不太好啊,老是忘记,只能记一下了

排序

带索引排序

1
index = np.argsort(list)
  • Copyright: Copyright is owned by the author. For commercial reprints, please contact the author for authorization. For non-commercial reprints, please indicate the source.

扫一扫,分享到微信

微信分享二维码
  • Copyrights © 2015-2022 0375w