{ "cells": [ { "cell_type": "code", "execution_count": 106, "metadata": { "id": "f-ERaM64ONeC" }, "outputs": [], "source": [ "# preprocess csv\n", "import pandas as pd\n", "filename = '/content/U3_Metadaten.csv'\n", "df = pd.read_csv(filename, on_bad_lines='skip')" ] }, { "cell_type": "code", "execution_count": 118, "metadata": { "colab": { "base_uri": "https://localhost:8080/", "height": 424 }, "id": "AYxRURTvQiFb", "outputId": "18bf4139-47ac-4939-e635-9f09f560200c" }, "outputs": [ { "data": { "application/vnd.google.colaboratory.intrinsic+json": { "summary": "{\n \"name\": \"clean_df\",\n \"rows\": 158,\n \"fields\": [\n {\n \"column\": \"Name\",\n \"properties\": {\n \"dtype\": \"string\",\n \"num_unique_values\": 158,\n \"samples\": [\n \"ISB-020-U3-W-R-01-B17012-028-000\",\n \"ISB-020-U3-W-L-01-B15100-018-000\",\n \"ISB-020-U3-W-R-01-B17012-034-000\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Beschreibung\",\n \"properties\": {\n \"dtype\": \"category\",\n \"num_unique_values\": 40,\n \"samples\": [\n \"Foto\",\n \"Bodenheizung / Ventileinstellung / FBH AB PM\",\n \"Foto - Novocon S demontiert und Stellenantriebe montiert!\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n },\n {\n \"column\": \"Disziplin\",\n \"properties\": {\n \"dtype\": \"category\",\n \"num_unique_values\": 6,\n \"samples\": [\n \"D - Datennetz\",\n \"E - Elektroanlagen\",\n \"S - Sanitaer\"\n ],\n \"semantic_type\": \"\",\n \"description\": \"\"\n }\n }\n ]\n}", "type": "dataframe", "variable_name": "clean_df" }, "text/html": [ "\n", "
\n", " | Name | \n", "Beschreibung | \n", "Disziplin | \n", "
---|---|---|---|
0 | \n", "ISB-020-U3-W-D-01-B07005-001-000 | \n", "Bauarten und Stuecknachweis SGK | \n", "D - Datennetz | \n", "
1 | \n", "ISB-020-U3-W-D-01-B07005-002-000 | \n", "Bauarten und Stuecknachweis SGK | \n", "D - Datennetz | \n", "
2 | \n", "ISB-020-U3-W-D-01-B07005-003-000 | \n", "Pruefprotokoll nach DIN EN 61439-1/3 | \n", "D - Datennetz | \n", "
3 | \n", "ISB-020-U3-W-D-01-B07005-004-000 | \n", "Pruefprotokoll nach DIN EN 61439-1/3 | \n", "D - Datennetz | \n", "
4 | \n", "ISB-020-U3-W-D-01-B18012-001-000 | \n", "Sicherungslegende G-020 U3 779-AS 1 | \n", "D - Datennetz | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "
153 | \n", "ISB-020-U3-W-S-01-B17012-008-000 | \n", "Foto | \n", "S - Sanitaer | \n", "
159 | \n", "ISB-020-U3-W-S-01-B17012-010-000 | \n", "Foto | \n", "S - Sanitaer | \n", "
160 | \n", "ISB-020-U3-W-S-01-B17012-011-000 | \n", "Foto | \n", "S - Sanitaer | \n", "
161 | \n", "ISB-020-U3-W-S-01-B18003-001-020 | \n", "Schieber / Hawle / Schieber 4000 + Handrad 780... | \n", "S - Sanitaer | \n", "
162 | \n", "ISB-020-U3-W-S-01-B19009-001-020 | \n", "Schieber / Hawle / 4000 Schutzraum | \n", "S - Sanitaer | \n", "
158 rows × 3 columns
\n", "