image_output_1.png
import matplotlib.pyplot as plt

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

data = pd.read_csv('/kaggle/input/aus-real-estate-sales-march-2019-to-april-2020/aus-property-sales-sep2018-april2020.csv')

data.dtypes

data_city_price = data[['city_name', 'price', 'property_type']]

import matplotlib.pyplot as plt
per = data_city_price.isnull().sum() / data.shape[0] * 100
per.plot.barh()

sydney = data[data['city_name'] == 'Sydney'][['date_sold', 'price', 'property_type']]
sydney.shape

sydney = sydney.dropna()
sydney.shape

sydney.sort_values('date_sold')