zach14c

Untitled

Nov 27th, 2018
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. # 選擇擁有浴室的房源 [1]
  2. no_baths = su[~(su['propertyinfo_value'].str.contains('ba'))]
  3.  
  4. # 再排除那些缺失了浴室信息的房源
  5. sucln = su[~su.index.isin(no_baths.index)]
Advertisement
Add Comment
Please, Sign In to add comment