Date Manipulation with Pandas
Here's the task.
You need to generate dates between two ranges, extract the year, extract the month and extract the quarter number.
import pandas as pd
start = '1/1/2018'
end = '31/12/2020'
df = pd.DataFrame(columns=['Year', 'Month', 'Quarter']
Le...
monojit13.hashnode.dev1 min read