check_size.ipynb 1.05 KB
Newer Older
kihoon.lee's avatar
upload  
kihoon.lee committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "QR_v1.4 데이터 개수: 9573개\n"
     ]
    }
   ],
   "source": [
    "import json\n",
    "\n",
kihoon.lee's avatar
update;    
kihoon.lee committed
19
    "file_path = 'QR_v1.5.2.json'\n",
kihoon.lee's avatar
upload  
kihoon.lee committed
20
21
22
23
    "\n",
    "with open(file_path, 'r', encoding='utf-8') as file:\n",
    "    data = json.load(file)\n",
    "\n",
kihoon.lee's avatar
update;    
kihoon.lee committed
24
    "print(f\"{file_path.split('.json')[0]} 데이터 개수: {len(data)}개\")"
kihoon.lee's avatar
upload  
kihoon.lee committed
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.10.0"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}