Skip to content

Instantly share code, notes, and snippets.

@jcheong0428
Created January 25, 2020 03:39
Show Gist options
  • Select an option

  • Save jcheong0428/de18d4b8d164d91a1a5b15b540a48549 to your computer and use it in GitHub Desktop.

Select an option

Save jcheong0428/de18d4b8d164d91a1a5b15b540a48549 to your computer and use it in GitHub Desktop.
%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