文章浏览阅读1.1k次。1. 目的计算当天前某个工作日是哪一天,比如想看今天的前面第7个工作日是哪天。2. pandas.tseries.offsets.BusinessDayclass pandas.tseries.offsets.BusinessDay属性:baseReturns a copy of the calling offset object with n=1 and all other attrib......
文章浏览阅读270次。数据Table: Transactions+---------------+---------+| Column Name | Type |+---------------+---------+| id | int || country | varchar || state | enum || amount | int || trans_date | date |+-------_写一条sql 统计上......