Skip to content

Commit

Permalink
Revert "Add more column name permutations"
Browse files Browse the repository at this point in the history
This reverts commit 52b7e0e.
  • Loading branch information
perfectly-preserved-pie committed Nov 19, 2024
1 parent 52b7e0e commit 1797947
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lease_dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,23 +52,19 @@
# https://stackoverflow.com/a/65332240
# Define a renaming dictionary based on patterns
rename_dict = {
'address': 'street_name',
'agent': 'phone_number',
'allowed': 'pet_policy',
'baths': 'bathrooms',
'bedrooms': 'bedrooms',
'br': 'bedrooms',
'city': 'city',
'furnished': 'furnished',
'key': 'key_deposit',
'laundry': 'laundry',
'list': 'list_price',
'lot': 'lot_size',
'lp': 'list_price',
'mls': 'mls_number',
'other': 'other_deposit',
'pet deposit': 'pet_deposit',
'pets': 'pet_policy',
'prking': 'parking_spaces',
'security': 'security_deposit',
'sqft': 'sqft',
Expand All @@ -77,7 +73,6 @@
'st name': 'street_name',
'sub': 'subtype',
'terms': 'terms',
'yb': 'year_built',
'yr': 'year_built',
'zip': 'zip_code',
}
Expand Down

0 comments on commit 1797947

Please sign in to comment.