Removes first 3 lines
Removes leading spaces in every header
Replaces the following headers:
交易日期 → date
支出 → outflow
收入 → inflow
对方户名 → payee
交易地点 → notes
Combines the outflow and inflow columns into 1 column, called amount
Removes "支付宝-" or "财付通-" from both payee and notes columns and adds them to a new tags column
If payee is missing text, fill in with text from notes
If both payee and notes are missing text and 摘要 column is 利息存入, then fill payee as "中国建设银行股份有限公司上海分行运行中心" and notes as "利息存入"
If text in payee and notes are the same, remove text in notes
If notes is empty, then replace notes with "ATM存款" (only after notes is copied to payee)
If 摘要 is not "消费" and 摘要 does not equal notes, then append 摘要 text to front of existing notes (after removing tags)
Removes any empty rows that do not include a date
Returns the following columns: date, payee, notes, amount, tags