| from tools.accommodations.apis import Hotels | |
| import pandas as pd | |
| # 设置显示所有列 | |
| pd.set_option('display.max_columns', 100) | |
| # 设置显示所有行 | |
| pd.set_option('display.max_rows', 100) | |
| hotel = Hotels('/home/xj/toolAugEnv/code/toolConstraint/database/hotels/clean_hotels_2022.csv') | |
| data = hotel.run('New York') | |
| print(data) |