What [k] is in python sorting with lambda function?

前端 未结 0 894
执念已碎
执念已碎 2021-01-26 02:02

I have this line of code:

sorting_permutation = sorted(range(len(prediction_test[0:m_test])), key=lambda k: prediction_test[0:m_test][k])

I don\'

相关标签:
回答
  • 消灭零回复
提交回复
热议问题