parquet-converter
commited on
Commit
·
ef7f646
1
Parent(s):
64a374c
Update parquet files
Browse files- train.csv.gz → Bingsu--national_library_of_korea_book_info/csv-train-00000-of-00005.parquet +2 -2
- Bingsu--national_library_of_korea_book_info/csv-train-00001-of-00005.parquet +3 -0
- Bingsu--national_library_of_korea_book_info/csv-train-00002-of-00005.parquet +3 -0
- Bingsu--national_library_of_korea_book_info/csv-train-00003-of-00005.parquet +3 -0
- Bingsu--national_library_of_korea_book_info/csv-train-00004-of-00005.parquet +3 -0
- README.md +0 -139
train.csv.gz → Bingsu--national_library_of_korea_book_info/csv-train-00000-of-00005.parquet
RENAMED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:096c755b7d28c09123263972ba751913567ff3a35cd93a1ef370962a8a250062
|
3 |
+
size 255187349
|
Bingsu--national_library_of_korea_book_info/csv-train-00001-of-00005.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8f699c6cd8c21f1eb9e5e5f9be7b19fb37136767d45cf49b32e7e723cbfbfcb2
|
3 |
+
size 257397688
|
Bingsu--national_library_of_korea_book_info/csv-train-00002-of-00005.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5c28b88cdf9c53243788e9b1fe973b57053682e668d42009e73ed5dc34136065
|
3 |
+
size 257723442
|
Bingsu--national_library_of_korea_book_info/csv-train-00003-of-00005.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:562ed1700f8cacbfa539db316da4488381c67d5091c67562f9ba116ef99d8302
|
3 |
+
size 254235608
|
Bingsu--national_library_of_korea_book_info/csv-train-00004-of-00005.parquet
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fa19145749893fdfdda5aefd65bb1b601d56724bd42110bb7ede19d2d20b03f4
|
3 |
+
size 240625455
|
README.md
DELETED
@@ -1,139 +0,0 @@
|
|
1 |
-
---
|
2 |
-
language:
|
3 |
-
- ko
|
4 |
-
license:
|
5 |
-
- other
|
6 |
-
multilinguality:
|
7 |
-
- monolingual
|
8 |
-
pretty_name: national_library_of_korea_book_info
|
9 |
-
size_categories:
|
10 |
-
- 1M<n<10M
|
11 |
-
---
|
12 |
-
# national_library_of_korea_book_info
|
13 |
-
|
14 |
-
## Dataset Description
|
15 |
-
- **Homepage** [문화 빅데이터 플랫폼](https://www.culture.go.kr/bigdata/user/data_market/detail.do?id=63513d7b-9b87-4ec1-a398-0a18ecc45411)
|
16 |
-
- **Download Size** 759 MB
|
17 |
-
- **Generated Size** 2.33 GB
|
18 |
-
- **Total Size** 3.09 GB
|
19 |
-
|
20 |
-
국립중앙도서관에서 배포한, 국립중앙도서관에서 보관중인 도서 정보에 관한 데이터.
|
21 |
-
|
22 |
-
### License
|
23 |
-
|
24 |
-
other ([KOGL](https://www.kogl.or.kr/info/license.do#05-tab) (Korea Open Government License) Type-1)
|
25 |
-
|
26 |
-
![KOGL_image](https://www.kogl.or.kr/images/front/sub/img_opencode1_m_en.jpg)
|
27 |
-
|
28 |
-
- According to above KOGL, user can use public works freely and without fee regardless of its commercial use, and can change or modify to create secondary works when user complies with the terms provided as follows:
|
29 |
-
|
30 |
-
<details>
|
31 |
-
<summary>KOGL Type 1</summary>
|
32 |
-
|
33 |
-
1. Source Indication Liability
|
34 |
-
|
35 |
-
- Users who use public works shall indicate source or copyright as follows:
|
36 |
-
- EX : “000(public institution's name)'s public work is used according to KOGL”
|
37 |
-
- The link shall be provided when online hyperlink for the source website is available.
|
38 |
-
- Marking shall not be used to misguide the third party that the user is sponsored by public institution or user has a special relationship with public institutions.
|
39 |
-
|
40 |
-
2. Use Prohibited Information
|
41 |
-
|
42 |
-
- Personal information that is protected by Personal Information Protection Act, Promotion for Information Network Use and Information Protection Act, etc.
|
43 |
-
- Credit information protected by the Use and Protection of Credit Information Act, etc.
|
44 |
-
- Military secrets protected by Military Secret Protection Act, etc.
|
45 |
-
- Information that is the object of other rights such as trademark right, design right, design right or patent right, etc., or that is owned by third party's copyright.
|
46 |
-
- Other information that is use prohibited information according to other laws.
|
47 |
-
|
48 |
-
3. Public Institution's Liability Exemption
|
49 |
-
|
50 |
-
- Public institution does not guarantee the accuracy or continued service of public works.
|
51 |
-
- Public institution and its employees do not have any liability for any kind of damage or disadvantage that may arise by using public works.
|
52 |
-
|
53 |
-
4. Effect of Use Term Violation
|
54 |
-
|
55 |
-
- The use permission is automatically terminated when user violates any of the KOGL's Use Terms, and the user shall immediately stop using public works.
|
56 |
-
|
57 |
-
</details>
|
58 |
-
|
59 |
-
## Data Structure
|
60 |
-
|
61 |
-
### Data Instance
|
62 |
-
|
63 |
-
```python
|
64 |
-
>>> from datasets import load_dataset
|
65 |
-
>>>
|
66 |
-
>>> ds = load_dataset("Bingsu/national_library_of_korea_book_info", split="train")
|
67 |
-
>>> ds
|
68 |
-
Dataset({
|
69 |
-
features: ['isbn13', 'vol', 'title', 'author', 'publisher', 'price', 'img_url', 'description'],
|
70 |
-
num_rows: 7919278
|
71 |
-
})
|
72 |
-
```
|
73 |
-
|
74 |
-
```python
|
75 |
-
>>> ds.features
|
76 |
-
{'isbn13': Value(dtype='string', id=None),
|
77 |
-
'vol': Value(dtype='string', id=None),
|
78 |
-
'title': Value(dtype='string', id=None),
|
79 |
-
'author': Value(dtype='string', id=None),
|
80 |
-
'publisher': Value(dtype='string', id=None),
|
81 |
-
'price': Value(dtype='string', id=None),
|
82 |
-
'img_url': Value(dtype='string', id=None),
|
83 |
-
'description': Value(dtype='string', id=None)}
|
84 |
-
```
|
85 |
-
|
86 |
-
or
|
87 |
-
|
88 |
-
```python
|
89 |
-
>>> import pandas as pd
|
90 |
-
>>>
|
91 |
-
>>> url = "https://huggingface.co/datasets/Bingsu/national_library_of_korea_book_info/resolve/main/train.csv.gz"
|
92 |
-
>>> df = pd.read_csv(url, low_memory=False)
|
93 |
-
```
|
94 |
-
|
95 |
-
```python
|
96 |
-
>>> df.info()
|
97 |
-
<class 'pandas.core.frame.DataFrame'>
|
98 |
-
RangeIndex: 7919278 entries, 0 to 7919277
|
99 |
-
Data columns (total 8 columns):
|
100 |
-
# Column Dtype
|
101 |
-
--- ------ -----
|
102 |
-
0 isbn13 object
|
103 |
-
1 vol object
|
104 |
-
2 title object
|
105 |
-
3 author object
|
106 |
-
4 publisher object
|
107 |
-
5 price object
|
108 |
-
6 img_url object
|
109 |
-
7 description object
|
110 |
-
dtypes: object(8)
|
111 |
-
memory usage: 483.4+ MB
|
112 |
-
```
|
113 |
-
|
114 |
-
### Null data
|
115 |
-
|
116 |
-
```python
|
117 |
-
>>> df.isnull().sum()
|
118 |
-
isbn13 3277
|
119 |
-
vol 5933882
|
120 |
-
title 19662
|
121 |
-
author 122998
|
122 |
-
publisher 1007553
|
123 |
-
price 3096535
|
124 |
-
img_url 3182882
|
125 |
-
description 4496194
|
126 |
-
dtype: int64
|
127 |
-
```
|
128 |
-
|
129 |
-
### Note
|
130 |
-
|
131 |
-
```python
|
132 |
-
>>> df[df["description"].str.contains("[해외주문원서]", regex=False) == True].head()["description"]
|
133 |
-
10773 [해외주문원서] 고객님의 요청으로 수입 주문하는 도서이므로, 주문취소 및 반품이 불...
|
134 |
-
95542 [해외주문원서] 고객님의 요청으로 수입 주문하는 도서이므로, 주문취소 및 반품이 불...
|
135 |
-
95543 [해외주문원서] 고객님의 요청으로 수입 주문하는 도서이므로, 주문취소 및 반품이 불...
|
136 |
-
96606 [해외주문원서] 고객님의 요청으로 수입 주문하는 도서이므로, 주문취소 및 반품이 불...
|
137 |
-
96678 [해외주문원서] 고객님의 요청으로 수입 주문하는 도서이므로, 주문취소 및 반품이 불...
|
138 |
-
Name: description, dtype: object
|
139 |
-
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|