我可以知道我下面的代码有什么问题吗?我想查询 date_occ 在 '2015-01-10T12:00:00' 和 '2015-12-31T24:00:00' 之间的所有位置
response = requests.get('https://data.lacity.org/api/id/7fvc-faax.json?$select=*&$where = date_occ between 2015-01-10T12:00:00 and 2015-12-131T24:00:00')
我收到以下错误:无法识别的参数 [$where]
我意识到以下也不起作用
response = requests.get('https://data.lacity.org/api/id/7fvc-faax.json?$select=*&vict_age >20')
data = response.json()
data = json_normalize(data)
data = pd.DataFrame(data)
但这有效:
response = requests.get('https://data.lacity.org/api/id/7fvc-faax.json?$select=*&vict_sex=M')
我在这里想念什么?