|
--- |
|
language: |
|
- id |
|
- en |
|
size_categories: |
|
- 10K<n<100K |
|
license: |
|
- unknown |
|
source_datasets: |
|
- subscene |
|
task_categories: |
|
- translation |
|
--- |
|
|
|
## Dataset Description |
|
Subtitle dari 110 episode anime boruto dengan subtitle indoneisa pilihan yang terbaik |
|
|
|
## How to use |
|
1. Instal library datasets dari Hugging Face menggunakan perintah berikut: |
|
```python |
|
pip install datasets |
|
``` |
|
2. Muat dataset dengan menggunakan kode berikut: |
|
```python |
|
from datasets import load_dataset |
|
|
|
dataset = load_dataset("mabzak/anime_subtitle") |
|
``` |
|
3. Contoh menampilkan tabel |
|
```python |
|
from prettytable import PrettyTable |
|
|
|
train_data = dataset['train'] |
|
|
|
# Ambil contoh data dari train_data |
|
example_data = train_data[0] |
|
|
|
# Inisialisasi tabel |
|
table = PrettyTable(example_data.keys()) |
|
|
|
# Tambahkan data ke tabel |
|
table.add_row(example_data.values()) |
|
|
|
# Tampilkan tabel |
|
print(table) |
|
``` |