📌  相关文章
📜  从 DATFRAME WGICH 中删除所有行数据早于 3 个月 PANDAS - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:26.846000             🧑  作者: Mango

代码示例1
from datetime import date
from dateutil.relativedelta import relativedelta

#http://stackoverflow.com/questions/546321/how-do-i-calculate-the-date-six-months-from-the-current-date-using-the-datetime
six_months = date.today() - relativedelta( months = +6 )