How to get the last date of the current week or quarter in python?
How to get the last date of the current week or quarter in python? Question: I would like to find a simple way to get the last date of the current week or quarter. To get the last date of the current month I can use the relativdelta function from dateutil: import pandas as pd …