# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 2
#     language: python
#     name: python2
# ---

import pandas as pd
import numpy as np
df_prop=pd.read_csv("/home/yash/Downloads/dataset/Affline_Dataset/Property dataset/Properties.csv")
df_pta=pd.read_csv("/home/yash/Downloads/dataset/Affline_Dataset/training dataset/Accounts_properties.csv")


df_prop.head()

df_pta.head()

acquired_props=df_pta.id_props.unique()
df_pta.shape

acquired_props.shape

all_props=df_prop.id_props.unique()

all_props.shape

forSale=[x for x in all_props if x not in acquired_props]

len(forSale)

type(all_props)

forSale=np.setdiff1d(all_props,acquired_props)

forSale.shape



StarcoderdataJupyterScriptsDedupFiltered