Update tools/accommodations/apis.py
Browse files
tools/accommodations/apis.py
CHANGED
|
@@ -5,7 +5,7 @@ from annotation.src.utils import extract_before_parenthesis
|
|
| 5 |
|
| 6 |
|
| 7 |
class Accommodations:
|
| 8 |
-
def __init__(self, path="
|
| 9 |
self.path = path
|
| 10 |
self.data = pd.read_csv(self.path).dropna()[['NAME','price','room type', 'house_rules', 'minimum nights', 'maximum occupancy', 'review rate number', 'city']]
|
| 11 |
print("Accommodations loaded.")
|
|
|
|
| 5 |
|
| 6 |
|
| 7 |
class Accommodations:
|
| 8 |
+
def __init__(self, path="/home/user/app/database/accommodations/clean_accommodations_2022.csv"):
|
| 9 |
self.path = path
|
| 10 |
self.data = pd.read_csv(self.path).dropna()[['NAME','price','room type', 'house_rules', 'minimum nights', 'maximum occupancy', 'review rate number', 'city']]
|
| 11 |
print("Accommodations loaded.")
|