3hr-energy-data-structure/Ref Drawings.ipynb
2023-01-06 18:44:14 +09:00

210 lines
4 KiB
Text

{
"cells": [
{
"cell_type": "code",
"execution_count": 7,
"id": "4dd31296",
"metadata": {
"ExecuteTime": {
"end_time": "2023-01-06T03:01:07.155565Z",
"start_time": "2023-01-06T03:01:07.139655Z"
}
},
"outputs": [],
"source": [
"raw_list = ('''\\\n",
"K3H-SL-14050\n",
"K3H-SL-14040\n",
"K3H-SL-13050\n",
"K3H-SL-15100\n",
"K3H-SL-14130\n",
"K3H-SL-15080\n",
"K3H-SL-13070\n",
"K3H-SL-13040\n",
"K3H-SL-13070\n",
"K3H-SL-13060\n",
"K3H-SL-13080\n",
"K3H-SL-14070\n",
"K3H-SL-13040\n",
"K3H-SL-14070\n",
"K3H-SL-13020\n",
"K3H-SL-13050\n",
"K3H-SL-14010\n",
"K3H-SL-16010\n",
"K3H-SL-16020\n",
"K3H-SL-12010\n",
"K3H-SL-12060\n",
"K3H-SL-12070\n",
"K3H-SL-14060\n",
"K3H-SL-14020\n",
"K3H-SL-15040\n",
"K3H-SL-15010\n",
"K3H-SL-14060\n",
"K3H-SL-13050\n",
"K3H-SL-14040\n",
"K3H-SL-13030\n",
"K3H-SL-12020\n",
"'''.split())"
]
},
{
"cell_type": "code",
"execution_count": 8,
"id": "fb7095eb",
"metadata": {
"ExecuteTime": {
"end_time": "2023-01-06T03:01:07.293737Z",
"start_time": "2023-01-06T03:01:07.275742Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
"31"
]
},
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(raw_list)"
]
},
{
"cell_type": "code",
"execution_count": 9,
"id": "1466b16b",
"metadata": {
"ExecuteTime": {
"end_time": "2023-01-06T03:01:07.464028Z",
"start_time": "2023-01-06T03:01:07.459060Z"
}
},
"outputs": [],
"source": [
"raw_set = set(raw_list)"
]
},
{
"cell_type": "code",
"execution_count": 10,
"id": "ce0ddec0",
"metadata": {
"ExecuteTime": {
"end_time": "2023-01-06T03:01:10.085417Z",
"start_time": "2023-01-06T03:01:10.067464Z"
}
},
"outputs": [
{
"data": {
"text/plain": [
"24"
]
},
"execution_count": 10,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"len(raw_set)"
]
},
{
"cell_type": "code",
"execution_count": 12,
"id": "47a32444",
"metadata": {
"ExecuteTime": {
"end_time": "2023-01-06T03:01:44.057194Z",
"start_time": "2023-01-06T03:01:44.045217Z"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"K3H-SL-12010\n",
"K3H-SL-12020\n",
"K3H-SL-12060\n",
"K3H-SL-12070\n",
"K3H-SL-13020\n",
"K3H-SL-13030\n",
"K3H-SL-13040\n",
"K3H-SL-13050\n",
"K3H-SL-13060\n",
"K3H-SL-13070\n",
"K3H-SL-13080\n",
"K3H-SL-14010\n",
"K3H-SL-14020\n",
"K3H-SL-14040\n",
"K3H-SL-14050\n",
"K3H-SL-14060\n",
"K3H-SL-14070\n",
"K3H-SL-14130\n",
"K3H-SL-15010\n",
"K3H-SL-15040\n",
"K3H-SL-15080\n",
"K3H-SL-15100\n",
"K3H-SL-16010\n",
"K3H-SL-16020\n"
]
}
],
"source": [
"for dwg_no in sorted(raw_set):\n",
" print(dwg_no)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "e408d753",
"metadata": {},
"outputs": [],
"source": [
"'''\\\n",
"'''"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"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.9.12"
},
"toc": {
"base_numbering": 1,
"nav_menu": {},
"number_sections": true,
"sideBar": true,
"skip_h1_title": false,
"title_cell": "Table of Contents",
"title_sidebar": "Contents",
"toc_cell": false,
"toc_position": {},
"toc_section_display": true,
"toc_window_display": false
}
},
"nbformat": 4,
"nbformat_minor": 5
}