python报错FutureWarning: Indexing with multiple keys (implicitly converted to a tuple of keys)

Python sometimes reports errors such as the title when using the groupby function.
At this time, you need to change the filtering operation [col1,col2] to [[col1,col2]], and place the filtering process after the operation process.

Guess you like

Origin blog.csdn.net/DwenKing/article/details/109154051