result = result.T.sort(['confidence','support'], ascending = False)报以下错误:
AttributeError: 'DataFrame' object has no attribute 'sort'
解决方式:
sort_values()即可解决
result = result.T.sort(['confidence','support'], ascending = False)报以下错误:
AttributeError: 'DataFrame' object has no attribute 'sort'
解决方式:
sort_values()即可解决