image_output_1.png
import pandas as pd

df360 = pd.read_csv('/kaggle/input/360-real-estate-company/360 real estate company.csv')

rf = pd.Series([108, 70, 17])
rf.sum()

rfp = pd.Series([108, 70, 17], index=['Male', 'Female', 'Firm'])
rfp / 195 * 100

overseas = pd.Series([72, 7, 4, 2, 2, 1, 1, 1], index=('abroad', 'Canada', 'russia', 'uk', 'belgium', 'denmark', 'germany', 'mexico'))

states = pd.Series([119, 86, 17, 11, 11, 11, 6, 4, 1, 1], index=('california', 'abroad', 'nevada', 'arizona', 'oregon', 'colorado', 'utah', 'virginia', 'kansas', 'wyoming'))
states.sum()

states = pd.Series([119, 86, 17, 11, 11, 11, 6, 4, 1, 1], index=('california', 'abroad', 'nevada', 'arizona', 'oregon', 'colorado', 'utah', 'virginia', 'kansas', 'wyoming'))
state_rf = states / 267 * 100

state_rf