Last active
May 26, 2021 10:20
-
-
Save max-torch/5ac776c374ef9290aadf1d00866f0f56 to your computer and use it in GitHub Desktop.
bssoupblog3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
#Create dataframe from columns | |
Dict = {"Date": wht_date, "Items": wht_items, "Type": wht_type, "Total": wht_total} | |
df = pd.DataFrame.from_dict(Dict) | |
df.Date = pd.to_datetime(df.Date, infer_datetime_format=True) | |
df_no_refund = df[:-2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment