Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit cb392d8

Browse files
committed
feat: naming column in coverage df
1 parent 82eee16 commit cb392d8

File tree

1 file changed

+21
-19
lines changed

1 file changed

+21
-19
lines changed

notebooks/02-rapport_post_integration.ipynb

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"cells": [
33
{
44
"cell_type": "markdown",
5-
"id": "relevant-fighter",
5+
"id": "mental-deployment",
66
"metadata": {},
77
"source": [
88
"# Automated Post-integration Report - Signaux Faibles\n",
@@ -12,7 +12,7 @@
1212
{
1313
"cell_type": "code",
1414
"execution_count": null,
15-
"id": "straight-detroit",
15+
"id": "stock-shame",
1616
"metadata": {},
1717
"outputs": [],
1818
"source": [
@@ -56,7 +56,7 @@
5656
},
5757
{
5858
"cell_type": "markdown",
59-
"id": "turkish-newport",
59+
"id": "adjustable-arkansas",
6060
"metadata": {},
6161
"source": [
6262
"## Fetch a random sample of the data"
@@ -65,7 +65,7 @@
6565
{
6666
"cell_type": "code",
6767
"execution_count": null,
68-
"id": "reported-peoples",
68+
"id": "false-shield",
6969
"metadata": {},
7070
"outputs": [],
7171
"source": [
@@ -76,7 +76,7 @@
7676
{
7777
"cell_type": "code",
7878
"execution_count": null,
79-
"id": "married-drinking",
79+
"id": "formed-salvation",
8080
"metadata": {},
8181
"outputs": [],
8282
"source": [
@@ -86,7 +86,7 @@
8686
{
8787
"cell_type": "code",
8888
"execution_count": null,
89-
"id": "authentic-rendering",
89+
"id": "suspended-london",
9090
"metadata": {},
9191
"outputs": [],
9292
"source": [
@@ -99,7 +99,7 @@
9999
},
100100
{
101101
"cell_type": "markdown",
102-
"id": "presidential-acrobat",
102+
"id": "pediatric-drama",
103103
"metadata": {},
104104
"source": [
105105
"## Temporal Coverage and NA values"
@@ -108,7 +108,7 @@
108108
{
109109
"cell_type": "code",
110110
"execution_count": null,
111-
"id": "monthly-secretary",
111+
"id": "theoretical-density",
112112
"metadata": {},
113113
"outputs": [],
114114
"source": [
@@ -118,7 +118,7 @@
118118
{
119119
"cell_type": "code",
120120
"execution_count": null,
121-
"id": "otherwise-culture",
121+
"id": "promotional-heritage",
122122
"metadata": {},
123123
"outputs": [],
124124
"source": [
@@ -129,16 +129,18 @@
129129
{
130130
"cell_type": "code",
131131
"execution_count": null,
132-
"id": "sexual-chester",
132+
"id": "included-industry",
133133
"metadata": {},
134134
"outputs": [],
135135
"source": [
136-
"(dataset.data.isna().sum() / len(dataset) * 100).sort_values(ascending = False).to_frame()"
136+
"na_rates_df = (dataset.data.isna().sum() / len(dataset) * 100).sort_values(ascending = False).to_frame()\n",
137+
"na_rates_df.columns = [\"NA rate\"]\n",
138+
"na_rates_df"
137139
]
138140
},
139141
{
140142
"cell_type": "markdown",
141-
"id": "oriental-flush",
143+
"id": "logical-bailey",
142144
"metadata": {},
143145
"source": [
144146
"## Coverage over time for selected variables"
@@ -147,7 +149,7 @@
147149
{
148150
"cell_type": "code",
149151
"execution_count": null,
150-
"id": "historical-brick",
152+
"id": "fiscal-samoa",
151153
"metadata": {},
152154
"outputs": [],
153155
"source": [
@@ -158,7 +160,7 @@
158160
{
159161
"cell_type": "code",
160162
"execution_count": null,
161-
"id": "awful-nurse",
163+
"id": "handled-tuning",
162164
"metadata": {},
163165
"outputs": [],
164166
"source": [
@@ -179,33 +181,33 @@
179181
{
180182
"cell_type": "code",
181183
"execution_count": null,
182-
"id": "lucky-clerk",
184+
"id": "critical-category",
183185
"metadata": {},
184186
"outputs": [],
185187
"source": []
186188
},
187189
{
188190
"cell_type": "code",
189191
"execution_count": null,
190-
"id": "proud-volunteer",
192+
"id": "super-arabic",
191193
"metadata": {},
192194
"outputs": [],
193195
"source": []
194196
},
195197
{
196198
"cell_type": "code",
197199
"execution_count": null,
198-
"id": "sensitive-pipeline",
200+
"id": "desperate-button",
199201
"metadata": {},
200202
"outputs": [],
201203
"source": []
202204
}
203205
],
204206
"metadata": {
205207
"kernelspec": {
206-
"display_name": "sf",
208+
"display_name": "Python 3",
207209
"language": "python",
208-
"name": "sf"
210+
"name": "python3"
209211
},
210212
"language_info": {
211213
"codemirror_mode": {

0 commit comments

Comments
 (0)