code: def cash_table(self):
          '现金的table'
          _cash = pd.DataFrame(
              data=[self.cash[1::],
                    self.time_index_max],
              index=['cash',
                     'datetime']
          ).T
          _cash = _cash.assign(
              date=_cash.datetime.apply(lambda x: pd.to_datetime(str(x)[0:10]))
          ).assign(account_cookie=self.account_cookie)                          # .sort_values('datetime')
          return _cash.set_index(['datetime', 'account_cookie'], drop=False)
          
docs: 现金的table