jamescooper
Well-known Member
- Joined
- Sep 8, 2014
- Messages
- 887
import pandas as pd
import matplotlib.pyplot as plt
filtered_df = df[df['Hotel Name'] == 'Clayton Hotel']
today_format = datetime.strptime(datetime.today().strftime('%d/%m/%Y'), "%d/%m/%Y")
filtered_df = df[df['Date Captured'] == today_format]
df.plot(x="Check-In", y=["'Current price'"], kind="bar")
Any ideas what I am doing wrong here?
Many thanks.
import matplotlib.pyplot as plt
filtered_df = df[df['Hotel Name'] == 'Clayton Hotel']
today_format = datetime.strptime(datetime.today().strftime('%d/%m/%Y'), "%d/%m/%Y")
filtered_df = df[df['Date Captured'] == today_format]
df.plot(x="Check-In", y=["'Current price'"], kind="bar")
Any ideas what I am doing wrong here?
Many thanks.