'Using date range in pandas for dekad

How can I use the pandas date range function to have a frequency of a dekad. A dekad is a 10 day period, and each month has 3 dekads, (from 1st - 10th, 11th - 20th, 212t - 30th).

pd.date_range(start_date, end_date, freq='D')


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source