Created
January 25, 2020 03:39
-
-
Save jcheong0428/de18d4b8d164d91a1a5b15b540a48549 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
| %matplotlib inline | |
| %config InlineBackend.figure_format = 'retina' | |
| import pandas as pd, seaborn as sns | |
| sns.set_style('white') | |
| import matplotlib.pyplot as plt | |
| # Load data | |
| df = pd.read_csv('processed/video.csv') | |
| # Remove empty spaces in column names. | |
| df.columns = [col.replace(" ", "") for col in df.columns] | |
| # Print few values of data. | |
| print(f"Max number of frames {df.frame.max()}", f"\nTotal shape of dataframe {df.shape}") | |
| df.head() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment