#NEWLINE# @ orca . column ( 'households' ) #NEWLINE# def home_is_urban( households , land_use , settings ) : #NEWLINE# #INDENT# s = reindex ( s . area_type , households . home_taz ) #NEWLINE# return ( s < settings [ 'urban_threshold' ] )