Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -11,4 +11,34 @@ source_datasets:
|
|
11 |
---
|
12 |
|
13 |
## Dataset Description
|
14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
---
|
12 |
|
13 |
## Dataset Description
|
14 |
+
Subtitle dari 110 episode anime boruto dengan terjemahan indoneisa pilihan yang terbaik
|
15 |
+
|
16 |
+
## How to use
|
17 |
+
1. Instal library datasets dari Hugging Face menggunakan perintah berikut:
|
18 |
+
```python
|
19 |
+
pip install datasets
|
20 |
+
```
|
21 |
+
2. Muat dataset dengan menggunakan kode berikut:
|
22 |
+
```python
|
23 |
+
from datasets import load_dataset
|
24 |
+
|
25 |
+
dataset = load_dataset("mabzak/anime_subtitle")
|
26 |
+
```
|
27 |
+
3. Contoh menampilkan tabel
|
28 |
+
```python
|
29 |
+
from prettytable import PrettyTable
|
30 |
+
|
31 |
+
train_data = dataset['train']
|
32 |
+
|
33 |
+
# Ambil contoh data dari train_data
|
34 |
+
example_data = train_data[0]
|
35 |
+
|
36 |
+
# Inisialisasi tabel
|
37 |
+
table = PrettyTable(example_data.keys())
|
38 |
+
|
39 |
+
# Tambahkan data ke tabel
|
40 |
+
table.add_row(example_data.values())
|
41 |
+
|
42 |
+
# Tampilkan tabel
|
43 |
+
print(table)
|
44 |
+
```
|