Skip to content

Instantly share code, notes, and snippets.

@azisaka
Last active August 9, 2020 23:08
Show Gist options
  • Save azisaka/7a2c28cc85f418515a3a3311143372e9 to your computer and use it in GitHub Desktop.
Save azisaka/7a2c28cc85f418515a3a3311143372e9 to your computer and use it in GitHub Desktop.
from google.colab import drive
drive.mount('/content/drive')
import pandas as pd
df = pd.read_csv('/content/drive/My Drive/Data/file.csv')
df.head(10)
import matplotlib.pyplot as plt
import numpy as np
rows = df.shape[0] - df.DiversityImportant.isnull().sum()
series = df.DiversityImportant.value_counts()
(series).plot(kind="bar")
plt.title("Diversity is Important")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment