## How to encode Days of a week in Python
def Kickstarter_Example_44():
print()
print(format('How to encode Days of a week in Python',
'*^82'))
import warnings
warnings.filterwarnings("ignore")
# Load library
import pandas as pd
# Create dates
dates = pd.Series(pd.date_range('11/9/2018', periods=3, freq='M'))
# View data
print()
print(dates)
# Show days of the week
print()
print(dates.dt.weekday_name)
Kickstarter_Example_44()