top of page
learn_data_science.jpg

Data Scientist Program

 

Free Online Data Science Training for Complete Beginners.
 


No prior coding knowledge required!

Writer's picture074bex435.ranjan

Visualizing The office dataset

The office is a British mockumentary series consisting 9 seasons with 201 episodes. Here we visualize the information obtained from the dataset downloaded from Kaggle.

At first we imported the necessary library.

import pandas as pd
import matplotlib.pyplot as plt

Then we imported the csv into dataframe.


office_df = pd.read_csv('datasets/office_episodes.csv')

We just viewed the columns in the dataframe.