File size: 333 Bytes
9be4956
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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)