使用python自动化excel中的手动分组过程

使用python自动化excel中的手动分组过程,excel,python-3.x,csv,Excel,Python 3.x,Csv,如何使用python在excel/csv中自动执行手动筛选和分组过程 下面是我掌握的数据 目前,我正在手动筛选它,并对其进行相应的分组。我可以使用python自动化这个过程吗 以下是预期结果 你能分享我的教程链接吗你能分享我的教程链接吗 My monthly details NEFT paid 100 for recharge RTGS paid 1000 for recharge Reversal Neft 100 as the provided number was wrong NEFT

如何使用python在excel/csv中自动执行手动筛选和分组过程

下面是我掌握的数据

目前,我正在手动筛选它,并对其进行相应的分组。我可以使用python自动化这个过程吗

以下是预期结果


你能分享我的教程链接吗你能分享我的教程链接吗
My monthly details
NEFT paid 100 for recharge
RTGS paid 1000 for recharge
Reversal Neft 100 as the provided number was wrong 
NEFT paid 10000 for food and drinks
RTGS received 1000000 for a personal loan
salary received 30000
0000123/merchant payment
My monthly details    Remarks
NEFT paid 100 for recharge    Neft
RTGS paid 1000 for recharge   RTGS
Reversal Neft 100 as the provided number was wrong    Reversal
NEFT paid 10000 for food and drinks   NEFT
RTGS received 1000000 for a personal loan RTGS
salary received 30000 SALARY
0000123/merchant payment  fund transfer