일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- token filter test
- flask
- 900gle
- docker
- zip 암호화
- MySQL
- zip 파일 암호화
- springboot
- aggs
- query
- high level client
- Test
- TensorFlow
- API
- ELASTIC
- licence delete curl
- aggregation
- Elasticsearch
- analyzer test
- Mac
- plugin
- 차트
- Python
- License
- Kafka
- 파이썬
- license delete
- matplotlib
- sort
- Java
Archives
- Today
- Total
목록JSON (1)
개발잡부
[python] test dataset (json) 파일 만들기
데이터 셋으로 활용할 test 데이터를 만들어 보자 원천데이터는 900gle shopping 의 데이터를 활용. create_dataset.py # -*- coding: utf-8 -*- import json from elasticsearch import Elasticsearch def create(): script_query = { "match_all": {} } response = client.search( index=INDEX_NAME, body={ "size": SEARCH_SIZE, "query": script_query, "_source": ["name"] } ) es_data = [] for hit in response["hits"]["hits"]: row = dict(name=str(hi..
Python
2022. 6. 26. 10:41