|
--- |
|
language: |
|
- ja |
|
pretty_name: Shokujinjp |
|
size_categories: |
|
- n<1K |
|
--- |
|
|
|
# Shokujinjp Menu |
|
食神餃子王 ([@Shokujinjp](https://x.com/shokujinjp?s=20))のメニューデータです。 |
|
|
|
## Usage |
|
```python |
|
import pandas as pd |
|
from datasets import load_dataset |
|
|
|
# Hugging Face Datasets 形式で読み込み |
|
data = load_dataset( |
|
"Prgckwb/shokujin-menu", |
|
split="train" |
|
) |
|
print(data[0]) |
|
# { |
|
# 'id': 1, |
|
# 'name': '麻婆豆腐', |
|
# 'price': 650, |
|
# 'category': '定食', |
|
# 'day_start': None, |
|
# 'day_end': None, |
|
# 'can_weekday': None, |
|
# 'description': '1番' |
|
# } |
|
|
|
# DataFrame 形式で読み込み |
|
df = pd.read_csv( |
|
"https://huggingface.co/datasets/Prgckwb/shokujin-menu/raw/main/shokujin.csv" |
|
) |
|
print(df.head()) |
|
``` |
|
|
|
## Reference |
|
データは以下のリポジトリから取得しました。 |
|
https://github.com/shokujinjp/data |