import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns
import datetime
df = pd.read_excel("Baltimore Towing Division.xlsx",sheet_name="TowingData")
df['Month'] = pd.DatetimeIndex(df['TowedDate']).strftime("%b")
df['Week day'] = pd.DatetimeIndex(df['TowedDate']).strftime("%a")
monthOrder = ['Jan', 'Feb', 'Mar', 'Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
dayOrder = ['Mon','Tue','Wed','Thu','Fri','Sat','Sun']
Pivotdf = pd.pivot_table(df, index=['Month'],
values=['TowedDate'],
columns=['Week day'],
fill_value=0,
aggfunc='count').reindex(monthOrder,axis=0).reindex(dayOrder,axis=1)
print(df)
I use the .reindex function at the end of the pivot table for reindex the Months and the columns 'Week day', it returns a NaN in the results.
Using .reindex in axis=1

Not doing the .reindex at the column of the days the Pivot table brings me the results, but with the days of the week disorganized. I need them to appear in the table in order like this: Mon, Tue, Wed, Thu, Fri, Sat, Sun
Whitout using .reindex in axis=1

