Last active
February 18, 2021 13:06
-
-
Save GurjotSinghMahi/527f0be5f87b840960dbf80c5f114664 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# Select the dataframe greater than mentioned date | |
start_date = '2020-12-04' | |
df['Date'] = (df['Date']).astype('datetime64[D]') | |
#select only particular date data | |
df = df.loc[((df['Date'] >= start_date))] | |
# Prin the dataframe | |
print(tabulate(df[['SubmissionDate', 'user_id', 'gadget']], headers = 'keys', tablefmt = 'psql')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment