Skip to content

Analyzing unicorn company data

In this workspace, we'll be exploring the relationship between total funding a company receives and its valuation.

Spinner
DataFrameas
df
variable
-- Explore the data in the table
SELECT *
FROM employees
LIMIT 5
df.head()
df.info()
df.isnull().sum()
import pandas as pd
df["Full_name"] = (df["first_name"] +" " +df["last_name"])
df
df['Bith_year'] = pd.to_datetime(df['birth_date']).dt.year
df['Birth_month'] = pd.to_datetime(df['birth_date']).dt.month
df['Birth_Day'] = pd.to_datetime(df['birth_date']).dt.day
df.drop('year',axis=1)
df.groupby(['Bith_year','gender'])['gender'].count()
df.shape
Open the video in a new tab