Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -51,7 +51,7 @@ In v4, the names of some columns that were originally in Korean were changed to
|
|
| 51 |
|
| 52 |
<pre markdown="2">
|
| 53 |
from datasets import load_dataset
|
| 54 |
-
|
| 55 |
"csv",
|
| 56 |
data_files={
|
| 57 |
"train": "hf://datasets/AKS-DHLAB/KPoEM/KPoEM_poem_dataset_v4.tsv"},
|
|
@@ -59,7 +59,7 @@ In v4, the names of some columns that were originally in Korean were changed to
|
|
| 59 |
encoding="utf-8",
|
| 60 |
quoting=3,
|
| 61 |
)
|
| 62 |
-
df =
|
| 63 |
df.head()
|
| 64 |
</pre>
|
| 65 |
|
|
|
|
| 51 |
|
| 52 |
<pre markdown="2">
|
| 53 |
from datasets import load_dataset
|
| 54 |
+
df_poem = load_dataset(
|
| 55 |
"csv",
|
| 56 |
data_files={
|
| 57 |
"train": "hf://datasets/AKS-DHLAB/KPoEM/KPoEM_poem_dataset_v4.tsv"},
|
|
|
|
| 59 |
encoding="utf-8",
|
| 60 |
quoting=3,
|
| 61 |
)
|
| 62 |
+
df = df_poem["train"].to_pandas()
|
| 63 |
df.head()
|
| 64 |
</pre>
|
| 65 |
|