mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
17 lines
380 B
Python
17 lines
380 B
Python
import pandas as pd
|
|
|
|
|
|
# use Address 1
|
|
junte_df = pd.read_excel("hackney_uprn_failures.xlsx")
|
|
|
|
|
|
# use domna_address_1
|
|
khalim_df = pd.read_excel("khalim_standard.xlsx")
|
|
|
|
|
|
combined_df = junte_df.merge(khalim_df, how="left", left_on="Address 1", right_on='domna_address_1')
|
|
|
|
# Find the row in khalim_df that does not app
|
|
|
|
result = combined_df[~pd.isnull(combined_df["epc_os_uprn"])]
|
|
|