You are viewing a single comment's thread from:
RE: Payment for Coding done
Convert the flight data to a pandas DataFrame
df = pd.DataFrame(flight_data)
Feature engineering: Extract day and month from the date
df['day'] = pd.to_datetime(df['date']).dt.day
df['month'] = pd.to_datetime(df['date']).dt.month