Answers for "pandas name of day"

0

pandas name of day

idx = pd.date_range(start='2018-01-01', freq='D', periods=3)
idx.day_name()

>> Index(['Monday', 'Tuesday', 'Wednesday'], dtype='object')
Posted by: Guest on August-07-2021

Python Answers by Framework

Browse Popular Code Answers by Language