-
-
Save azisaka/7a2c28cc85f418515a3a3311143372e9 to your computer and use it in GitHub Desktop.
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
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) |
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 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