diff --git a/FIDDLE/helpers.py b/FIDDLE/helpers.py
index 6e2fef0..ca9138d 100644
--- a/FIDDLE/helpers.py
+++ b/FIDDLE/helpers.py
@@ -90,7 +90,7 @@ def get_frequent_numeric_variables(df_time_series, variables, threshold, args):
T, dt = args.T, args.dt
df_types = pd.read_csv(output_dir + 'value_types.csv').set_index(var_col)['value_type']
- numeric_vars = [col for col in variables if df_types[col] == 'Numeric']
+ numeric_vars = [col for col in variables if df_types.get(col) == 'Numeric']
df_num_counts = calculate_variable_counts(df_time_series, df_population)[numeric_vars] #gets the count of each variable for each patient.
variables_num_freq = df_num_counts.columns[df_num_counts.mean() >= threshold * np.floor(T/dt)]
return variables_num_freq
diff --git a/FIDDLE/steps.py b/FIDDLE/steps.py
index 1ce2849..8f613db 100644
--- a/FIDDLE/steps.py
+++ b/FIDDLE/steps.py
@@ -72,6 +72,7 @@ def parse_variable_data_type(df_data, args):
if len(var_names) == 0: # No hierarchical values
pass
else:
+ print('Parsing hierarchical values')
for var_name in var_names:
var_type = args.value_type_override[var_name]
df_var = df.loc[df[var_col] == var_name, val_col]
@@ -143,12 +144,12 @@ def parse_variable_data_type(df_data, args):
var_names = [v for v, ty in data_types if 'numeric' not in ty.lower() and 'none' not in ty.lower()]
df_non_num = df[df[var_col].isin(var_names)].copy()
dup_ = df_non_num.duplicated(subset=[ID_col, t_col, var_col], keep=False)
- df_non_num_dup = df_non_num[dup_]
+ df_non_num_dup = df_non_num[dup_].copy()
dup_var_names = df_non_num_dup[var_col].unique()
df_non_num_dup[var_col] = df_non_num_dup[var_col].astype(str) + ':' + df_non_num_dup[val_col].astype(str)
df_non_num_dup[val_col] = 1
- df_non_num[dup_] = df_non_num_dup
- df[df[var_col].isin(var_names)] = df_non_num
+ df_non_num.loc[dup_, :] = df_non_num_dup
+ df.loc[df[var_col].isin(var_names), :] = df_non_num
return df, df_types['value_type']
diff --git a/tests/icd_test/Run.ipynb b/tests/icd_test/Run.ipynb
index 1f903ba..3def364 100644
--- a/tests/icd_test/Run.ipynb
+++ b/tests/icd_test/Run.ipynb
@@ -76,19 +76,8 @@
"--------------------------------------------------------------------------------\n",
"*) Detecting and parsing value types\n",
"--------------------------------------------------------------------------------\n",
+ "Parsing hierarchical values\n",
"Saved as: ./output-0/value_types.csv\n",
- "/Users/shengputang/Developer/FIDDLE/FIDDLE/steps.py:148: SettingWithCopyWarning: \n",
- "A value is trying to be set on a copy of a slice from a DataFrame.\n",
- "Try using .loc[row_indexer,col_indexer] = value instead\n",
- "\n",
- "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
- " df_non_num_dup[var_col] = df_non_num_dup[var_col].astype(str) + ':' + df_non_num_dup[val_col].astype(str)\n",
- "/Users/shengputang/Developer/FIDDLE/FIDDLE/steps.py:149: SettingWithCopyWarning: \n",
- "A value is trying to be set on a copy of a slice from a DataFrame.\n",
- "Try using .loc[row_indexer,col_indexer] = value instead\n",
- "\n",
- "See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy\n",
- " df_non_num_dup[val_col] = 1\n",
"\n",
"--------------------------------------------------------------------------------\n",
"*) Separate time-invariant and time-dependent\n",
@@ -103,11 +92,11 @@
"--------------------------------------------------------------------------------\n",
"(N × ^d) table :\t (200, 19)\n",
"number of missing entries :\t 2816 out of 3800 total\n",
- "Time elapsed: 0.012328 seconds\n",
+ "Time elapsed: 0.028853 seconds\n",
"\n",
"Output\n",
"S_all, binary features :\t (200, 21)\n",
- "Time elapsed: 0.101575 seconds\n",
+ "Time elapsed: 0.115737 seconds\n",
"\n",
"--------------------------------------------------------------------------------\n",
"3-A) Post-filter time-invariant data\n",
@@ -115,12 +104,13 @@
"Original : 21\n",
"Nearly-constant: 0\n",
"Correlated : 0\n",
- "Time elapsed: 0.104368 seconds\n",
+ "Time elapsed: 0.120853 seconds\n",
"\n",
"Output\n",
"S: shape=(200, 21), density=0.234\n",
- "Total time: 0.106207 seconds\n",
- "\n"
+ "Total time: 0.122271 seconds\n",
+ "\n",
+ "\u001b[0m"
]
}
],
@@ -172,7 +162,7 @@
"
ICD9_CODE:290-319_value_1 | \n",
" ICD9_CODE:320-389_value_1 | \n",
" ICD9_CODE:390-459_value_1 | \n",
- " ... | \n",
+ " ICD9_CODE:460-519_value_1 | \n",
" ICD9_CODE:520-579_value_1 | \n",
" ICD9_CODE:580-629_value_1 | \n",
" ICD9_CODE:680-709_value_1 | \n",
@@ -222,7 +212,7 @@
" 1 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
+ " 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
@@ -246,7 +236,7 @@
" 1 | \n",
" 1 | \n",
" 1 | \n",
- " ... | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
@@ -270,7 +260,7 @@
" 0 | \n",
" 0 | \n",
" 1 | \n",
- " ... | \n",
+ " 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -294,7 +284,7 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
+ " 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -318,7 +308,7 @@
" 1 | \n",
" 0 | \n",
" 1 | \n",
- " ... | \n",
+ " 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
@@ -366,7 +356,7 @@
" 0 | \n",
" 0 | \n",
" 1 | \n",
- " ... | \n",
+ " 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
@@ -390,7 +380,7 @@
" 0 | \n",
" 1 | \n",
" 1 | \n",
- " ... | \n",
+ " 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
@@ -414,7 +404,7 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
+ " 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -438,7 +428,7 @@
" 0 | \n",
" 0 | \n",
" 1 | \n",
- " ... | \n",
+ " 1 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
@@ -462,7 +452,7 @@
" 1 | \n",
" 1 | \n",
" 1 | \n",
- " ... | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -536,49 +526,49 @@
"199634 0 0 \n",
"199724 0 1 \n",
"\n",
- " ICD9_CODE:320-389_value_1 ICD9_CODE:390-459_value_1 ... \\\n",
- "ID ... \n",
- "100536 0 0 ... \n",
- "101757 1 1 ... \n",
- "102631 0 1 ... \n",
- "103251 0 0 ... \n",
- "104130 0 1 ... \n",
- "... ... ... ... \n",
- "197661 0 1 ... \n",
- "198214 1 1 ... \n",
- "198892 0 0 ... \n",
- "199634 0 1 ... \n",
- "199724 1 1 ... \n",
- "\n",
- " ICD9_CODE:520-579_value_1 ICD9_CODE:580-629_value_1 \\\n",
+ " ICD9_CODE:320-389_value_1 ICD9_CODE:390-459_value_1 \\\n",
"ID \n",
- "100536 1 0 \n",
- "101757 0 0 \n",
- "102631 0 0 \n",
+ "100536 0 0 \n",
+ "101757 1 1 \n",
+ "102631 0 1 \n",
"103251 0 0 \n",
"104130 0 1 \n",
"... ... ... \n",
"197661 0 1 \n",
- "198214 1 0 \n",
+ "198214 1 1 \n",
"198892 0 0 \n",
- "199634 1 0 \n",
- "199724 0 0 \n",
+ "199634 0 1 \n",
+ "199724 1 1 \n",
"\n",
- " ICD9_CODE:680-709_value_1 ICD9_CODE:710-739_value_1 \\\n",
+ " ICD9_CODE:460-519_value_1 ICD9_CODE:520-579_value_1 \\\n",
"ID \n",
- "100536 0 0 \n",
+ "100536 0 1 \n",
"101757 1 0 \n",
"102631 0 0 \n",
"103251 0 0 \n",
"104130 0 0 \n",
"... ... ... \n",
"197661 0 0 \n",
+ "198214 0 1 \n",
+ "198892 0 0 \n",
+ "199634 1 1 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:580-629_value_1 ICD9_CODE:680-709_value_1 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 1 0 \n",
"198214 0 0 \n",
"198892 0 0 \n",
- "199634 0 1 \n",
+ "199634 0 0 \n",
"199724 0 0 \n",
"\n",
- " ICD9_CODE:740-759_value_1 ICD9_CODE:760-779_value_1 \\\n",
+ " ICD9_CODE:710-739_value_1 ICD9_CODE:740-759_value_1 \\\n",
"ID \n",
"100536 0 0 \n",
"101757 0 0 \n",
@@ -588,37 +578,51 @@
"... ... ... \n",
"197661 0 0 \n",
"198214 0 0 \n",
- "198892 0 1 \n",
- "199634 0 0 \n",
+ "198892 0 0 \n",
+ "199634 1 0 \n",
"199724 0 0 \n",
"\n",
- " ICD9_CODE:780-799_value_1 ICD9_CODE:800-999_value_1 \\\n",
+ " ICD9_CODE:760-779_value_1 ICD9_CODE:780-799_value_1 \\\n",
"ID \n",
- "100536 0 1 \n",
- "101757 1 0 \n",
- "102631 0 1 \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
"103251 0 0 \n",
- "104130 1 0 \n",
+ "104130 0 1 \n",
"... ... ... \n",
- "197661 0 1 \n",
+ "197661 0 0 \n",
"198214 0 0 \n",
- "198892 0 0 \n",
+ "198892 1 0 \n",
"199634 0 0 \n",
- "199724 0 1 \n",
+ "199724 0 0 \n",
"\n",
- " ICD9_CODE:E000-E999_value_1 ICD9_CODE:V01-V91_value_1 \n",
- "ID \n",
- "100536 1 0 \n",
- "101757 0 1 \n",
- "102631 0 0 \n",
- "103251 0 0 \n",
- "104130 0 1 \n",
- "... ... ... \n",
- "197661 0 0 \n",
- "198214 0 0 \n",
- "198892 0 1 \n",
- "199634 0 1 \n",
- "199724 0 0 \n",
+ " ICD9_CODE:800-999_value_1 ICD9_CODE:E000-E999_value_1 \\\n",
+ "ID \n",
+ "100536 1 1 \n",
+ "101757 0 0 \n",
+ "102631 1 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 1 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:V01-V91_value_1 \n",
+ "ID \n",
+ "100536 0 \n",
+ "101757 1 \n",
+ "102631 0 \n",
+ "103251 0 \n",
+ "104130 1 \n",
+ "... ... \n",
+ "197661 0 \n",
+ "198214 0 \n",
+ "198892 1 \n",
+ "199634 1 \n",
+ "199724 0 \n",
"\n",
"[200 rows x 21 columns]"
]
@@ -708,6 +712,7 @@
"--------------------------------------------------------------------------------\n",
"*) Detecting and parsing value types\n",
"--------------------------------------------------------------------------------\n",
+ "Parsing hierarchical values\n",
"Saved as: ./output-1/value_types.csv\n",
"\n",
"--------------------------------------------------------------------------------\n",
@@ -723,11 +728,11 @@
"--------------------------------------------------------------------------------\n",
"(N × ^d) table :\t (200, 129)\n",
"number of missing entries :\t 23337 out of 25800 total\n",
- "Time elapsed: 0.034244 seconds\n",
+ "Time elapsed: 0.023302 seconds\n",
"\n",
"Output\n",
"S_all, binary features :\t (200, 129)\n",
- "Time elapsed: 0.558320 seconds\n",
+ "Time elapsed: 0.469013 seconds\n",
"\n",
"--------------------------------------------------------------------------------\n",
"3-A) Post-filter time-invariant data\n",
@@ -735,12 +740,13 @@
"Original : 129\n",
"Nearly-constant: 0\n",
"Correlated : 2\n",
- "Time elapsed: 0.564048 seconds\n",
+ "Time elapsed: 0.542064 seconds\n",
"\n",
"Output\n",
"S: shape=(200, 127), density=0.097\n",
- "Total time: 0.567541 seconds\n",
- "\n"
+ "Total time: 0.545616 seconds\n",
+ "\n",
+ "\u001b[0m"
]
}
],
@@ -792,7 +798,87 @@
" ICD9_CODE:130-136_value_1.0 | \n",
" ICD9_CODE:140-239_value_1.0 | \n",
" ICD9_CODE:150-159_value_1.0 | \n",
+ " ICD9_CODE:160-165_value_1.0 | \n",
+ " ICD9_CODE:179-189_value_1.0 | \n",
+ " ICD9_CODE:190-199_value_1.0 | \n",
+ " ICD9_CODE:200-209_value_1.0 | \n",
+ " ICD9_CODE:210-229_value_1.0 | \n",
+ " ICD9_CODE:235-238_value_1.0 | \n",
+ " ICD9_CODE:240-246_value_1.0 | \n",
+ " ICD9_CODE:240-279_value_1.0 | \n",
+ " ICD9_CODE:249-259_value_1.0 | \n",
+ " ICD9_CODE:260-269_value_1.0 | \n",
+ " ICD9_CODE:270-279_value_1.0 | \n",
+ " ICD9_CODE:280_value_1.0 | \n",
+ " ICD9_CODE:280-289_value_1.0 | \n",
+ " ICD9_CODE:281_value_1.0 | \n",
+ " ICD9_CODE:283_value_1.0 | \n",
+ " ICD9_CODE:284_value_1.0 | \n",
+ " ICD9_CODE:285_value_1.0 | \n",
+ " ICD9_CODE:286_value_1.0 | \n",
+ " ICD9_CODE:287_value_1.0 | \n",
+ " ICD9_CODE:288_value_1.0 | \n",
+ " ICD9_CODE:289_value_1.0 | \n",
+ " ICD9_CODE:290-294_value_1.0 | \n",
+ " ICD9_CODE:290-319_value_1.0 | \n",
+ " ICD9_CODE:295-299_value_1.0 | \n",
+ " ICD9_CODE:300-316_value_1.0 | \n",
+ " ICD9_CODE:320-327_value_1.0 | \n",
+ " ICD9_CODE:320-389_value_1.0 | \n",
+ " ICD9_CODE:330-337_value_1.0 | \n",
+ " ICD9_CODE:338-338_value_1.0 | \n",
+ " ICD9_CODE:340-349_value_1.0 | \n",
+ " ICD9_CODE:350-359_value_1.0 | \n",
+ " ICD9_CODE:360-379_value_1.0 | \n",
+ " ICD9_CODE:380-389_value_1.0 | \n",
+ " ICD9_CODE:390-459_value_1.0 | \n",
+ " ICD9_CODE:393-398_value_1.0 | \n",
+ " ICD9_CODE:401-405_value_1.0 | \n",
+ " ICD9_CODE:410-414_value_1.0 | \n",
+ " ICD9_CODE:415-417_value_1.0 | \n",
+ " ICD9_CODE:420-429_value_1.0 | \n",
+ " ICD9_CODE:430-438_value_1.0 | \n",
" ... | \n",
+ " ICD9_CODE:730-739_value_1.0 | \n",
+ " ICD9_CODE:740-759_value_1.0 | \n",
+ " ICD9_CODE:745_value_1.0 | \n",
+ " ICD9_CODE:746_value_1.0 | \n",
+ " ICD9_CODE:747_value_1.0 | \n",
+ " ICD9_CODE:752_value_1.0 | \n",
+ " ICD9_CODE:760-763_value_1.0 | \n",
+ " ICD9_CODE:760-779_value_1.0 | \n",
+ " ICD9_CODE:764-779_value_1.0 | \n",
+ " ICD9_CODE:780-789_value_1.0 | \n",
+ " ICD9_CODE:780-799_value_1.0 | \n",
+ " ICD9_CODE:790-796_value_1.0 | \n",
+ " ICD9_CODE:797-799_value_1.0 | \n",
+ " ICD9_CODE:800-804_value_1.0 | \n",
+ " ICD9_CODE:800-999_value_1.0 | \n",
+ " ICD9_CODE:805-809_value_1.0 | \n",
+ " ICD9_CODE:820-829_value_1.0 | \n",
+ " ICD9_CODE:850-854_value_1.0 | \n",
+ " ICD9_CODE:860-869_value_1.0 | \n",
+ " ICD9_CODE:870-879_value_1.0 | \n",
+ " ICD9_CODE:880-887_value_1.0 | \n",
+ " ICD9_CODE:900-904_value_1.0 | \n",
+ " ICD9_CODE:910-919_value_1.0 | \n",
+ " ICD9_CODE:920-924_value_1.0 | \n",
+ " ICD9_CODE:950-957_value_1.0 | \n",
+ " ICD9_CODE:958-959_value_1.0 | \n",
+ " ICD9_CODE:960-979_value_1.0 | \n",
+ " ICD9_CODE:990-995_value_1.0 | \n",
+ " ICD9_CODE:996-999_value_1.0 | \n",
+ " ICD9_CODE:E000-E999_value_1.0 | \n",
+ " ICD9_CODE:E810-E819_value_1.0 | \n",
+ " ICD9_CODE:E820-E825_value_1.0 | \n",
+ " ICD9_CODE:E846-E849_value_1.0 | \n",
+ " ICD9_CODE:E850-E858_value_1.0 | \n",
+ " ICD9_CODE:E870-E876_value_1.0 | \n",
+ " ICD9_CODE:E878-E879_value_1.0 | \n",
+ " ICD9_CODE:E880-E888_value_1.0 | \n",
+ " ICD9_CODE:E916-E928_value_1.0 | \n",
+ " ICD9_CODE:E930-E949_value_1.0 | \n",
+ " ICD9_CODE:E950-E959_value_1.0 | \n",
" ICD9_CODE:E960-E969_value_1.0 | \n",
" ICD9_CODE:V01-V09_value_1.0 | \n",
" ICD9_CODE:V01-V91_value_1.0 | \n",
@@ -827,6 +913,86 @@
" | \n",
" | \n",
" | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
" \n",
" \n",
" \n",
@@ -842,7 +1008,6 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -853,33 +1018,26 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " \n",
- " \n",
- " 101757 | \n",
+ " 0 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
- " 1 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 102631 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -901,35 +1059,29 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 103251 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 1 | \n",
- "
\n",
- " \n",
- " 104130 | \n",
+ " 0 | \n",
" 0 | \n",
" 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
" 1 | \n",
" 0 | \n",
" 0 | \n",
@@ -938,55 +1090,33 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
+ " 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- "
\n",
- " \n",
- " 197661 | \n",
+ " 101757 | \n",
+ " 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -994,18 +1124,30 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 198214 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1020,10 +1162,12 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 198892 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1034,47 +1178,35 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 199634 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
"
\n",
" \n",
- " 199724 | \n",
+ " 102631 | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1082,7 +1214,6 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1093,7 +1224,922 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " \n",
+ " \n",
+ " 103251 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 104130 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 197661 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 198214 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 198892 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 199634 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 199724 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
" \n",
"\n",
"200 rows × 129 columns
\n",
@@ -1102,7 +2148,413 @@
"text/plain": [
" ICD9_CODE:001-009_value_1.0 ICD9_CODE:001-139_value_1.0 \\\n",
"ID \n",
- "100536 0 1 \n",
+ "100536 0 1 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:030-041_value_1.0 ICD9_CODE:042-042_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 1 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:070-079_value_1.0 ICD9_CODE:080-088_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:110-118_value_1.0 ICD9_CODE:130-136_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:140-239_value_1.0 ICD9_CODE:150-159_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 1 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:160-165_value_1.0 ICD9_CODE:179-189_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:190-199_value_1.0 ICD9_CODE:200-209_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:210-229_value_1.0 ICD9_CODE:235-238_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 1 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:240-246_value_1.0 ICD9_CODE:240-279_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 1 \n",
+ "... ... ... \n",
+ "197661 0 1 \n",
+ "198214 0 1 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:249-259_value_1.0 ICD9_CODE:260-269_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 1 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:270-279_value_1.0 ICD9_CODE:280_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 1 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:280-289_value_1.0 ICD9_CODE:281_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:283_value_1.0 ICD9_CODE:284_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 1 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:285_value_1.0 ICD9_CODE:286_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:287_value_1.0 ICD9_CODE:288_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:289_value_1.0 ICD9_CODE:290-294_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:290-319_value_1.0 ICD9_CODE:295-299_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:300-316_value_1.0 ICD9_CODE:320-327_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:320-389_value_1.0 ICD9_CODE:330-337_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 1 \n",
+ "\n",
+ " ICD9_CODE:338-338_value_1.0 ICD9_CODE:340-349_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:350-359_value_1.0 ICD9_CODE:360-379_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:380-389_value_1.0 ICD9_CODE:390-459_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 1 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 1 \n",
+ "198214 0 1 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:393-398_value_1.0 ICD9_CODE:401-405_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:410-414_value_1.0 ICD9_CODE:415-417_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 1 0 \n",
+ "198214 1 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:420-429_value_1.0 ICD9_CODE:430-438_value_1.0 ... \\\n",
+ "ID ... \n",
+ "100536 0 0 ... \n",
+ "101757 0 0 ... \n",
+ "102631 1 0 ... \n",
+ "103251 0 0 ... \n",
+ "104130 0 0 ... \n",
+ "... ... ... ... \n",
+ "197661 1 0 ... \n",
+ "198214 1 0 ... \n",
+ "198892 0 0 ... \n",
+ "199634 0 0 ... \n",
+ "199724 0 0 ... \n",
+ "\n",
+ " ICD9_CODE:730-739_value_1.0 ICD9_CODE:740-759_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:745_value_1.0 ICD9_CODE:746_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:747_value_1.0 ICD9_CODE:752_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:760-763_value_1.0 ICD9_CODE:760-779_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 1 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:764-779_value_1.0 ICD9_CODE:780-789_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
"101757 0 1 \n",
"102631 0 0 \n",
"103251 0 0 \n",
@@ -1110,28 +2562,56 @@
"... ... ... \n",
"197661 0 0 \n",
"198214 0 0 \n",
+ "198892 1 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:780-799_value_1.0 ICD9_CODE:790-796_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
"198892 0 0 \n",
- "199634 0 1 \n",
- "199724 0 1 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
"\n",
- " ICD9_CODE:030-041_value_1.0 ICD9_CODE:042-042_value_1.0 \\\n",
+ " ICD9_CODE:797-799_value_1.0 ICD9_CODE:800-804_value_1.0 \\\n",
"ID \n",
- "100536 0 1 \n",
+ "100536 0 0 \n",
"101757 0 0 \n",
"102631 0 0 \n",
"103251 0 0 \n",
- "104130 1 0 \n",
+ "104130 0 0 \n",
"... ... ... \n",
"197661 0 0 \n",
"198214 0 0 \n",
"198892 0 0 \n",
"199634 0 0 \n",
- "199724 1 0 \n",
+ "199724 0 0 \n",
"\n",
- " ICD9_CODE:070-079_value_1.0 ICD9_CODE:080-088_value_1.0 \\\n",
+ " ICD9_CODE:800-999_value_1.0 ICD9_CODE:805-809_value_1.0 \\\n",
"ID \n",
"100536 1 0 \n",
"101757 0 0 \n",
+ "102631 1 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 1 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:820-829_value_1.0 ICD9_CODE:850-854_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
"102631 0 0 \n",
"103251 0 0 \n",
"104130 0 0 \n",
@@ -1142,10 +2622,10 @@
"199634 0 0 \n",
"199724 0 0 \n",
"\n",
- " ICD9_CODE:110-118_value_1.0 ICD9_CODE:130-136_value_1.0 \\\n",
+ " ICD9_CODE:860-869_value_1.0 ICD9_CODE:870-879_value_1.0 \\\n",
"ID \n",
"100536 0 0 \n",
- "101757 1 0 \n",
+ "101757 0 0 \n",
"102631 0 0 \n",
"103251 0 0 \n",
"104130 0 0 \n",
@@ -1153,22 +2633,148 @@
"197661 0 0 \n",
"198214 0 0 \n",
"198892 0 0 \n",
- "199634 0 1 \n",
+ "199634 0 0 \n",
"199724 0 0 \n",
"\n",
- " ICD9_CODE:140-239_value_1.0 ICD9_CODE:150-159_value_1.0 ... \\\n",
- "ID ... \n",
- "100536 0 0 ... \n",
- "101757 1 0 ... \n",
- "102631 0 0 ... \n",
- "103251 0 0 ... \n",
- "104130 0 0 ... \n",
- "... ... ... ... \n",
- "197661 0 0 ... \n",
- "198214 0 0 ... \n",
- "198892 0 0 ... \n",
- "199634 1 0 ... \n",
- "199724 0 0 ... \n",
+ " ICD9_CODE:880-887_value_1.0 ICD9_CODE:900-904_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:910-919_value_1.0 ICD9_CODE:920-924_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:950-957_value_1.0 ICD9_CODE:958-959_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:960-979_value_1.0 ICD9_CODE:990-995_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:996-999_value_1.0 ICD9_CODE:E000-E999_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 1 \n",
+ "101757 0 0 \n",
+ "102631 1 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 1 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:E810-E819_value_1.0 ICD9_CODE:E820-E825_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E846-E849_value_1.0 ICD9_CODE:E850-E858_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 1 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E870-E876_value_1.0 ICD9_CODE:E878-E879_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E880-E888_value_1.0 ICD9_CODE:E916-E928_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E930-E949_value_1.0 ICD9_CODE:E950-E959_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
"\n",
" ICD9_CODE:E960-E969_value_1.0 ICD9_CODE:V01-V09_value_1.0 \\\n",
"ID \n",
@@ -1328,6 +2934,7 @@
"--------------------------------------------------------------------------------\n",
"*) Detecting and parsing value types\n",
"--------------------------------------------------------------------------------\n",
+ "Parsing hierarchical values\n",
"Saved as: ./output-2/value_types.csv\n",
"\n",
"--------------------------------------------------------------------------------\n",
@@ -1343,11 +2950,11 @@
"--------------------------------------------------------------------------------\n",
"(N × ^d) table :\t (200, 455)\n",
"number of missing entries :\t 86795 out of 91000 total\n",
- "Time elapsed: 0.092419 seconds\n",
+ "Time elapsed: 0.062218 seconds\n",
"\n",
"Output\n",
"S_all, binary features :\t (200, 455)\n",
- "Time elapsed: 1.690453 seconds\n",
+ "Time elapsed: 2.054338 seconds\n",
"\n",
"--------------------------------------------------------------------------------\n",
"3-A) Post-filter time-invariant data\n",
@@ -1355,12 +2962,13 @@
"Original : 455\n",
"Nearly-constant: 0\n",
"Correlated : 87\n",
- "Time elapsed: 1.715216 seconds\n",
+ "Time elapsed: 2.169691 seconds\n",
"\n",
"Output\n",
"S: shape=(200, 368), density=0.055\n",
- "Total time: 1.719981 seconds\n",
- "\n"
+ "Total time: 2.173815 seconds\n",
+ "\n",
+ "\u001b[0m"
]
}
],
@@ -1402,67 +3010,1139 @@
" \n",
" \n",
" | \n",
- " ICD9_CODE:001-009_value_1.0 | \n",
- " ICD9_CODE:001-139_value_1.0 | \n",
- " ICD9_CODE:008_value_1.0 | \n",
- " ICD9_CODE:030-041_value_1.0 | \n",
- " ICD9_CODE:038_value_1.0 | \n",
- " ICD9_CODE:041_value_1.0 | \n",
- " ICD9_CODE:042_value_1.0 | \n",
- " ICD9_CODE:042-042_value_1.0 | \n",
- " ICD9_CODE:070_value_1.0 | \n",
- " ICD9_CODE:070-079_value_1.0 | \n",
+ " ICD9_CODE:001-009_value_1.0 | \n",
+ " ICD9_CODE:001-139_value_1.0 | \n",
+ " ICD9_CODE:008_value_1.0 | \n",
+ " ICD9_CODE:030-041_value_1.0 | \n",
+ " ICD9_CODE:038_value_1.0 | \n",
+ " ICD9_CODE:041_value_1.0 | \n",
+ " ICD9_CODE:042_value_1.0 | \n",
+ " ICD9_CODE:042-042_value_1.0 | \n",
+ " ICD9_CODE:070_value_1.0 | \n",
+ " ICD9_CODE:070-079_value_1.0 | \n",
+ " ICD9_CODE:079_value_1.0 | \n",
+ " ICD9_CODE:080-088_value_1.0 | \n",
+ " ICD9_CODE:088_value_1.0 | \n",
+ " ICD9_CODE:110-118_value_1.0 | \n",
+ " ICD9_CODE:112_value_1.0 | \n",
+ " ICD9_CODE:130-136_value_1.0 | \n",
+ " ICD9_CODE:135_value_1.0 | \n",
+ " ICD9_CODE:136_value_1.0 | \n",
+ " ICD9_CODE:140-239_value_1.0 | \n",
+ " ICD9_CODE:150-159_value_1.0 | \n",
+ " ICD9_CODE:153_value_1.0 | \n",
+ " ICD9_CODE:155_value_1.0 | \n",
+ " ICD9_CODE:157_value_1.0 | \n",
+ " ICD9_CODE:160-165_value_1.0 | \n",
+ " ICD9_CODE:162_value_1.0 | \n",
+ " ICD9_CODE:179-189_value_1.0 | \n",
+ " ICD9_CODE:185_value_1.0 | \n",
+ " ICD9_CODE:189_value_1.0 | \n",
+ " ICD9_CODE:190-199_value_1.0 | \n",
+ " ICD9_CODE:191_value_1.0 | \n",
+ " ICD9_CODE:194_value_1.0 | \n",
+ " ICD9_CODE:197_value_1.0 | \n",
+ " ICD9_CODE:198_value_1.0 | \n",
+ " ICD9_CODE:200_value_1.0 | \n",
+ " ICD9_CODE:200-209_value_1.0 | \n",
+ " ICD9_CODE:201_value_1.0 | \n",
+ " ICD9_CODE:202_value_1.0 | \n",
+ " ICD9_CODE:203_value_1.0 | \n",
+ " ICD9_CODE:210-229_value_1.0 | \n",
+ " ICD9_CODE:214_value_1.0 | \n",
+ " ICD9_CODE:216_value_1.0 | \n",
+ " ICD9_CODE:218_value_1.0 | \n",
+ " ICD9_CODE:225_value_1.0 | \n",
+ " ICD9_CODE:228_value_1.0 | \n",
+ " ICD9_CODE:235-238_value_1.0 | \n",
+ " ICD9_CODE:238_value_1.0 | \n",
+ " ICD9_CODE:240-246_value_1.0 | \n",
+ " ICD9_CODE:240-279_value_1.0 | \n",
+ " ICD9_CODE:242_value_1.0 | \n",
+ " ICD9_CODE:244_value_1.0 | \n",
+ " ... | \n",
+ " ICD9_CODE:E916-E928_value_1.0 | \n",
+ " ICD9_CODE:E928_value_1.0 | \n",
+ " ICD9_CODE:E930-E949_value_1.0 | \n",
+ " ICD9_CODE:E931_value_1.0 | \n",
+ " ICD9_CODE:E932_value_1.0 | \n",
+ " ICD9_CODE:E933_value_1.0 | \n",
+ " ICD9_CODE:E934_value_1.0 | \n",
+ " ICD9_CODE:E935_value_1.0 | \n",
+ " ICD9_CODE:E939_value_1.0 | \n",
+ " ICD9_CODE:E942_value_1.0 | \n",
+ " ICD9_CODE:E950_value_1.0 | \n",
+ " ICD9_CODE:E950-E959_value_1.0 | \n",
+ " ICD9_CODE:E956_value_1.0 | \n",
+ " ICD9_CODE:E960_value_1.0 | \n",
+ " ICD9_CODE:E960-E969_value_1.0 | \n",
+ " ICD9_CODE:E966_value_1.0 | \n",
+ " ICD9_CODE:V01-V09_value_1.0 | \n",
+ " ICD9_CODE:V01-V91_value_1.0 | \n",
+ " ICD9_CODE:V02_value_1.0 | \n",
+ " ICD9_CODE:V05_value_1.0 | \n",
+ " ICD9_CODE:V07_value_1.0 | \n",
+ " ICD9_CODE:V09_value_1.0 | \n",
+ " ICD9_CODE:V10_value_1.0 | \n",
+ " ICD9_CODE:V10-V19_value_1.0 | \n",
+ " ICD9_CODE:V12_value_1.0 | \n",
+ " ICD9_CODE:V13_value_1.0 | \n",
+ " ICD9_CODE:V14_value_1.0 | \n",
+ " ICD9_CODE:V15_value_1.0 | \n",
+ " ICD9_CODE:V17_value_1.0 | \n",
+ " ICD9_CODE:V20-V29_value_1.0 | \n",
+ " ICD9_CODE:V29_value_1.0 | \n",
+ " ICD9_CODE:V30_value_1.0 | \n",
+ " ICD9_CODE:V30-V39_value_1.0 | \n",
+ " ICD9_CODE:V31_value_1.0 | \n",
+ " ICD9_CODE:V34_value_1.0 | \n",
+ " ICD9_CODE:V40-V49_value_1.0 | \n",
+ " ICD9_CODE:V42_value_1.0 | \n",
+ " ICD9_CODE:V43_value_1.0 | \n",
+ " ICD9_CODE:V45_value_1.0 | \n",
+ " ICD9_CODE:V46_value_1.0 | \n",
+ " ICD9_CODE:V49_value_1.0 | \n",
+ " ICD9_CODE:V50_value_1.0 | \n",
+ " ICD9_CODE:V50-V59_value_1.0 | \n",
+ " ICD9_CODE:V54_value_1.0 | \n",
+ " ICD9_CODE:V58_value_1.0 | \n",
+ " ICD9_CODE:V60-V69_value_1.0 | \n",
+ " ICD9_CODE:V64_value_1.0 | \n",
+ " ICD9_CODE:V66_value_1.0 | \n",
+ " ICD9_CODE:V70-V82_value_1.0 | \n",
+ " ICD9_CODE:V72_value_1.0 | \n",
+ "
\n",
+ " \n",
+ " ID | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 100536 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 101757 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 102631 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 103251 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ "
\n",
+ " \n",
+ " 104130 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
" ... | \n",
- " ICD9_CODE:V49_value_1.0 | \n",
- " ICD9_CODE:V50_value_1.0 | \n",
- " ICD9_CODE:V50-V59_value_1.0 | \n",
- " ICD9_CODE:V54_value_1.0 | \n",
- " ICD9_CODE:V58_value_1.0 | \n",
- " ICD9_CODE:V60-V69_value_1.0 | \n",
- " ICD9_CODE:V64_value_1.0 | \n",
- " ICD9_CODE:V66_value_1.0 | \n",
- " ICD9_CODE:V70-V82_value_1.0 | \n",
- " ICD9_CODE:V72_value_1.0 | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 197661 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
"
\n",
" \n",
- " ID | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
- " | \n",
+ " 198214 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
"
\n",
- " \n",
- " \n",
" \n",
- " 100536 | \n",
+ " 198892 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
" 1 | \n",
+ " 0 | \n",
" 1 | \n",
- " 1 | \n",
- " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1475,7 +4155,7 @@
" 0 | \n",
"
\n",
" \n",
- " 101757 | \n",
+ " 199634 | \n",
" 0 | \n",
" 1 | \n",
" 0 | \n",
@@ -1486,7 +4166,15 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1497,9 +4185,6 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 102631 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1509,8 +4194,23 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1521,12 +4221,10 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 103251 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1534,36 +4232,26 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
- "
\n",
- " \n",
- " 104130 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1571,33 +4259,12 @@
" 0 | \n",
"
\n",
" \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- " ... | \n",
- "
\n",
- " \n",
- " 197661 | \n",
+ " 199724 | \n",
" 0 | \n",
+ " 1 | \n",
" 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1606,7 +4273,6 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1617,9 +4283,6 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 198214 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1630,7 +4293,6 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1641,20 +4303,20 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 198892 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1665,11 +4327,7 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 199634 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1678,31 +4336,21 @@
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- "
\n",
- " \n",
- " 199724 | \n",
" 0 | \n",
- " 1 | \n",
" 0 | \n",
- " 1 | \n",
- " 1 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
- " ... | \n",
" 0 | \n",
" 0 | \n",
" 0 | \n",
@@ -1722,52 +4370,556 @@
"text/plain": [
" ICD9_CODE:001-009_value_1.0 ICD9_CODE:001-139_value_1.0 \\\n",
"ID \n",
- "100536 0 1 \n",
- "101757 0 1 \n",
+ "100536 0 1 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:008_value_1.0 ICD9_CODE:030-041_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:038_value_1.0 ICD9_CODE:041_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 1 0 \n",
+ "\n",
+ " ICD9_CODE:042_value_1.0 ICD9_CODE:042-042_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 1 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:070_value_1.0 ICD9_CODE:070-079_value_1.0 \\\n",
+ "ID \n",
+ "100536 1 1 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:079_value_1.0 ICD9_CODE:080-088_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:088_value_1.0 ICD9_CODE:110-118_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:112_value_1.0 ICD9_CODE:130-136_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:135_value_1.0 ICD9_CODE:136_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 1 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:140-239_value_1.0 ICD9_CODE:150-159_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 1 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:153_value_1.0 ICD9_CODE:155_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:157_value_1.0 ICD9_CODE:160-165_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:162_value_1.0 ICD9_CODE:179-189_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:185_value_1.0 ICD9_CODE:189_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:190-199_value_1.0 ICD9_CODE:191_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 1 1 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:194_value_1.0 ICD9_CODE:197_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:198_value_1.0 ICD9_CODE:200_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:200-209_value_1.0 ICD9_CODE:201_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:202_value_1.0 ICD9_CODE:203_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:210-229_value_1.0 ICD9_CODE:214_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 1 1 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:216_value_1.0 ICD9_CODE:218_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:225_value_1.0 ICD9_CODE:228_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:235-238_value_1.0 ICD9_CODE:238_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:240-246_value_1.0 ICD9_CODE:240-279_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
"102631 0 0 \n",
"103251 0 0 \n",
+ "104130 1 1 \n",
+ "... ... ... \n",
+ "197661 0 1 \n",
+ "198214 0 1 \n",
+ "198892 0 0 \n",
+ "199634 0 1 \n",
+ "199724 0 1 \n",
+ "\n",
+ " ICD9_CODE:242_value_1.0 ICD9_CODE:244_value_1.0 ... \\\n",
+ "ID ... \n",
+ "100536 0 0 ... \n",
+ "101757 0 0 ... \n",
+ "102631 0 0 ... \n",
+ "103251 0 0 ... \n",
+ "104130 0 1 ... \n",
+ "... ... ... ... \n",
+ "197661 0 0 ... \n",
+ "198214 0 0 ... \n",
+ "198892 0 0 ... \n",
+ "199634 0 0 ... \n",
+ "199724 0 0 ... \n",
+ "\n",
+ " ICD9_CODE:E916-E928_value_1.0 ICD9_CODE:E928_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E930-E949_value_1.0 ICD9_CODE:E931_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E932_value_1.0 ICD9_CODE:E933_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E934_value_1.0 ICD9_CODE:E935_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E939_value_1.0 ICD9_CODE:E942_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E950_value_1.0 ICD9_CODE:E950-E959_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E956_value_1.0 ICD9_CODE:E960_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:E960-E969_value_1.0 ICD9_CODE:E966_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V01-V09_value_1.0 ICD9_CODE:V01-V91_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 1 \n",
+ "102631 0 0 \n",
+ "103251 1 1 \n",
"104130 0 1 \n",
"... ... ... \n",
"197661 0 0 \n",
"198214 0 0 \n",
- "198892 0 0 \n",
+ "198892 0 1 \n",
"199634 0 1 \n",
- "199724 0 1 \n",
+ "199724 0 0 \n",
"\n",
- " ICD9_CODE:008_value_1.0 ICD9_CODE:030-041_value_1.0 \\\n",
+ " ICD9_CODE:V02_value_1.0 ICD9_CODE:V05_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 1 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V07_value_1.0 ICD9_CODE:V09_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V10_value_1.0 ICD9_CODE:V10-V19_value_1.0 \\\n",
"ID \n",
"100536 0 0 \n",
- "101757 0 0 \n",
+ "101757 1 1 \n",
"102631 0 0 \n",
"103251 0 0 \n",
- "104130 0 1 \n",
+ "104130 0 0 \n",
"... ... ... \n",
"197661 0 0 \n",
"198214 0 0 \n",
"198892 0 0 \n",
"199634 0 0 \n",
- "199724 0 1 \n",
+ "199724 0 0 \n",
"\n",
- " ICD9_CODE:038_value_1.0 ICD9_CODE:041_value_1.0 \\\n",
+ " ICD9_CODE:V12_value_1.0 ICD9_CODE:V13_value_1.0 \\\n",
"ID \n",
"100536 0 0 \n",
"101757 0 0 \n",
"102631 0 0 \n",
"103251 0 0 \n",
- "104130 0 1 \n",
+ "104130 0 0 \n",
"... ... ... \n",
"197661 0 0 \n",
"198214 0 0 \n",
"198892 0 0 \n",
"199634 0 0 \n",
- "199724 1 0 \n",
+ "199724 0 0 \n",
"\n",
- " ICD9_CODE:042_value_1.0 ICD9_CODE:042-042_value_1.0 \\\n",
+ " ICD9_CODE:V14_value_1.0 ICD9_CODE:V15_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V17_value_1.0 ICD9_CODE:V20-V29_value_1.0 \\\n",
"ID \n",
- "100536 1 1 \n",
+ "100536 0 0 \n",
"101757 0 0 \n",
"102631 0 0 \n",
- "103251 0 0 \n",
+ "103251 0 1 \n",
"104130 0 0 \n",
"... ... ... \n",
"197661 0 0 \n",
@@ -1776,19 +4928,75 @@
"199634 0 0 \n",
"199724 0 0 \n",
"\n",
- " ICD9_CODE:070_value_1.0 ICD9_CODE:070-079_value_1.0 ... \\\n",
- "ID ... \n",
- "100536 1 1 ... \n",
- "101757 0 0 ... \n",
- "102631 0 0 ... \n",
- "103251 0 0 ... \n",
- "104130 0 0 ... \n",
- "... ... ... ... \n",
- "197661 0 0 ... \n",
- "198214 0 0 ... \n",
- "198892 0 0 ... \n",
- "199634 0 0 ... \n",
- "199724 0 0 ... \n",
+ " ICD9_CODE:V29_value_1.0 ICD9_CODE:V30_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 1 1 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V30-V39_value_1.0 ICD9_CODE:V31_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 1 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 1 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V34_value_1.0 ICD9_CODE:V40-V49_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 1 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 1 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V42_value_1.0 ICD9_CODE:V43_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 0 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
+ "\n",
+ " ICD9_CODE:V45_value_1.0 ICD9_CODE:V46_value_1.0 \\\n",
+ "ID \n",
+ "100536 0 0 \n",
+ "101757 0 0 \n",
+ "102631 0 0 \n",
+ "103251 0 0 \n",
+ "104130 1 0 \n",
+ "... ... ... \n",
+ "197661 0 0 \n",
+ "198214 0 0 \n",
+ "198892 0 0 \n",
+ "199634 0 0 \n",
+ "199724 0 0 \n",
"\n",
" ICD9_CODE:V49_value_1.0 ICD9_CODE:V50_value_1.0 \\\n",
"ID \n",
@@ -1891,7 +5099,7 @@
],
"metadata": {
"kernelspec": {
- "display_name": "Python 3",
+ "display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
@@ -1905,7 +5113,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.8.5"
+ "version": "3.9.7"
}
},
"nbformat": 4,
diff --git a/tests/icd_time_test/Run.ipynb b/tests/icd_time_test/Run.ipynb
new file mode 100644
index 0000000..bbac186
--- /dev/null
+++ b/tests/icd_time_test/Run.ipynb
@@ -0,0 +1,5108 @@
+{
+ "cells": [
+ {
+ "cell_type": "code",
+ "execution_count": 1,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "!rm -rf output-*/"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Test: levels = [0]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 2,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "!mkdir -p output-0"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 3,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Input:\n",
+ " Data : ./input/data.csv\n",
+ " Population: ./input/pop.csv\n",
+ " Config : ./input/config-0.yaml\n",
+ "\n",
+ "Output directory: ./output-0/\n",
+ "\n",
+ "Input arguments:\n",
+ " T = 4.0\n",
+ " dt = 1.0\n",
+ " θ₁ = 0.001\n",
+ " θ₂ = 0.001\n",
+ " θ_freq = 1.0\n",
+ " k = 3 ['min', 'max', 'mean']\n",
+ "\n",
+ "discretize = yes\n",
+ " S discretization bins: to be computed from data\n",
+ " X discretization bins: to be computed from data\n",
+ "\n",
+ "N = 200\n",
+ "L = 4\n",
+ "\n",
+ "\n",
+ "================================================================================\n",
+ "1) Pre-filter\n",
+ "================================================================================\n",
+ "Remove rows not in population\n",
+ "Remove rows with t outside of [0, 4]\n",
+ "Remove rare variables (<= 0.001)\n",
+ "Total variables : 1\n",
+ "Rare variables : 0\n",
+ "Remaining variables : 1\n",
+ "# rows (original) : 591\n",
+ "# rows (filtered) : 591\n",
+ "\n",
+ "================================================================================\n",
+ "2) Transform; 3) Post-filter\n",
+ "================================================================================\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "*) Detecting and parsing value types\n",
+ "--------------------------------------------------------------------------------\n",
+ "Parsing hierarchical values\n",
+ "Saved as: ./output-0/value_types.csv\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "*) Separate time-invariant and time-dependent\n",
+ "--------------------------------------------------------------------------------\n",
+ "Variables (time-invariant): 0\n",
+ "Variables (time-dependent): 1\n",
+ "# rows (time-invariant): 0\n",
+ "# rows (time-dependent): 591\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "2-B) Transform time-dependent data\n",
+ "--------------------------------------------------------------------------------\n",
+ "Total variables : 1\n",
+ "Frequent variables : []\n",
+ "M₁ = 0\n",
+ "M₂ = 1\n",
+ "k = 3 ['min', 'max', 'mean']\n",
+ "\n",
+ "Transforming each example...\n",
+ "Batches of size 100: 2\n",
+ "100%|█████████████████████████████████████████████| 2/2 [00:02<00:00, 1.14s/it]\n",
+ "\n",
+ "Parallel processing done\n",
+ "/data4/tangsp/FIDDLE/FIDDLE/steps.py:503: FutureWarning: Passing keywords other than 'data', 'dtype', 'copy', 'name', 'tupleize_cols' is deprecated and will raise TypeError in a future version. Use the specific Index subclass directly instead\n",
+ " index = pd.Index(index, names=['ID', 't_range'])\n",
+ "DONE: Transforming each example...\n",
+ "(freq) number of missing entries :\t 0.0 out of 200×4×0=0 total\n",
+ "(freq) number of imputed entries :\t 0.0\n",
+ "(freq) number of not imputed entries :\t 0.0\n",
+ "(non-freq) number of missing entries :\t 209 out of 200×4×1=800 total\n",
+ "\n",
+ "(N × L × ^D) table :\t (200, 4, 1)\n",
+ "Time elapsed: 2.817426 seconds\n",
+ "Discretizing features...\n",
+ "\n",
+ "Processing 1 non-boolean variable columns...\n",
+ " Computing bin edges for numeric variables...\n",
+ "100%|████████████████████████████████████████████| 1/1 [00:00<00:00, 129.38it/s]\n",
+ " Discretizing variables to binary features\n",
+ "100%|█████████████████████████████████████████████| 1/1 [00:00<00:00, 31.03it/s]\n",
+ "Finished discretizing features\n",
+ "\n",
+ "Output\n",
+ "X_all: shape=(200, 4, 18), density=0.041\n",
+ "Time elapsed: 3.262486 seconds\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "3-B) Post-filter time-dependent data\n",
+ "--------------------------------------------------------------------------------\n",
+ "(200, 4, 18) 0.041041666666666664\n",
+ "Original : 18\n",
+ "Nearly-constant: 0\n",
+ "*** time: 4.792196989059448\n",
+ "Correlated : 0\n",
+ "*** time: 7.208120822906494\n",
+ "\n",
+ "Output\n",
+ "X: shape=(200, 4, 18), density=0.041\n",
+ "(200, 4, 18) 0.041041666666666664\n",
+ "Time elapsed: 10.470810 seconds\n",
+ "\n",
+ "Output\n",
+ "X: shape=(200, 4, 18), density=0.041\n",
+ "Total time: 10.472504 seconds\n",
+ "\n",
+ "\u001b[0m"
+ ]
+ }
+ ],
+ "source": [
+ "! PYTHONPATH=\"$PYTHONPATH:../../\" \\\n",
+ "python -m FIDDLE.run \\\n",
+ " --data_fname='./input/data.csv' \\\n",
+ " --population_fname='./input/pop.csv' \\\n",
+ " --config_fname='./input/config-0.yaml' \\\n",
+ " --output_dir='./output-0/' \\\n",
+ " --T=4 --dt=1.0 \\\n",
+ " --theta_1=0.001 --theta_2=0.001 --theta_freq=1 \\\n",
+ " --stats_functions 'min' 'max' 'mean'"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 4,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " | \n",
+ " ICD9_CODE_value_001-139 | \n",
+ " ICD9_CODE_value_140-239 | \n",
+ " ICD9_CODE_value_240-279 | \n",
+ " ICD9_CODE_value_280-289 | \n",
+ " ICD9_CODE_value_290-319 | \n",
+ " ICD9_CODE_value_320-389 | \n",
+ " ICD9_CODE_value_390-459 | \n",
+ " ICD9_CODE_value_460-519 | \n",
+ " ICD9_CODE_value_520-579 | \n",
+ " ICD9_CODE_value_580-629 | \n",
+ " ICD9_CODE_value_680-709 | \n",
+ " ICD9_CODE_value_710-739 | \n",
+ " ICD9_CODE_value_740-759 | \n",
+ " ICD9_CODE_value_760-779 | \n",
+ " ICD9_CODE_value_780-799 | \n",
+ " ICD9_CODE_value_800-999 | \n",
+ " ICD9_CODE_value_E000-E999 | \n",
+ " ICD9_CODE_value_V01-V91 | \n",
+ "
\n",
+ " \n",
+ " ID | \n",
+ " t_range | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 100536 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [1.0, 2.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [2.0, 3.0) | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [3.0, 4.0) | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 101757 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 199634 | \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 199724 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [1.0, 2.0) | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [2.0, 3.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
800 rows × 18 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " ICD9_CODE_value_001-139 ICD9_CODE_value_140-239 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 0 \n",
+ " [3.0, 4.0) 1 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 1 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_240-279 ICD9_CODE_value_280-289 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_290-319 ICD9_CODE_value_320-389 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_390-459 ICD9_CODE_value_460-519 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 1 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 1 0 \n",
+ "\n",
+ " ICD9_CODE_value_520-579 ICD9_CODE_value_580-629 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_680-709 ICD9_CODE_value_710-739 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_740-759 ICD9_CODE_value_760-779 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_780-799 ICD9_CODE_value_800-999 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 1 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 1 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE_value_E000-E999 ICD9_CODE_value_V01-V91 \n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ "[800 rows x 18 columns]"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import numpy as np\n",
+ "import pandas as pd\n",
+ "import json\n",
+ "import sparse\n",
+ "\n",
+ "X = sparse.load_npz('output-0/X_all.npz')\n",
+ "X_names = json.load(open('output-0/X_all.feature_names.json', 'r'))\n",
+ "X_index = pd.read_csv('output-0/X.ID,t_range.csv').set_index(['ID', 't_range'])\n",
+ "df_X = pd.DataFrame(X.todense().reshape(X.shape[0]*X.shape[1], X.shape[2]), columns=X_names, index=X_index.index)\n",
+ "\n",
+ "display(df_X)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Test: levels = [0,1]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 5,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "!mkdir -p output-1"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 6,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Input:\n",
+ " Data : ./input/data.csv\n",
+ " Population: ./input/pop.csv\n",
+ " Config : ./input/config-1.yaml\n",
+ "\n",
+ "Output directory: ./output-1/\n",
+ "\n",
+ "Input arguments:\n",
+ " T = 4.0\n",
+ " dt = 1.0\n",
+ " θ₁ = 0.001\n",
+ " θ₂ = 0.001\n",
+ " θ_freq = 1.0\n",
+ " k = 3 ['min', 'max', 'mean']\n",
+ "\n",
+ "discretize = yes\n",
+ " S discretization bins: to be computed from data\n",
+ " X discretization bins: to be computed from data\n",
+ "\n",
+ "N = 200\n",
+ "L = 4\n",
+ "\n",
+ "\n",
+ "================================================================================\n",
+ "1) Pre-filter\n",
+ "================================================================================\n",
+ "Remove rows not in population\n",
+ "Remove rows with t outside of [0, 4]\n",
+ "Remove rare variables (<= 0.001)\n",
+ "Total variables : 1\n",
+ "Rare variables : 0\n",
+ "Remaining variables : 1\n",
+ "# rows (original) : 591\n",
+ "# rows (filtered) : 591\n",
+ "\n",
+ "================================================================================\n",
+ "2) Transform; 3) Post-filter\n",
+ "================================================================================\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "*) Detecting and parsing value types\n",
+ "--------------------------------------------------------------------------------\n",
+ "Parsing hierarchical values\n",
+ "Saved as: ./output-1/value_types.csv\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "*) Separate time-invariant and time-dependent\n",
+ "--------------------------------------------------------------------------------\n",
+ "Variables (time-invariant): 0\n",
+ "Variables (time-dependent): 97\n",
+ "# rows (time-invariant): 0\n",
+ "# rows (time-dependent): 1182\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "2-B) Transform time-dependent data\n",
+ "--------------------------------------------------------------------------------\n",
+ "Total variables : 97\n",
+ "Frequent variables : []\n",
+ "M₁ = 0\n",
+ "M₂ = 97\n",
+ "k = 3 ['min', 'max', 'mean']\n",
+ "\n",
+ "Transforming each example...\n",
+ "Batches of size 100: 2\n",
+ "100%|█████████████████████████████████████████████| 2/2 [00:02<00:00, 1.26s/it]\n",
+ "\n",
+ "Parallel processing done\n",
+ "/data4/tangsp/FIDDLE/FIDDLE/steps.py:503: FutureWarning: Passing keywords other than 'data', 'dtype', 'copy', 'name', 'tupleize_cols' is deprecated and will raise TypeError in a future version. Use the specific Index subclass directly instead\n",
+ " index = pd.Index(index, names=['ID', 't_range'])\n",
+ "DONE: Transforming each example...\n",
+ "(freq) number of missing entries :\t 0.0 out of 200×4×0=0 total\n",
+ "(freq) number of imputed entries :\t 0.0\n",
+ "(freq) number of not imputed entries :\t 0.0\n",
+ "(non-freq) number of missing entries :\t 76418 out of 200×4×97=77600 total\n",
+ "\n",
+ "(N × L × ^D) table :\t (200, 4, 97)\n",
+ "Time elapsed: 2.990010 seconds\n",
+ "Discretizing features...\n",
+ "\n",
+ "Processing 97 non-boolean variable columns...\n",
+ " Computing bin edges for numeric variables...\n",
+ "100%|██████████████████████████████████████████| 97/97 [00:00<00:00, 384.82it/s]\n",
+ " Discretizing variables to binary features\n",
+ "100%|██████████████████████████████████████████| 97/97 [00:00<00:00, 437.55it/s]\n",
+ "Finished discretizing features\n",
+ "\n",
+ "Output\n",
+ "X_all: shape=(200, 4, 97), density=0.015\n",
+ "Time elapsed: 3.860744 seconds\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "3-B) Post-filter time-dependent data\n",
+ "--------------------------------------------------------------------------------\n",
+ "(200, 4, 97) 0.015231958762886598\n",
+ "Original : 97\n",
+ "Nearly-constant: 0\n",
+ "*** time: 5.134121894836426\n",
+ "Correlated : 1\n",
+ "*** time: 8.108163118362427\n",
+ "\n",
+ "Output\n",
+ "X: shape=(200, 4, 96), density=0.015\n",
+ "(200, 4, 96) 0.015377604166666666\n",
+ "Time elapsed: 11.969133 seconds\n",
+ "\n",
+ "Output\n",
+ "X: shape=(200, 4, 96), density=0.015\n",
+ "Total time: 11.971706 seconds\n",
+ "\n",
+ "\u001b[0m"
+ ]
+ }
+ ],
+ "source": [
+ "! PYTHONPATH=\"$PYTHONPATH:../../\" \\\n",
+ "python -m FIDDLE.run \\\n",
+ " --data_fname='./input/data.csv' \\\n",
+ " --population_fname='./input/pop.csv' \\\n",
+ " --config_fname='./input/config-1.yaml' \\\n",
+ " --output_dir='./output-1/' \\\n",
+ " --T=4 --dt=1.0 \\\n",
+ " --theta_1=0.001 --theta_2=0.001 --theta_freq=1 \\\n",
+ " --stats_functions 'min' 'max' 'mean'"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 7,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " | \n",
+ " ICD9_CODE:001-139_value_1.0 | \n",
+ " ICD9_CODE:240-246_value_1.0 | \n",
+ " ICD9_CODE:070-079_value_1.0 | \n",
+ " ICD9_CODE:110-118_value_1.0 | \n",
+ " ICD9_CODE:130-136_value_1.0 | \n",
+ " ICD9_CODE:140-239_value_1.0 | \n",
+ " ICD9_CODE:042-042_value_1.0 | \n",
+ " ICD9_CODE:179-189_value_1.0 | \n",
+ " ICD9_CODE:190-199_value_1.0 | \n",
+ " ICD9_CODE:280-289_value_1.0 | \n",
+ " ICD9_CODE:200-209_value_1.0 | \n",
+ " ICD9_CODE:285_value_1.0 | \n",
+ " ICD9_CODE:030-041_value_1.0 | \n",
+ " ICD9_CODE:210-229_value_1.0 | \n",
+ " ICD9_CODE:150-159_value_1.0 | \n",
+ " ICD9_CODE:160-165_value_1.0 | \n",
+ " ICD9_CODE:270-279_value_1.0 | \n",
+ " ICD9_CODE:240-279_value_1.0 | \n",
+ " ICD9_CODE:249-259_value_1.0 | \n",
+ " ICD9_CODE:284_value_1.0 | \n",
+ " ICD9_CODE:280_value_1.0 | \n",
+ " ICD9_CODE:360-379_value_1.0 | \n",
+ " ICD9_CODE:288_value_1.0 | \n",
+ " ICD9_CODE:290-319_value_1.0 | \n",
+ " ICD9_CODE:295-299_value_1.0 | \n",
+ " ICD9_CODE:300-316_value_1.0 | \n",
+ " ICD9_CODE:320-389_value_1.0 | \n",
+ " ICD9_CODE:393-398_value_1.0 | \n",
+ " ICD9_CODE:320-327_value_1.0 | \n",
+ " ICD9_CODE:330-337_value_1.0 | \n",
+ " ICD9_CODE:340-349_value_1.0 | \n",
+ " ICD9_CODE:390-459_value_1.0 | \n",
+ " ICD9_CODE:401-405_value_1.0 | \n",
+ " ICD9_CODE:287_value_1.0 | \n",
+ " ICD9_CODE:410-414_value_1.0 | \n",
+ " ICD9_CODE:415-417_value_1.0 | \n",
+ " ICD9_CODE:430-438_value_1.0 | \n",
+ " ICD9_CODE:440-449_value_1.0 | \n",
+ " ICD9_CODE:500-508_value_1.0 | \n",
+ " ICD9_CODE:451-459_value_1.0 | \n",
+ " ICD9_CODE:420-429_value_1.0 | \n",
+ " ICD9_CODE:460-519_value_1.0 | \n",
+ " ICD9_CODE:480-488_value_1.0 | \n",
+ " ICD9_CODE:490-496_value_1.0 | \n",
+ " ICD9_CODE:510-519_value_1.0 | \n",
+ " ICD9_CODE:520-579_value_1.0 | \n",
+ " ICD9_CODE:550-553_value_1.0 | \n",
+ " ICD9_CODE:530-539_value_1.0 | \n",
+ " ICD9_CODE:555-558_value_1.0 | \n",
+ " ICD9_CODE:560-569_value_1.0 | \n",
+ " ICD9_CODE:570-579_value_1.0 | \n",
+ " ICD9_CODE:600-608_value_1.0 | \n",
+ " ICD9_CODE:680-686_value_1.0 | \n",
+ " ICD9_CODE:580-629_value_1.0 | \n",
+ " ICD9_CODE:590-599_value_1.0 | \n",
+ " ICD9_CODE:710-739_value_1.0 | \n",
+ " ICD9_CODE:680-709_value_1.0 | \n",
+ " ICD9_CODE:580-589_value_1.0 | \n",
+ " ICD9_CODE:745_value_1.0 | \n",
+ " ICD9_CODE:710-719_value_1.0 | \n",
+ " ICD9_CODE:720-724_value_1.0 | \n",
+ " ICD9_CODE:740-759_value_1.0 | \n",
+ " ICD9_CODE:746_value_1.0 | \n",
+ " ICD9_CODE:760-763_value_1.0 | \n",
+ " ICD9_CODE:990-995_value_1.0 | \n",
+ " ICD9_CODE:860-869_value_1.0 | \n",
+ " ICD9_CODE:820-829_value_1.0 | \n",
+ " ICD9_CODE:850-854_value_1.0 | \n",
+ " ICD9_CODE:805-809_value_1.0 | \n",
+ " ICD9_CODE:870-879_value_1.0 | \n",
+ " ICD9_CODE:996-999_value_1.0 | \n",
+ " ICD9_CODE:880-887_value_1.0 | \n",
+ " ICD9_CODE:900-904_value_1.0 | \n",
+ " ICD9_CODE:790-796_value_1.0 | \n",
+ " ICD9_CODE:910-919_value_1.0 | \n",
+ " ICD9_CODE:958-959_value_1.0 | \n",
+ " ICD9_CODE:764-779_value_1.0 | \n",
+ " ICD9_CODE:760-779_value_1.0 | \n",
+ " ICD9_CODE:E820-E825_value_1.0 | \n",
+ " ICD9_CODE:E000-E999_value_1.0 | \n",
+ " ICD9_CODE:797-799_value_1.0 | \n",
+ " ICD9_CODE:E880-E888_value_1.0 | \n",
+ " ICD9_CODE:780-789_value_1.0 | \n",
+ " ICD9_CODE:E916-E928_value_1.0 | \n",
+ " ICD9_CODE:960-979_value_1.0 | \n",
+ " ICD9_CODE:780-799_value_1.0 | \n",
+ " ICD9_CODE:E950-E959_value_1.0 | \n",
+ " ICD9_CODE:800-804_value_1.0 | \n",
+ " ICD9_CODE:800-999_value_1.0 | \n",
+ " ICD9_CODE:E810-E819_value_1.0 | \n",
+ " ICD9_CODE:V20-V29_value_1.0 | \n",
+ " ICD9_CODE:V40-V49_value_1.0 | \n",
+ " ICD9_CODE:V01-V91_value_1.0 | \n",
+ " ICD9_CODE:V10-V19_value_1.0 | \n",
+ " ICD9_CODE:V50-V59_value_1.0 | \n",
+ " ICD9_CODE:V30-V39_value_1.0 | \n",
+ " ICD9_CODE:V01-V09_value_1.0 | \n",
+ "
\n",
+ " \n",
+ " ID | \n",
+ " t_range | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 100536 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [1.0, 2.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [2.0, 3.0) | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [3.0, 4.0) | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 101757 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 199634 | \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 199724 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [1.0, 2.0) | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [2.0, 3.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
800 rows × 97 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " ICD9_CODE:001-139_value_1.0 ICD9_CODE:240-246_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 0 \n",
+ " [3.0, 4.0) 1 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 1 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:070-079_value_1.0 ICD9_CODE:110-118_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 1 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:130-136_value_1.0 ICD9_CODE:140-239_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:042-042_value_1.0 ICD9_CODE:179-189_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:190-199_value_1.0 ICD9_CODE:280-289_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:200-209_value_1.0 ICD9_CODE:285_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:030-041_value_1.0 ICD9_CODE:210-229_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 1 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:150-159_value_1.0 ICD9_CODE:160-165_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:270-279_value_1.0 ICD9_CODE:240-279_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:249-259_value_1.0 ICD9_CODE:284_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:280_value_1.0 ICD9_CODE:360-379_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:288_value_1.0 ICD9_CODE:290-319_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:295-299_value_1.0 ICD9_CODE:300-316_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:320-389_value_1.0 ICD9_CODE:393-398_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:320-327_value_1.0 ICD9_CODE:330-337_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:340-349_value_1.0 ICD9_CODE:390-459_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 1 \n",
+ "\n",
+ " ICD9_CODE:401-405_value_1.0 ICD9_CODE:287_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:410-414_value_1.0 ICD9_CODE:415-417_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 1 0 \n",
+ "\n",
+ " ICD9_CODE:430-438_value_1.0 ICD9_CODE:440-449_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:500-508_value_1.0 ICD9_CODE:451-459_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:420-429_value_1.0 ICD9_CODE:460-519_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 1 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:480-488_value_1.0 ICD9_CODE:490-496_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 1 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:510-519_value_1.0 ICD9_CODE:520-579_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:550-553_value_1.0 ICD9_CODE:530-539_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:555-558_value_1.0 ICD9_CODE:560-569_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:570-579_value_1.0 ICD9_CODE:600-608_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:680-686_value_1.0 ICD9_CODE:580-629_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:590-599_value_1.0 ICD9_CODE:710-739_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:680-709_value_1.0 ICD9_CODE:580-589_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:745_value_1.0 ICD9_CODE:710-719_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:720-724_value_1.0 ICD9_CODE:740-759_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:746_value_1.0 ICD9_CODE:760-763_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:990-995_value_1.0 ICD9_CODE:860-869_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:820-829_value_1.0 ICD9_CODE:850-854_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:805-809_value_1.0 ICD9_CODE:870-879_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:996-999_value_1.0 ICD9_CODE:880-887_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:900-904_value_1.0 ICD9_CODE:790-796_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:910-919_value_1.0 ICD9_CODE:958-959_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:764-779_value_1.0 ICD9_CODE:760-779_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E820-E825_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 \n",
+ " [1.0, 2.0) 0 \n",
+ " [2.0, 3.0) 0 \n",
+ " [3.0, 4.0) 0 \n",
+ "101757 [0.0, 1.0) 0 \n",
+ "... ... \n",
+ "199634 [3.0, 4.0) 0 \n",
+ "199724 [0.0, 1.0) 0 \n",
+ " [1.0, 2.0) 0 \n",
+ " [2.0, 3.0) 0 \n",
+ " [3.0, 4.0) 0 \n",
+ "\n",
+ " ICD9_CODE:E000-E999_value_1.0 ICD9_CODE:797-799_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E880-E888_value_1.0 ICD9_CODE:780-789_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E916-E928_value_1.0 ICD9_CODE:960-979_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 1 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:780-799_value_1.0 ICD9_CODE:E950-E959_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:800-804_value_1.0 ICD9_CODE:800-999_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 1 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 1 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E810-E819_value_1.0 ICD9_CODE:V20-V29_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V40-V49_value_1.0 ICD9_CODE:V01-V91_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V10-V19_value_1.0 ICD9_CODE:V50-V59_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V30-V39_value_1.0 ICD9_CODE:V01-V09_value_1.0 \n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ "[800 rows x 97 columns]"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import numpy as np\n",
+ "import pandas as pd\n",
+ "import json\n",
+ "import sparse\n",
+ "\n",
+ "X = sparse.load_npz('output-1/X_all.npz')\n",
+ "X_names = json.load(open('output-1/X_all.feature_names.json', 'r'))\n",
+ "X_index = pd.read_csv('output-1/X.ID,t_range.csv').set_index(['ID', 't_range'])\n",
+ "df_X = pd.DataFrame(X.todense().reshape(X.shape[0]*X.shape[1], X.shape[2]), columns=X_names, index=X_index.index)\n",
+ "\n",
+ "display(df_X)"
+ ]
+ },
+ {
+ "cell_type": "markdown",
+ "metadata": {},
+ "source": [
+ "## Test: levels = [0,1,2]"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 8,
+ "metadata": {},
+ "outputs": [],
+ "source": [
+ "!mkdir -p output-2"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 9,
+ "metadata": {},
+ "outputs": [
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "text": [
+ "Input:\n",
+ " Data : ./input/data.csv\n",
+ " Population: ./input/pop.csv\n",
+ " Config : ./input/config-2.yaml\n",
+ "\n",
+ "Output directory: ./output-2/\n",
+ "\n",
+ "Input arguments:\n",
+ " T = 4.0\n",
+ " dt = 1.0\n",
+ " θ₁ = 0.001\n",
+ " θ₂ = 0.001\n",
+ " θ_freq = 1.0\n",
+ " k = 3 ['min', 'max', 'mean']\n",
+ "\n",
+ "discretize = yes\n",
+ " S discretization bins: to be computed from data\n",
+ " X discretization bins: to be computed from data\n",
+ "\n",
+ "N = 200\n",
+ "L = 4\n",
+ "\n",
+ "\n",
+ "================================================================================\n",
+ "1) Pre-filter\n",
+ "================================================================================\n",
+ "Remove rows not in population\n",
+ "Remove rows with t outside of [0, 4]\n",
+ "Remove rare variables (<= 0.001)\n",
+ "Total variables : 1\n",
+ "Rare variables : 0\n",
+ "Remaining variables : 1\n",
+ "# rows (original) : 591\n",
+ "# rows (filtered) : 591\n",
+ "\n",
+ "================================================================================\n",
+ "2) Transform; 3) Post-filter\n",
+ "================================================================================\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "*) Detecting and parsing value types\n",
+ "--------------------------------------------------------------------------------\n",
+ "Parsing hierarchical values\n",
+ "Saved as: ./output-2/value_types.csv\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "*) Separate time-invariant and time-dependent\n",
+ "--------------------------------------------------------------------------------\n",
+ "Variables (time-invariant): 0\n",
+ "Variables (time-dependent): 273\n",
+ "# rows (time-invariant): 0\n",
+ "# rows (time-dependent): 1773\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "2-B) Transform time-dependent data\n",
+ "--------------------------------------------------------------------------------\n",
+ "Total variables : 273\n",
+ "Frequent variables : []\n",
+ "M₁ = 0\n",
+ "M₂ = 273\n",
+ "k = 3 ['min', 'max', 'mean']\n",
+ "\n",
+ "Transforming each example...\n",
+ "Batches of size 100: 2\n",
+ "100%|█████████████████████████████████████████████| 2/2 [00:02<00:00, 1.17s/it]\n",
+ "\n",
+ "Parallel processing done\n",
+ "/data4/tangsp/FIDDLE/FIDDLE/steps.py:503: FutureWarning: Passing keywords other than 'data', 'dtype', 'copy', 'name', 'tupleize_cols' is deprecated and will raise TypeError in a future version. Use the specific Index subclass directly instead\n",
+ " index = pd.Index(index, names=['ID', 't_range'])\n",
+ "DONE: Transforming each example...\n",
+ "(freq) number of missing entries :\t 0.0 out of 200×4×0=0 total\n",
+ "(freq) number of imputed entries :\t 0.0\n",
+ "(freq) number of not imputed entries :\t 0.0\n",
+ "(non-freq) number of missing entries :\t 216627 out of 200×4×273=218400 total\n",
+ "\n",
+ "(N × L × ^D) table :\t (200, 4, 273)\n",
+ "Time elapsed: 2.917234 seconds\n",
+ "Discretizing features...\n",
+ "\n",
+ "Processing 273 non-boolean variable columns...\n",
+ " Computing bin edges for numeric variables...\n",
+ "100%|████████████████████████████████████████| 273/273 [00:00<00:00, 383.46it/s]\n",
+ " Discretizing variables to binary features\n",
+ "100%|████████████████████████████████████████| 273/273 [00:01<00:00, 186.25it/s]\n",
+ "Finished discretizing features\n",
+ "\n",
+ "Output\n",
+ "X_all: shape=(200, 4, 273), density=0.008\n",
+ "Time elapsed: 5.639386 seconds\n",
+ "\n",
+ "--------------------------------------------------------------------------------\n",
+ "3-B) Post-filter time-dependent data\n",
+ "--------------------------------------------------------------------------------\n",
+ "(200, 4, 273) 0.008118131868131867\n",
+ "Original : 273\n",
+ "Nearly-constant: 0\n",
+ "*** time: 9.159954071044922\n",
+ "Correlated : 34\n",
+ "*** time: 13.995959758758545\n",
+ "\n",
+ "Output\n",
+ "X: shape=(200, 4, 239), density=0.009\n",
+ "(200, 4, 239) 0.008823221757322176\n",
+ "Time elapsed: 19.635627 seconds\n",
+ "\n",
+ "Output\n",
+ "X: shape=(200, 4, 239), density=0.009\n",
+ "Total time: 19.639108 seconds\n",
+ "\n",
+ "\u001b[0m"
+ ]
+ }
+ ],
+ "source": [
+ "! PYTHONPATH=\"$PYTHONPATH:../../\" \\\n",
+ "python -m FIDDLE.run \\\n",
+ " --data_fname='./input/data.csv' \\\n",
+ " --population_fname='./input/pop.csv' \\\n",
+ " --config_fname='./input/config-2.yaml' \\\n",
+ " --output_dir='./output-2/' \\\n",
+ " --T=4 --dt=1.0 \\\n",
+ " --theta_1=0.001 --theta_2=0.001 --theta_freq=1 \\\n",
+ " --stats_functions 'min' 'max' 'mean'"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": 10,
+ "metadata": {},
+ "outputs": [
+ {
+ "data": {
+ "text/html": [
+ "\n",
+ "\n",
+ "
\n",
+ " \n",
+ " \n",
+ " | \n",
+ " | \n",
+ " ICD9_CODE:038_value_1.0 | \n",
+ " ICD9_CODE:030-041_value_1.0 | \n",
+ " ICD9_CODE:042_value_1.0 | \n",
+ " ICD9_CODE:001-139_value_1.0 | \n",
+ " ICD9_CODE:136_value_1.0 | \n",
+ " ICD9_CODE:110-118_value_1.0 | \n",
+ " ICD9_CODE:197_value_1.0 | \n",
+ " ICD9_CODE:135_value_1.0 | \n",
+ " ICD9_CODE:179-189_value_1.0 | \n",
+ " ICD9_CODE:155_value_1.0 | \n",
+ " ICD9_CODE:194_value_1.0 | \n",
+ " ICD9_CODE:157_value_1.0 | \n",
+ " ICD9_CODE:189_value_1.0 | \n",
+ " ICD9_CODE:153_value_1.0 | \n",
+ " ICD9_CODE:191_value_1.0 | \n",
+ " ICD9_CODE:200_value_1.0 | \n",
+ " ICD9_CODE:130-136_value_1.0 | \n",
+ " ICD9_CODE:200-209_value_1.0 | \n",
+ " ICD9_CODE:112_value_1.0 | \n",
+ " ICD9_CODE:198_value_1.0 | \n",
+ " ICD9_CODE:042-042_value_1.0 | \n",
+ " ICD9_CODE:162_value_1.0 | \n",
+ " ICD9_CODE:140-239_value_1.0 | \n",
+ " ICD9_CODE:190-199_value_1.0 | \n",
+ " ICD9_CODE:150-159_value_1.0 | \n",
+ " ICD9_CODE:070_value_1.0 | \n",
+ " ICD9_CODE:070-079_value_1.0 | \n",
+ " ICD9_CODE:160-165_value_1.0 | \n",
+ " ICD9_CODE:201_value_1.0 | \n",
+ " ICD9_CODE:203_value_1.0 | \n",
+ " ICD9_CODE:287.5_value_1.0 | \n",
+ " ICD9_CODE:202_value_1.0 | \n",
+ " ICD9_CODE:216_value_1.0 | \n",
+ " ICD9_CODE:249-259_value_1.0 | \n",
+ " ICD9_CODE:218_value_1.0 | \n",
+ " ICD9_CODE:240-246_value_1.0 | \n",
+ " ICD9_CODE:225_value_1.0 | \n",
+ " ICD9_CODE:240-279_value_1.0 | \n",
+ " ICD9_CODE:250_value_1.0 | \n",
+ " ICD9_CODE:244_value_1.0 | \n",
+ " ICD9_CODE:255_value_1.0 | \n",
+ " ICD9_CODE:276_value_1.0 | \n",
+ " ICD9_CODE:421_value_1.0 | \n",
+ " ICD9_CODE:420-429_value_1.0 | \n",
+ " ICD9_CODE:280_value_1.0 | \n",
+ " ICD9_CODE:434_value_1.0 | \n",
+ " ICD9_CODE:210-229_value_1.0 | \n",
+ " ICD9_CODE:285.9_value_1.0 | \n",
+ " ICD9_CODE:436_value_1.0 | \n",
+ " ICD9_CODE:433_value_1.0 | \n",
+ " ... | \n",
+ " ICD9_CODE:873_value_1.0 | \n",
+ " ICD9_CODE:881_value_1.0 | \n",
+ " ICD9_CODE:880-887_value_1.0 | \n",
+ " ICD9_CODE:882_value_1.0 | \n",
+ " ICD9_CODE:900-904_value_1.0 | \n",
+ " ICD9_CODE:903_value_1.0 | \n",
+ " ICD9_CODE:600-608_value_1.0 | \n",
+ " ICD9_CODE:910-919_value_1.0 | \n",
+ " ICD9_CODE:710_value_1.0 | \n",
+ " ICD9_CODE:958-959_value_1.0 | \n",
+ " ICD9_CODE:959_value_1.0 | \n",
+ " ICD9_CODE:710-719_value_1.0 | \n",
+ " ICD9_CODE:965_value_1.0 | \n",
+ " ICD9_CODE:967_value_1.0 | \n",
+ " ICD9_CODE:969_value_1.0 | \n",
+ " ICD9_CODE:990-995_value_1.0 | \n",
+ " ICD9_CODE:996_value_1.0 | \n",
+ " ICD9_CODE:995_value_1.0 | \n",
+ " ICD9_CODE:998_value_1.0 | \n",
+ " ICD9_CODE:997_value_1.0 | \n",
+ " ICD9_CODE:999_value_1.0 | \n",
+ " ICD9_CODE:740-759_value_1.0 | \n",
+ " ICD9_CODE:E812_value_1.0 | \n",
+ " ICD9_CODE:E810-E819_value_1.0 | \n",
+ " ICD9_CODE:E820-E825_value_1.0 | \n",
+ " ICD9_CODE:7456_value_1.0 | \n",
+ " ICD9_CODE:E821_value_1.0 | \n",
+ " ICD9_CODE:E880-E888_value_1.0 | \n",
+ " ICD9_CODE:E888_value_1.0 | \n",
+ " ICD9_CODE:E916_value_1.0 | \n",
+ " ICD9_CODE:E916-E928_value_1.0 | \n",
+ " ICD9_CODE:E950_value_1.0 | \n",
+ " ICD9_CODE:E950-E959_value_1.0 | \n",
+ " ICD9_CODE:V01-V09_value_1.0 | \n",
+ " ICD9_CODE:V05_value_1.0 | \n",
+ " ICD9_CODE:V10_value_1.0 | \n",
+ " ICD9_CODE:482_value_1.0 | \n",
+ " ICD9_CODE:V12_value_1.0 | \n",
+ " ICD9_CODE:V20-V29_value_1.0 | \n",
+ " ICD9_CODE:V30_value_1.0 | \n",
+ " ICD9_CODE:774_value_1.0 | \n",
+ " ICD9_CODE:V29_value_1.0 | \n",
+ " ICD9_CODE:787_value_1.0 | \n",
+ " ICD9_CODE:V34_value_1.0 | \n",
+ " ICD9_CODE:780-789_value_1.0 | \n",
+ " ICD9_CODE:V40-V49_value_1.0 | \n",
+ " ICD9_CODE:V42_value_1.0 | \n",
+ " ICD9_CODE:V50_value_1.0 | \n",
+ " ICD9_CODE:V50-V59_value_1.0 | \n",
+ " ICD9_CODE:V46_value_1.0 | \n",
+ "
\n",
+ " \n",
+ " ID | \n",
+ " t_range | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ " | \n",
+ "
\n",
+ " \n",
+ " \n",
+ " \n",
+ " 100536 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [1.0, 2.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [2.0, 3.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 101757 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ " ... | \n",
+ "
\n",
+ " \n",
+ " 199634 | \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " 199724 | \n",
+ " [0.0, 1.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [1.0, 2.0) | \n",
+ " 1 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [2.0, 3.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 1 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ " [3.0, 4.0) | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " ... | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ " 0 | \n",
+ "
\n",
+ " \n",
+ "
\n",
+ "
800 rows × 273 columns
\n",
+ "
"
+ ],
+ "text/plain": [
+ " ICD9_CODE:038_value_1.0 ICD9_CODE:030-041_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 1 1 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:042_value_1.0 ICD9_CODE:001-139_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 1 \n",
+ " [3.0, 4.0) 0 1 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 1 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:136_value_1.0 ICD9_CODE:110-118_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:197_value_1.0 ICD9_CODE:135_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:179-189_value_1.0 ICD9_CODE:155_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:194_value_1.0 ICD9_CODE:157_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:189_value_1.0 ICD9_CODE:153_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:191_value_1.0 ICD9_CODE:200_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:130-136_value_1.0 ICD9_CODE:200-209_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:112_value_1.0 ICD9_CODE:198_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:042-042_value_1.0 ICD9_CODE:162_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:140-239_value_1.0 ICD9_CODE:190-199_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:150-159_value_1.0 ICD9_CODE:070_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 1 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:070-079_value_1.0 ICD9_CODE:160-165_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 1 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:201_value_1.0 ICD9_CODE:203_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:287.5_value_1.0 ICD9_CODE:202_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:216_value_1.0 ICD9_CODE:249-259_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:218_value_1.0 ICD9_CODE:240-246_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:225_value_1.0 ICD9_CODE:240-279_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:250_value_1.0 ICD9_CODE:244_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:255_value_1.0 ICD9_CODE:276_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:421_value_1.0 ICD9_CODE:420-429_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:280_value_1.0 ICD9_CODE:434_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:210-229_value_1.0 ICD9_CODE:285.9_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:436_value_1.0 ICD9_CODE:433_value_1.0 ... \\\n",
+ "ID t_range ... \n",
+ "100536 [0.0, 1.0) 0 0 ... \n",
+ " [1.0, 2.0) 0 0 ... \n",
+ " [2.0, 3.0) 0 0 ... \n",
+ " [3.0, 4.0) 0 0 ... \n",
+ "101757 [0.0, 1.0) 0 0 ... \n",
+ "... ... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 ... \n",
+ "199724 [0.0, 1.0) 0 0 ... \n",
+ " [1.0, 2.0) 0 0 ... \n",
+ " [2.0, 3.0) 0 0 ... \n",
+ " [3.0, 4.0) 0 0 ... \n",
+ "\n",
+ " ICD9_CODE:873_value_1.0 ICD9_CODE:881_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:880-887_value_1.0 ICD9_CODE:882_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:900-904_value_1.0 ICD9_CODE:903_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:600-608_value_1.0 ICD9_CODE:910-919_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:710_value_1.0 ICD9_CODE:958-959_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:959_value_1.0 ICD9_CODE:710-719_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:965_value_1.0 ICD9_CODE:967_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 1 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:969_value_1.0 ICD9_CODE:990-995_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:996_value_1.0 ICD9_CODE:995_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:998_value_1.0 ICD9_CODE:997_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:999_value_1.0 ICD9_CODE:740-759_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 1 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E812_value_1.0 ICD9_CODE:E810-E819_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E820-E825_value_1.0 ICD9_CODE:7456_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E821_value_1.0 ICD9_CODE:E880-E888_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E888_value_1.0 ICD9_CODE:E916_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E916-E928_value_1.0 ICD9_CODE:E950_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:E950-E959_value_1.0 ICD9_CODE:V01-V09_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V05_value_1.0 ICD9_CODE:V10_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:482_value_1.0 ICD9_CODE:V12_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V20-V29_value_1.0 ICD9_CODE:V30_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:774_value_1.0 ICD9_CODE:V29_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:787_value_1.0 ICD9_CODE:V34_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:780-789_value_1.0 ICD9_CODE:V40-V49_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V42_value_1.0 ICD9_CODE:V50_value_1.0 \\\n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ " ICD9_CODE:V50-V59_value_1.0 ICD9_CODE:V46_value_1.0 \n",
+ "ID t_range \n",
+ "100536 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "101757 [0.0, 1.0) 0 0 \n",
+ "... ... ... \n",
+ "199634 [3.0, 4.0) 0 0 \n",
+ "199724 [0.0, 1.0) 0 0 \n",
+ " [1.0, 2.0) 0 0 \n",
+ " [2.0, 3.0) 0 0 \n",
+ " [3.0, 4.0) 0 0 \n",
+ "\n",
+ "[800 rows x 273 columns]"
+ ]
+ },
+ "metadata": {},
+ "output_type": "display_data"
+ }
+ ],
+ "source": [
+ "import numpy as np\n",
+ "import pandas as pd\n",
+ "import json\n",
+ "import sparse\n",
+ "\n",
+ "X = sparse.load_npz('output-2/X_all.npz')\n",
+ "X_names = json.load(open('output-2/X_all.feature_names.json', 'r'))\n",
+ "X_index = pd.read_csv('output-2/X.ID,t_range.csv').set_index(['ID', 't_range'])\n",
+ "df_X = pd.DataFrame(X.todense().reshape(X.shape[0]*X.shape[1], X.shape[2]), columns=X_names, index=X_index.index)\n",
+ "\n",
+ "display(df_X)"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "execution_count": null,
+ "metadata": {},
+ "outputs": [],
+ "source": []
+ }
+ ],
+ "metadata": {
+ "kernelspec": {
+ "display_name": "FIDDLE-py36",
+ "language": "python",
+ "name": "fiddle-py36"
+ },
+ "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.6.13"
+ }
+ },
+ "nbformat": 4,
+ "nbformat_minor": 4
+}
diff --git a/tests/icd_time_test/input/config-0.yaml b/tests/icd_time_test/input/config-0.yaml
new file mode 100644
index 0000000..03044b4
--- /dev/null
+++ b/tests/icd_time_test/input/config-0.yaml
@@ -0,0 +1,5 @@
+hierarchical_sep: ':'
+hierarchical_levels: [0]
+
+value_types:
+ ICD9_CODE: hierarchical_ICD9
diff --git a/tests/icd_time_test/input/config-1.yaml b/tests/icd_time_test/input/config-1.yaml
new file mode 100644
index 0000000..2c6ecce
--- /dev/null
+++ b/tests/icd_time_test/input/config-1.yaml
@@ -0,0 +1,2 @@
+hierarchical_sep: ':'
+hierarchical_levels: [0,1]
diff --git a/tests/icd_time_test/input/config-2.yaml b/tests/icd_time_test/input/config-2.yaml
new file mode 100644
index 0000000..9c6d4af
--- /dev/null
+++ b/tests/icd_time_test/input/config-2.yaml
@@ -0,0 +1,2 @@
+hierarchical_sep: ':'
+hierarchical_levels: [0,1,2]
diff --git a/tests/icd_time_test/input/data.csv b/tests/icd_time_test/input/data.csv
new file mode 100644
index 0000000..be35491
--- /dev/null
+++ b/tests/icd_time_test/input/data.csv
@@ -0,0 +1,1862 @@
+ID,t,variable_name,variable_value
+172335,1.0,ICD9_CODE,40301
+172335,2.0,ICD9_CODE,486
+172335,3.0,ICD9_CODE,58281
+172335,4.0,ICD9_CODE,5855
+172335,5.0,ICD9_CODE,4254
+172335,6.0,ICD9_CODE,2762
+172335,7.0,ICD9_CODE,7100
+172335,8.0,ICD9_CODE,2767
+172335,9.0,ICD9_CODE,7243
+172335,10.0,ICD9_CODE,45829
+172335,11.0,ICD9_CODE,2875
+172335,12.0,ICD9_CODE,28521
+172335,13.0,ICD9_CODE,28529
+172335,14.0,ICD9_CODE,27541
+173633,1.0,ICD9_CODE,40301
+173633,2.0,ICD9_CODE,5856
+173633,3.0,ICD9_CODE,58381
+173633,4.0,ICD9_CODE,7100
+173633,5.0,ICD9_CODE,5589
+173633,6.0,ICD9_CODE,2875
+173633,7.0,ICD9_CODE,28521
+173633,8.0,ICD9_CODE,45829
+173633,9.0,ICD9_CODE,32723
+173633,10.0,ICD9_CODE,22804
+173633,11.0,ICD9_CODE,33829
+173633,12.0,ICD9_CODE,78900
+173633,13.0,ICD9_CODE,79092
+173633,14.0,ICD9_CODE,V4511
+174105,1.0,ICD9_CODE,53100
+174105,2.0,ICD9_CODE,41071
+174105,3.0,ICD9_CODE,2859
+174105,4.0,ICD9_CODE,41401
+174105,5.0,ICD9_CODE,725
+109976,1.0,ICD9_CODE,1915
+109976,2.0,ICD9_CODE,3314
+109976,3.0,ICD9_CODE,53081
+178393,1.0,ICD9_CODE,41401
+178393,2.0,ICD9_CODE,4111
+178393,3.0,ICD9_CODE,48283
+178393,4.0,ICD9_CODE,2859
+178393,5.0,ICD9_CODE,2720
+178393,6.0,ICD9_CODE,3051
+114585,1.0,ICD9_CODE,1940
+114585,2.0,ICD9_CODE,1977
+114585,3.0,ICD9_CODE,2553
+114585,4.0,ICD9_CODE,4240
+114585,5.0,ICD9_CODE,5845
+114585,6.0,ICD9_CODE,99859
+114585,7.0,ICD9_CODE,6822
+114585,8.0,ICD9_CODE,5119
+114585,9.0,ICD9_CODE,5990
+114585,10.0,ICD9_CODE,4280
+114585,11.0,ICD9_CODE,34982
+114585,12.0,ICD9_CODE,4019
+114585,13.0,ICD9_CODE,V1000
+114585,14.0,ICD9_CODE,V453
+114585,15.0,ICD9_CODE,V5865
+114585,16.0,ICD9_CODE,0413
+114585,17.0,ICD9_CODE,2518
+114585,18.0,ICD9_CODE,E9320
+127203,1.0,ICD9_CODE,V3001
+127203,2.0,ICD9_CODE,V053
+127203,3.0,ICD9_CODE,V290
+140784,1.0,ICD9_CODE,5715
+140784,2.0,ICD9_CODE,7895
+140784,3.0,ICD9_CODE,07054
+140784,4.0,ICD9_CODE,2875
+140784,5.0,ICD9_CODE,4280
+140784,6.0,ICD9_CODE,2851
+140784,7.0,ICD9_CODE,2765
+140784,8.0,ICD9_CODE,4019
+140784,9.0,ICD9_CODE,25000
+164853,1.0,ICD9_CODE,570
+164853,2.0,ICD9_CODE,07044
+164853,3.0,ICD9_CODE,5712
+164853,4.0,ICD9_CODE,5849
+164853,5.0,ICD9_CODE,5724
+164853,6.0,ICD9_CODE,5118
+164853,7.0,ICD9_CODE,2867
+164853,8.0,ICD9_CODE,51882
+164853,9.0,ICD9_CODE,2875
+164853,10.0,ICD9_CODE,0389
+164853,11.0,ICD9_CODE,486
+164853,12.0,ICD9_CODE,2800
+164853,13.0,ICD9_CODE,2639
+164853,14.0,ICD9_CODE,2761
+164853,15.0,ICD9_CODE,2767
+164853,16.0,ICD9_CODE,99592
+164853,17.0,ICD9_CODE,30393
+164853,18.0,ICD9_CODE,4019
+164853,19.0,ICD9_CODE,5723
+164853,20.0,ICD9_CODE,25000
+164853,21.0,ICD9_CODE,2449
+164853,22.0,ICD9_CODE,1122
+147035,1.0,ICD9_CODE,V3000
+147035,2.0,ICD9_CODE,V053
+135738,1.0,ICD9_CODE,88122
+135738,2.0,ICD9_CODE,9032
+135738,3.0,ICD9_CODE,9033
+135738,4.0,ICD9_CODE,9551
+135738,5.0,ICD9_CODE,9555
+135738,6.0,ICD9_CODE,9552
+135738,7.0,ICD9_CODE,E956
+135738,8.0,ICD9_CODE,30590
+188923,1.0,ICD9_CODE,V3000
+188923,2.0,ICD9_CODE,V053
+188923,3.0,ICD9_CODE,V290
+135750,1.0,ICD9_CODE,V3000
+135750,2.0,ICD9_CODE,7452
+135750,3.0,ICD9_CODE,7622
+195632,1.0,ICD9_CODE,41011
+195632,2.0,ICD9_CODE,41401
+195632,3.0,ICD9_CODE,4019
+195632,4.0,ICD9_CODE,25000
+195632,5.0,ICD9_CODE,3051
+112906,1.0,ICD9_CODE,4412
+112906,2.0,ICD9_CODE,486
+112906,3.0,ICD9_CODE,496
+112906,4.0,ICD9_CODE,07070
+112906,5.0,ICD9_CODE,4478
+112906,6.0,ICD9_CODE,41402
+112906,7.0,ICD9_CODE,41401
+112906,8.0,ICD9_CODE,4019
+112906,9.0,ICD9_CODE,2720
+134369,1.0,ICD9_CODE,44021
+134369,2.0,ICD9_CODE,5849
+134369,3.0,ICD9_CODE,5854
+134369,4.0,ICD9_CODE,5990
+134369,5.0,ICD9_CODE,9971
+134369,6.0,ICD9_CODE,4400
+134369,7.0,ICD9_CODE,40390
+134369,8.0,ICD9_CODE,2749
+134369,9.0,ICD9_CODE,496
+134369,10.0,ICD9_CODE,45829
+134369,11.0,ICD9_CODE,42731
+134369,12.0,ICD9_CODE,V1046
+134369,13.0,ICD9_CODE,V1011
+134369,14.0,ICD9_CODE,V1209
+134369,15.0,ICD9_CODE,V090
+138376,1.0,ICD9_CODE,56983
+138376,2.0,ICD9_CODE,56089
+138376,3.0,ICD9_CODE,49121
+138376,4.0,ICD9_CODE,99859
+138376,5.0,ICD9_CODE,0389
+138376,6.0,ICD9_CODE,99592
+138376,7.0,ICD9_CODE,99831
+138376,8.0,ICD9_CODE,486
+138376,9.0,ICD9_CODE,5849
+138376,10.0,ICD9_CODE,5854
+138376,11.0,ICD9_CODE,2639
+138376,12.0,ICD9_CODE,42833
+138376,13.0,ICD9_CODE,40390
+138376,14.0,ICD9_CODE,42731
+138376,15.0,ICD9_CODE,4280
+138376,16.0,ICD9_CODE,41400
+138376,17.0,ICD9_CODE,V4581
+138376,18.0,ICD9_CODE,V1046
+138376,19.0,ICD9_CODE,V1011
+172461,1.0,ICD9_CODE,43331
+172461,2.0,ICD9_CODE,99812
+172461,3.0,ICD9_CODE,436
+172461,4.0,ICD9_CODE,43320
+172461,5.0,ICD9_CODE,4019
+172461,6.0,ICD9_CODE,2720
+172461,7.0,ICD9_CODE,49390
+172461,8.0,ICD9_CODE,41401
+172461,9.0,ICD9_CODE,V4581
+157348,1.0,ICD9_CODE,99671
+157348,2.0,ICD9_CODE,4241
+157348,3.0,ICD9_CODE,42731
+157348,4.0,ICD9_CODE,4168
+157348,5.0,ICD9_CODE,2449
+176860,1.0,ICD9_CODE,V3101
+176860,2.0,ICD9_CODE,76503
+176860,3.0,ICD9_CODE,769
+176860,4.0,ICD9_CODE,7793
+176860,5.0,ICD9_CODE,7742
+176860,6.0,ICD9_CODE,7707
+176860,7.0,ICD9_CODE,76524
+176860,8.0,ICD9_CODE,77081
+176860,9.0,ICD9_CODE,77981
+176860,10.0,ICD9_CODE,7470
+176860,11.0,ICD9_CODE,7766
+176860,12.0,ICD9_CODE,7726
+176860,13.0,ICD9_CODE,77989
+176860,14.0,ICD9_CODE,36221
+176860,15.0,ICD9_CODE,V290
+176860,16.0,ICD9_CODE,V053
+141647,1.0,ICD9_CODE,19889
+141647,2.0,ICD9_CODE,1972
+141647,3.0,ICD9_CODE,V103
+180872,1.0,ICD9_CODE,V3001
+180872,2.0,ICD9_CODE,74689
+180872,3.0,ICD9_CODE,7661
+180872,4.0,ICD9_CODE,V053
+180872,5.0,ICD9_CODE,V290
+180872,6.0,ICD9_CODE,V293
+164174,1.0,ICD9_CODE,85300
+164174,2.0,ICD9_CODE,78039
+164174,3.0,ICD9_CODE,E8889
+113323,1.0,ICD9_CODE,99859
+113323,2.0,ICD9_CODE,99831
+113323,3.0,ICD9_CODE,5185
+113323,4.0,ICD9_CODE,9971
+113323,5.0,ICD9_CODE,42731
+113323,6.0,ICD9_CODE,73028
+113323,7.0,ICD9_CODE,25000
+113323,8.0,ICD9_CODE,53081
+113323,9.0,ICD9_CODE,41400
+113323,10.0,ICD9_CODE,V4581
+198214,1.0,ICD9_CODE,41071
+198214,2.0,ICD9_CODE,4280
+198214,3.0,ICD9_CODE,2851
+198214,4.0,ICD9_CODE,41401
+198214,5.0,ICD9_CODE,25060
+198214,6.0,ICD9_CODE,3572
+198214,7.0,ICD9_CODE,2720
+198214,8.0,ICD9_CODE,53081
+171781,1.0,ICD9_CODE,V3001
+171781,2.0,ICD9_CODE,77214
+171781,3.0,ICD9_CODE,76518
+171781,4.0,ICD9_CODE,76528
+171781,5.0,ICD9_CODE,V053
+160192,1.0,ICD9_CODE,430
+160192,2.0,ICD9_CODE,78039
+160192,3.0,ICD9_CODE,2761
+160192,4.0,ICD9_CODE,3051
+191817,1.0,ICD9_CODE,41071
+191817,2.0,ICD9_CODE,41401
+191817,3.0,ICD9_CODE,496
+191817,4.0,ICD9_CODE,5990
+191817,5.0,ICD9_CODE,4400
+191817,6.0,ICD9_CODE,2939
+191817,7.0,ICD9_CODE,2749
+191817,8.0,ICD9_CODE,4439
+191817,9.0,ICD9_CODE,4019
+191817,10.0,ICD9_CODE,2720
+191817,11.0,ICD9_CODE,V1582
+167887,1.0,ICD9_CODE,3963
+167887,2.0,ICD9_CODE,41401
+167887,3.0,ICD9_CODE,4019
+167887,4.0,ICD9_CODE,53081
+167887,5.0,ICD9_CODE,3659
+167887,6.0,ICD9_CODE,2449
+167887,7.0,ICD9_CODE,4439
+192180,1.0,ICD9_CODE,135
+192180,2.0,ICD9_CODE,34982
+192180,3.0,ICD9_CODE,5990
+192180,4.0,ICD9_CODE,311
+192180,5.0,ICD9_CODE,E9352
+199634,1.0,ICD9_CODE,72141
+199634,2.0,ICD9_CODE,135
+199634,3.0,ICD9_CODE,496
+199634,4.0,ICD9_CODE,2148
+199634,5.0,ICD9_CODE,V5865
+199634,6.0,ICD9_CODE,72401
+199634,7.0,ICD9_CODE,53081
+199634,8.0,ICD9_CODE,4019
+199634,9.0,ICD9_CODE,25000
+184644,1.0,ICD9_CODE,4375
+184644,2.0,ICD9_CODE,486
+184644,3.0,ICD9_CODE,2720
+184644,4.0,ICD9_CODE,4019
+151583,1.0,ICD9_CODE,41401
+151583,2.0,ICD9_CODE,5185
+151583,3.0,ICD9_CODE,42731
+151583,4.0,ICD9_CODE,42732
+151583,5.0,ICD9_CODE,25060
+151583,6.0,ICD9_CODE,3572
+151583,7.0,ICD9_CODE,24290
+151583,8.0,ICD9_CODE,2720
+151583,9.0,ICD9_CODE,60000
+151583,10.0,ICD9_CODE,V4582
+151583,11.0,ICD9_CODE,V1582
+105764,1.0,ICD9_CODE,1890
+172056,2.0,ICD9_CODE,03811
+172056,3.0,ICD9_CODE,99591
+172056,4.0,ICD9_CODE,30400
+172056,5.0,ICD9_CODE,1120
+172056,6.0,ICD9_CODE,5111
+172056,7.0,ICD9_CODE,7895
+172056,8.0,ICD9_CODE,71107
+172056,9.0,ICD9_CODE,71104
+143430,1.0,ICD9_CODE,80012
+143430,2.0,ICD9_CODE,30500
+143430,3.0,ICD9_CODE,30560
+143430,4.0,ICD9_CODE,E8147
+143430,5.0,ICD9_CODE,8730
+143430,6.0,ICD9_CODE,7812
+143430,7.0,ICD9_CODE,37854
+143430,8.0,ICD9_CODE,9518
+104518,1.0,ICD9_CODE,V3000
+104518,2.0,ICD9_CODE,76519
+104518,3.0,ICD9_CODE,76528
+104518,4.0,ICD9_CODE,77089
+104518,5.0,ICD9_CODE,7742
+104518,6.0,ICD9_CODE,7793
+104518,7.0,ICD9_CODE,7678
+104518,8.0,ICD9_CODE,7661
+104518,9.0,ICD9_CODE,V053
+104518,10.0,ICD9_CODE,V293
+155252,1.0,ICD9_CODE,431
+155252,2.0,ICD9_CODE,2449
+155252,3.0,ICD9_CODE,4019
+155252,4.0,ICD9_CODE,2948
+155252,5.0,ICD9_CODE,311
+186474,1.0,ICD9_CODE,9982
+186474,2.0,ICD9_CODE,2768
+186474,3.0,ICD9_CODE,4019
+186474,4.0,ICD9_CODE,2449
+186474,5.0,ICD9_CODE,2851
+186474,6.0,ICD9_CODE,311
+108329,1.0,ICD9_CODE,042
+108329,2.0,ICD9_CODE,486
+108329,3.0,ICD9_CODE,4254
+108329,4.0,ICD9_CODE,2762
+108329,5.0,ICD9_CODE,5849
+108329,6.0,ICD9_CODE,570
+108329,7.0,ICD9_CODE,5859
+108329,8.0,ICD9_CODE,2848
+108329,9.0,ICD9_CODE,2875
+108329,10.0,ICD9_CODE,4280
+108329,11.0,ICD9_CODE,2859
+170467,1.0,ICD9_CODE,042
+170467,2.0,ICD9_CODE,486
+170467,3.0,ICD9_CODE,4254
+170467,4.0,ICD9_CODE,42820
+170467,5.0,ICD9_CODE,4280
+170467,6.0,ICD9_CODE,5849
+170467,7.0,ICD9_CODE,5859
+170467,8.0,ICD9_CODE,2639
+170467,9.0,ICD9_CODE,2848
+170467,10.0,ICD9_CODE,2761
+170467,11.0,ICD9_CODE,2859
+170467,12.0,ICD9_CODE,V141
+170467,13.0,ICD9_CODE,V071
+190201,1.0,ICD9_CODE,V3001
+190201,2.0,ICD9_CODE,76517
+190201,3.0,ICD9_CODE,76407
+190201,4.0,ICD9_CODE,7756
+190201,5.0,ICD9_CODE,7742
+190201,6.0,ICD9_CODE,7793
+190201,7.0,ICD9_CODE,76528
+190201,8.0,ICD9_CODE,7764
+178596,1.0,ICD9_CODE,V3001
+178596,2.0,ICD9_CODE,7454
+178596,3.0,ICD9_CODE,V053
+111944,1.0,ICD9_CODE,9695
+111944,2.0,ICD9_CODE,2762
+111944,3.0,ICD9_CODE,29590
+111944,4.0,ICD9_CODE,E9503
+111944,5.0,ICD9_CODE,2859
+111944,6.0,ICD9_CODE,2662
+156857,1.0,ICD9_CODE,V3000
+156857,2.0,ICD9_CODE,769
+156857,3.0,ICD9_CODE,7466
+156857,4.0,ICD9_CODE,7742
+156857,5.0,ICD9_CODE,2762
+156857,6.0,ICD9_CODE,77981
+156857,7.0,ICD9_CODE,76519
+156857,8.0,ICD9_CODE,76528
+156857,9.0,ICD9_CODE,76719
+156857,10.0,ICD9_CODE,V290
+156857,11.0,ICD9_CODE,7470
+156857,12.0,ICD9_CODE,74689
+194730,1.0,ICD9_CODE,41001
+194730,2.0,ICD9_CODE,9982
+194730,3.0,ICD9_CODE,5990
+194730,4.0,ICD9_CODE,41401
+194730,5.0,ICD9_CODE,4019
+194730,6.0,ICD9_CODE,2720
+194730,7.0,ICD9_CODE,V1042
+194730,8.0,ICD9_CODE,V1582
+182637,1.0,ICD9_CODE,V3001
+182637,2.0,ICD9_CODE,7660
+182637,3.0,ICD9_CODE,V053
+182637,4.0,ICD9_CODE,V290
+182637,5.0,ICD9_CODE,V293
+112086,1.0,ICD9_CODE,4241
+112086,2.0,ICD9_CODE,9973
+112086,3.0,ICD9_CODE,5180
+112086,4.0,ICD9_CODE,5990
+112086,5.0,ICD9_CODE,99709
+112086,6.0,ICD9_CODE,3558
+112086,7.0,ICD9_CODE,4019
+112086,8.0,ICD9_CODE,2720
+112086,9.0,ICD9_CODE,25000
+112086,10.0,ICD9_CODE,53081
+112086,11.0,ICD9_CODE,5533
+112086,12.0,ICD9_CODE,V1582
+142768,1.0,ICD9_CODE,41061
+142768,2.0,ICD9_CODE,4280
+142768,3.0,ICD9_CODE,41401
+142768,4.0,ICD9_CODE,2720
+142768,5.0,ICD9_CODE,2721
+142768,6.0,ICD9_CODE,2740
+100536,1.0,ICD9_CODE,96500
+100536,2.0,ICD9_CODE,042
+100536,3.0,ICD9_CODE,07054
+100536,4.0,ICD9_CODE,5715
+100536,5.0,ICD9_CODE,30401
+100536,6.0,ICD9_CODE,2848
+100536,7.0,ICD9_CODE,9694
+100536,8.0,ICD9_CODE,E8502
+100536,9.0,ICD9_CODE,E8532
+181542,1.0,ICD9_CODE,41011
+181542,2.0,ICD9_CODE,4271
+181542,3.0,ICD9_CODE,41401
+181542,4.0,ICD9_CODE,42689
+115385,1.0,ICD9_CODE,80416
+115385,2.0,ICD9_CODE,87342
+115385,3.0,ICD9_CODE,E916
+175016,1.0,ICD9_CODE,431
+175016,2.0,ICD9_CODE,20210
+175016,3.0,ICD9_CODE,4019
+110641,1.0,ICD9_CODE,V3001
+110641,2.0,ICD9_CODE,76519
+110641,3.0,ICD9_CODE,76528
+110641,4.0,ICD9_CODE,V502
+158569,1.0,ICD9_CODE,43310
+158569,2.0,ICD9_CODE,39891
+158569,3.0,ICD9_CODE,3963
+158569,4.0,ICD9_CODE,40391
+158569,5.0,ICD9_CODE,70715
+158569,6.0,ICD9_CODE,53081
+158569,7.0,ICD9_CODE,2720
+158569,8.0,ICD9_CODE,25000
+158569,9.0,ICD9_CODE,4148
+120969,1.0,ICD9_CODE,1919
+166401,1.0,ICD9_CODE,1919
+166401,2.0,ICD9_CODE,3484
+166401,3.0,ICD9_CODE,78701
+166401,4.0,ICD9_CODE,56400
+112077,1.0,ICD9_CODE,0389
+112077,2.0,ICD9_CODE,486
+112077,3.0,ICD9_CODE,V4281
+112077,4.0,ICD9_CODE,23875
+112077,5.0,ICD9_CODE,42731
+112077,6.0,ICD9_CODE,41400
+112077,7.0,ICD9_CODE,3004
+112077,8.0,ICD9_CODE,2724
+112077,9.0,ICD9_CODE,2449
+112077,10.0,ICD9_CODE,60001
+112077,11.0,ICD9_CODE,78843
+112077,12.0,ICD9_CODE,32723
+112077,13.0,ICD9_CODE,3320
+112077,14.0,ICD9_CODE,3051
+112077,15.0,ICD9_CODE,V1079
+112077,16.0,ICD9_CODE,V4581
+112077,17.0,ICD9_CODE,V433
+112077,18.0,ICD9_CODE,99591
+112077,19.0,ICD9_CODE,5853
+116630,1.0,ICD9_CODE,4241
+116630,2.0,ICD9_CODE,20280
+116630,3.0,ICD9_CODE,V4282
+116630,4.0,ICD9_CODE,99811
+116630,5.0,ICD9_CODE,3320
+116630,6.0,ICD9_CODE,30000
+116630,7.0,ICD9_CODE,53081
+116630,8.0,ICD9_CODE,60000
+116630,9.0,ICD9_CODE,E8798
+116630,10.0,ICD9_CODE,41401
+116630,11.0,ICD9_CODE,4412
+190243,1.0,ICD9_CODE,74561
+190243,2.0,ICD9_CODE,4240
+190659,1.0,ICD9_CODE,V3101
+190659,2.0,ICD9_CODE,76515
+190659,3.0,ICD9_CODE,76524
+190659,4.0,ICD9_CODE,769
+190659,5.0,ICD9_CODE,7707
+190659,6.0,ICD9_CODE,7775
+190659,7.0,ICD9_CODE,7742
+190659,8.0,ICD9_CODE,77211
+190659,9.0,ICD9_CODE,77081
+190659,10.0,ICD9_CODE,7766
+190659,11.0,ICD9_CODE,V290
+190659,12.0,ICD9_CODE,V053
+123010,1.0,ICD9_CODE,86113
+123010,2.0,ICD9_CODE,5119
+123010,3.0,ICD9_CODE,4239
+123010,4.0,ICD9_CODE,E966
+188646,1.0,ICD9_CODE,V3101
+188646,2.0,ICD9_CODE,7742
+188646,3.0,ICD9_CODE,76516
+188646,4.0,ICD9_CODE,76527
+188646,5.0,ICD9_CODE,22801
+188646,6.0,ICD9_CODE,V290
+121205,1.0,ICD9_CODE,20008
+121205,2.0,ICD9_CODE,2765
+121205,3.0,ICD9_CODE,5559
+121205,4.0,ICD9_CODE,99812
+121205,5.0,ICD9_CODE,51881
+121205,6.0,ICD9_CODE,4470
+121205,7.0,ICD9_CODE,135
+121205,8.0,ICD9_CODE,53100
+121205,9.0,ICD9_CODE,2866
+142807,1.0,ICD9_CODE,76502
+142807,2.0,ICD9_CODE,77181
+142807,3.0,ICD9_CODE,2762
+142807,4.0,ICD9_CODE,769
+142807,5.0,ICD9_CODE,7707
+142807,6.0,ICD9_CODE,77211
+142807,7.0,ICD9_CODE,7742
+142807,8.0,ICD9_CODE,7766
+142807,9.0,ICD9_CODE,36221
+160481,1.0,ICD9_CODE,V3000
+160481,2.0,ICD9_CODE,76503
+160481,3.0,ICD9_CODE,769
+160481,4.0,ICD9_CODE,77181
+160481,5.0,ICD9_CODE,7742
+160481,6.0,ICD9_CODE,76523
+160481,7.0,ICD9_CODE,7766
+160481,8.0,ICD9_CODE,77081
+160481,9.0,ICD9_CODE,77981
+160481,10.0,ICD9_CODE,7470
+160481,11.0,ICD9_CODE,36221
+160481,12.0,ICD9_CODE,2707
+140037,1.0,ICD9_CODE,33520
+140037,2.0,ICD9_CODE,51884
+140037,3.0,ICD9_CODE,486
+140037,4.0,ICD9_CODE,42731
+140037,5.0,ICD9_CODE,4019
+140037,6.0,ICD9_CODE,60000
+140037,7.0,ICD9_CODE,42789
+140037,8.0,ICD9_CODE,2859
+183686,1.0,ICD9_CODE,2761
+183686,2.0,ICD9_CODE,7234
+183686,3.0,ICD9_CODE,4240
+183686,4.0,ICD9_CODE,4589
+183686,5.0,ICD9_CODE,07999
+183686,6.0,ICD9_CODE,4019
+183686,7.0,ICD9_CODE,42789
+183686,8.0,ICD9_CODE,78841
+160891,1.0,ICD9_CODE,4260
+170324,1.0,ICD9_CODE,85181
+170324,2.0,ICD9_CODE,8072
+170324,3.0,ICD9_CODE,V461
+170324,4.0,ICD9_CODE,86402
+170324,5.0,ICD9_CODE,86509
+170324,6.0,ICD9_CODE,4538
+170324,7.0,ICD9_CODE,5185
+170324,8.0,ICD9_CODE,4821
+170324,9.0,ICD9_CODE,8604
+127870,1.0,ICD9_CODE,41401
+127870,2.0,ICD9_CODE,4241
+127870,3.0,ICD9_CODE,4111
+127870,4.0,ICD9_CODE,42731
+127870,5.0,ICD9_CODE,2720
+127870,6.0,ICD9_CODE,4019
+127870,7.0,ICD9_CODE,4401
+188606,1.0,ICD9_CODE,4373
+188606,2.0,ICD9_CODE,2449
+187373,1.0,ICD9_CODE,41401
+187373,2.0,ICD9_CODE,4139
+187373,3.0,ICD9_CODE,4019
+187373,4.0,ICD9_CODE,2720
+187373,5.0,ICD9_CODE,7820
+187373,6.0,ICD9_CODE,V1083
+187373,7.0,ICD9_CODE,6000
+153952,1.0,ICD9_CODE,99602
+153952,2.0,ICD9_CODE,4241
+153952,3.0,ICD9_CODE,4411
+153952,4.0,ICD9_CODE,4260
+153952,5.0,ICD9_CODE,42731
+175533,1.0,ICD9_CODE,51881
+175533,2.0,ICD9_CODE,5070
+175533,3.0,ICD9_CODE,48240
+175533,4.0,ICD9_CODE,5121
+175533,5.0,ICD9_CODE,5185
+175533,6.0,ICD9_CODE,4275
+175533,7.0,ICD9_CODE,3481
+175533,8.0,ICD9_CODE,78003
+175533,9.0,ICD9_CODE,2762
+195700,1.0,ICD9_CODE,V3000
+195700,2.0,ICD9_CODE,769
+195700,3.0,ICD9_CODE,7742
+195700,4.0,ICD9_CODE,7793
+195700,5.0,ICD9_CODE,76517
+195700,6.0,ICD9_CODE,76526
+195700,7.0,ICD9_CODE,75261
+195700,8.0,ICD9_CODE,75263
+195700,9.0,ICD9_CODE,V290
+130744,1.0,ICD9_CODE,1983
+130744,2.0,ICD9_CODE,431
+130744,3.0,ICD9_CODE,1623
+130744,4.0,ICD9_CODE,486
+130744,5.0,ICD9_CODE,4019
+130744,6.0,ICD9_CODE,V1582
+130744,7.0,ICD9_CODE,78321
+130744,8.0,ICD9_CODE,2559
+133550,1.0,ICD9_CODE,431
+133550,2.0,ICD9_CODE,1983
+133550,3.0,ICD9_CODE,1629
+133550,4.0,ICD9_CODE,4275
+133550,5.0,ICD9_CODE,4019
+164025,1.0,ICD9_CODE,V3001
+164025,2.0,ICD9_CODE,7756
+164025,3.0,ICD9_CODE,76408
+164025,4.0,ICD9_CODE,76529
+164025,5.0,ICD9_CODE,7746
+164025,6.0,ICD9_CODE,V502
+164025,7.0,ICD9_CODE,7784
+128744,1.0,ICD9_CODE,7806
+128744,2.0,ICD9_CODE,486
+128744,3.0,ICD9_CODE,4280
+128744,4.0,ICD9_CODE,3334
+161160,1.0,ICD9_CODE,5070
+161160,2.0,ICD9_CODE,0389
+163353,1.0,ICD9_CODE,V3001
+163353,2.0,ICD9_CODE,V053
+163353,3.0,ICD9_CODE,V290
+145834,1.0,ICD9_CODE,0389
+145834,2.0,ICD9_CODE,78559
+145834,3.0,ICD9_CODE,5849
+145834,4.0,ICD9_CODE,4275
+145834,5.0,ICD9_CODE,41071
+145834,6.0,ICD9_CODE,4280
+145834,7.0,ICD9_CODE,6826
+145834,8.0,ICD9_CODE,4254
+145834,9.0,ICD9_CODE,2639
+185777,1.0,ICD9_CODE,042
+185777,2.0,ICD9_CODE,1363
+185777,3.0,ICD9_CODE,7994
+185777,4.0,ICD9_CODE,2763
+185777,5.0,ICD9_CODE,7907
+185777,6.0,ICD9_CODE,5715
+185777,7.0,ICD9_CODE,04111
+185777,8.0,ICD9_CODE,V090
+185777,9.0,ICD9_CODE,E9317
+178980,1.0,ICD9_CODE,V3000
+178980,2.0,ICD9_CODE,V053
+178980,3.0,ICD9_CODE,V290
+107064,1.0,ICD9_CODE,40391
+107064,2.0,ICD9_CODE,4440
+107064,3.0,ICD9_CODE,9972
+107064,4.0,ICD9_CODE,2766
+107064,5.0,ICD9_CODE,2767
+107064,6.0,ICD9_CODE,2859
+107064,7.0,ICD9_CODE,2753
+107064,8.0,ICD9_CODE,V1582
+118037,1.0,ICD9_CODE,V3001
+118037,2.0,ICD9_CODE,V053
+118037,3.0,ICD9_CODE,V290
+159514,1.0,ICD9_CODE,V3001
+159514,2.0,ICD9_CODE,7706
+159514,3.0,ICD9_CODE,7746
+159514,4.0,ICD9_CODE,V290
+159514,5.0,ICD9_CODE,V502
+159514,6.0,ICD9_CODE,V053
+150750,1.0,ICD9_CODE,431
+150750,2.0,ICD9_CODE,5070
+150750,3.0,ICD9_CODE,4280
+150750,4.0,ICD9_CODE,5849
+150750,5.0,ICD9_CODE,2765
+150750,6.0,ICD9_CODE,4019
+184167,1.0,ICD9_CODE,V3000
+184167,2.0,ICD9_CODE,7742
+184167,3.0,ICD9_CODE,76525
+184167,4.0,ICD9_CODE,76515
+184167,5.0,ICD9_CODE,V290
+194540,1.0,ICD9_CODE,1913
+112213,1.0,ICD9_CODE,1570
+112213,2.0,ICD9_CODE,57410
+112213,3.0,ICD9_CODE,9971
+112213,4.0,ICD9_CODE,4275
+112213,5.0,ICD9_CODE,99811
+112213,6.0,ICD9_CODE,4019
+112213,7.0,ICD9_CODE,5680
+112213,8.0,ICD9_CODE,55321
+112213,9.0,ICD9_CODE,E8782
+143045,1.0,ICD9_CODE,41401
+143045,2.0,ICD9_CODE,4111
+143045,3.0,ICD9_CODE,25000
+143045,4.0,ICD9_CODE,4019
+143045,5.0,ICD9_CODE,2720
+103251,1.0,ICD9_CODE,V3000
+103251,2.0,ICD9_CODE,V290
+103251,3.0,ICD9_CODE,V502
+103251,4.0,ICD9_CODE,V053
+103251,5.0,ICD9_CODE,V721
+161087,1.0,ICD9_CODE,4239
+161087,2.0,ICD9_CODE,5119
+161087,3.0,ICD9_CODE,78551
+161087,4.0,ICD9_CODE,4589
+161087,5.0,ICD9_CODE,311
+161087,6.0,ICD9_CODE,7220
+161087,7.0,ICD9_CODE,71946
+161087,8.0,ICD9_CODE,2724
+194023,1.0,ICD9_CODE,7455
+194023,2.0,ICD9_CODE,45829
+194023,3.0,ICD9_CODE,V1259
+194023,4.0,ICD9_CODE,2724
+188822,1.0,ICD9_CODE,25080
+188822,2.0,ICD9_CODE,78039
+188822,3.0,ICD9_CODE,29633
+188822,4.0,ICD9_CODE,V5867
+188822,5.0,ICD9_CODE,E9323
+188822,6.0,ICD9_CODE,V5869
+188822,7.0,ICD9_CODE,47829
+188822,8.0,ICD9_CODE,78057
+188822,9.0,ICD9_CODE,78321
+188822,10.0,ICD9_CODE,4019
+188822,11.0,ICD9_CODE,4264
+188822,12.0,ICD9_CODE,2720
+188822,13.0,ICD9_CODE,V170
+109235,1.0,ICD9_CODE,80502
+109235,2.0,ICD9_CODE,5990
+109235,3.0,ICD9_CODE,5964
+109235,4.0,ICD9_CODE,E8809
+109235,5.0,ICD9_CODE,8220
+109235,6.0,ICD9_CODE,73300
+109235,7.0,ICD9_CODE,2948
+109235,8.0,ICD9_CODE,4019
+109235,9.0,ICD9_CODE,44321
+157681,1.0,ICD9_CODE,41401
+157681,2.0,ICD9_CODE,4111
+157681,3.0,ICD9_CODE,25000
+157681,4.0,ICD9_CODE,2724
+157681,5.0,ICD9_CODE,4019
+109451,1.0,ICD9_CODE,41071
+109451,2.0,ICD9_CODE,78551
+109451,3.0,ICD9_CODE,5781
+109451,4.0,ICD9_CODE,5849
+109451,5.0,ICD9_CODE,40391
+109451,6.0,ICD9_CODE,4280
+109451,7.0,ICD9_CODE,4592
+109451,8.0,ICD9_CODE,5070
+109451,9.0,ICD9_CODE,42731
+109451,10.0,ICD9_CODE,4271
+109451,11.0,ICD9_CODE,41401
+109451,12.0,ICD9_CODE,25000
+109451,13.0,ICD9_CODE,28521
+109451,14.0,ICD9_CODE,1122
+109451,15.0,ICD9_CODE,2720
+109451,16.0,ICD9_CODE,2749
+109451,17.0,ICD9_CODE,V1046
+109451,18.0,ICD9_CODE,43889
+111970,1.0,ICD9_CODE,0388
+111970,2.0,ICD9_CODE,78552
+111970,3.0,ICD9_CODE,40391
+111970,4.0,ICD9_CODE,42731
+111970,5.0,ICD9_CODE,70709
+111970,6.0,ICD9_CODE,5119
+111970,7.0,ICD9_CODE,6823
+111970,8.0,ICD9_CODE,99859
+111970,9.0,ICD9_CODE,00845
+111970,10.0,ICD9_CODE,5720
+111970,11.0,ICD9_CODE,99592
+111970,12.0,ICD9_CODE,V0980
+111970,13.0,ICD9_CODE,25000
+111970,14.0,ICD9_CODE,2859
+111970,15.0,ICD9_CODE,43889
+111970,16.0,ICD9_CODE,2749
+111970,17.0,ICD9_CODE,41401
+111970,18.0,ICD9_CODE,185
+111970,19.0,ICD9_CODE,4439
+111970,20.0,ICD9_CODE,2449
+111970,21.0,ICD9_CODE,E8788
+165315,1.0,ICD9_CODE,9678
+165315,2.0,ICD9_CODE,9693
+165315,3.0,ICD9_CODE,E9502
+165315,4.0,ICD9_CODE,E9503
+165315,5.0,ICD9_CODE,3488
+165315,6.0,ICD9_CODE,29620
+165315,7.0,ICD9_CODE,4019
+124321,1.0,ICD9_CODE,2252
+124321,2.0,ICD9_CODE,3485
+124321,3.0,ICD9_CODE,78039
+124321,4.0,ICD9_CODE,4241
+124321,5.0,ICD9_CODE,4019
+124321,6.0,ICD9_CODE,2720
+124321,7.0,ICD9_CODE,2724
+124321,8.0,ICD9_CODE,V4581
+124321,9.0,ICD9_CODE,V4579
+124321,10.0,ICD9_CODE,V1582
+152223,1.0,ICD9_CODE,41401
+152223,2.0,ICD9_CODE,4111
+152223,3.0,ICD9_CODE,4241
+152223,4.0,ICD9_CODE,V4582
+152223,5.0,ICD9_CODE,2724
+152223,6.0,ICD9_CODE,4019
+152223,7.0,ICD9_CODE,60000
+152223,8.0,ICD9_CODE,3899
+161859,1.0,ICD9_CODE,41041
+161859,2.0,ICD9_CODE,41401
+161859,3.0,ICD9_CODE,53081
+161859,4.0,ICD9_CODE,25000
+129635,1.0,ICD9_CODE,41071
+129635,2.0,ICD9_CODE,25011
+129635,3.0,ICD9_CODE,41401
+129635,4.0,ICD9_CODE,4019
+197661,1.0,ICD9_CODE,99604
+197661,2.0,ICD9_CODE,4271
+197661,3.0,ICD9_CODE,4280
+197661,4.0,ICD9_CODE,42731
+197661,5.0,ICD9_CODE,41401
+197661,6.0,ICD9_CODE,412
+197661,7.0,ICD9_CODE,5939
+197661,8.0,ICD9_CODE,2720
+197661,9.0,ICD9_CODE,60000
+134931,1.0,ICD9_CODE,V3000
+134931,2.0,ICD9_CODE,7706
+134931,3.0,ICD9_CODE,V290
+134931,4.0,ICD9_CODE,V053
+162569,1.0,ICD9_CODE,41401
+162569,2.0,ICD9_CODE,4111
+162569,3.0,ICD9_CODE,496
+162569,4.0,ICD9_CODE,412
+162569,5.0,ICD9_CODE,25000
+162569,6.0,ICD9_CODE,2720
+162569,7.0,ICD9_CODE,4263
+162569,8.0,ICD9_CODE,30029
+162569,9.0,ICD9_CODE,V1582
+162569,10.0,ICD9_CODE,V4582
+162569,11.0,ICD9_CODE,V174
+104557,1.0,ICD9_CODE,99674
+104557,2.0,ICD9_CODE,4160
+104557,3.0,ICD9_CODE,4111
+104557,4.0,ICD9_CODE,4281
+104557,5.0,ICD9_CODE,4271
+104557,6.0,ICD9_CODE,41401
+104557,7.0,ICD9_CODE,4019
+104557,8.0,ICD9_CODE,2720
+104557,9.0,ICD9_CODE,5939
+128652,1.0,ICD9_CODE,3453
+128652,2.0,ICD9_CODE,20190
+128652,3.0,ICD9_CODE,515
+128652,4.0,ICD9_CODE,486
+128652,5.0,ICD9_CODE,4019
+128652,6.0,ICD9_CODE,36250
+128652,7.0,ICD9_CODE,E9331
+128652,8.0,ICD9_CODE,4371
+175413,1.0,ICD9_CODE,5191
+175413,2.0,ICD9_CODE,496
+175413,3.0,ICD9_CODE,42731
+175413,4.0,ICD9_CODE,4538
+175413,5.0,ICD9_CODE,53081
+175413,6.0,ICD9_CODE,78057
+175413,7.0,ICD9_CODE,4019
+175413,8.0,ICD9_CODE,27801
+176176,1.0,ICD9_CODE,0389
+176176,2.0,ICD9_CODE,4928
+176176,3.0,ICD9_CODE,49390
+115799,1.0,ICD9_CODE,41071
+115799,2.0,ICD9_CODE,4280
+115799,3.0,ICD9_CODE,4254
+115799,4.0,ICD9_CODE,42731
+115799,5.0,ICD9_CODE,9971
+115799,6.0,ICD9_CODE,4260
+115799,7.0,ICD9_CODE,41401
+115799,8.0,ICD9_CODE,E8790
+144319,1.0,ICD9_CODE,42789
+144319,2.0,ICD9_CODE,42822
+144319,3.0,ICD9_CODE,4263
+144319,4.0,ICD9_CODE,41401
+144319,5.0,ICD9_CODE,V5861
+144319,6.0,ICD9_CODE,4280
+144319,7.0,ICD9_CODE,2449
+144319,8.0,ICD9_CODE,3659
+166707,1.0,ICD9_CODE,3962
+166707,2.0,ICD9_CODE,4260
+166707,3.0,ICD9_CODE,2875
+166707,4.0,ICD9_CODE,9971
+166707,5.0,ICD9_CODE,42731
+166707,6.0,ICD9_CODE,42732
+166707,7.0,ICD9_CODE,41401
+166707,8.0,ICD9_CODE,4019
+166707,9.0,ICD9_CODE,2449
+166707,10.0,ICD9_CODE,25000
+166707,11.0,ICD9_CODE,71590
+122659,1.0,ICD9_CODE,99831
+122659,2.0,ICD9_CODE,99811
+122659,3.0,ICD9_CODE,41511
+122659,4.0,ICD9_CODE,4538
+122659,5.0,ICD9_CODE,99672
+122659,6.0,ICD9_CODE,496
+122659,7.0,ICD9_CODE,41401
+122659,8.0,ICD9_CODE,V4581
+122659,9.0,ICD9_CODE,4019
+122659,10.0,ICD9_CODE,60000
+122659,11.0,ICD9_CODE,53081
+122659,12.0,ICD9_CODE,V1051
+165660,1.0,ICD9_CODE,55321
+165660,2.0,ICD9_CODE,41511
+165660,3.0,ICD9_CODE,5185
+165660,4.0,ICD9_CODE,486
+165660,5.0,ICD9_CODE,99739
+165660,6.0,ICD9_CODE,5180
+165660,7.0,ICD9_CODE,41400
+165660,8.0,ICD9_CODE,496
+165660,9.0,ICD9_CODE,4019
+165660,10.0,ICD9_CODE,60000
+165660,11.0,ICD9_CODE,30000
+165660,12.0,ICD9_CODE,V1051
+182104,1.0,ICD9_CODE,41401
+182104,2.0,ICD9_CODE,4111
+182104,3.0,ICD9_CODE,496
+182104,4.0,ICD9_CODE,4019
+182104,5.0,ICD9_CODE,3051
+182104,6.0,ICD9_CODE,53081
+182104,7.0,ICD9_CODE,60000
+182104,8.0,ICD9_CODE,V1051
+182104,9.0,ICD9_CODE,5968
+188670,1.0,ICD9_CODE,41071
+188670,2.0,ICD9_CODE,4280
+188670,3.0,ICD9_CODE,496
+188670,4.0,ICD9_CODE,53551
+188670,5.0,ICD9_CODE,2851
+188670,6.0,ICD9_CODE,486
+188670,7.0,ICD9_CODE,41401
+188670,8.0,ICD9_CODE,25000
+188670,9.0,ICD9_CODE,42789
+185910,1.0,ICD9_CODE,60883
+185910,2.0,ICD9_CODE,0389
+185910,3.0,ICD9_CODE,99592
+185910,4.0,ICD9_CODE,5849
+185910,5.0,ICD9_CODE,4280
+185910,6.0,ICD9_CODE,42731
+185910,7.0,ICD9_CODE,9982
+185910,8.0,ICD9_CODE,9974
+185910,9.0,ICD9_CODE,5601
+185910,10.0,ICD9_CODE,6084
+185910,11.0,ICD9_CODE,E8708
+185910,12.0,ICD9_CODE,41400
+185910,13.0,ICD9_CODE,V4581
+106266,1.0,ICD9_CODE,V3000
+106266,2.0,ICD9_CODE,769
+106266,3.0,ICD9_CODE,7742
+106266,4.0,ICD9_CODE,2765
+106266,5.0,ICD9_CODE,7708
+106266,6.0,ICD9_CODE,76519
+106266,7.0,ICD9_CODE,V290
+106266,8.0,ICD9_CODE,V058
+106266,9.0,ICD9_CODE,V053
+101757,1.0,ICD9_CODE,1917
+101757,2.0,ICD9_CODE,5185
+101757,3.0,ICD9_CODE,5130
+101757,4.0,ICD9_CODE,48241
+101757,5.0,ICD9_CODE,5070
+101757,6.0,ICD9_CODE,70705
+101757,7.0,ICD9_CODE,1124
+101757,8.0,ICD9_CODE,496
+101757,9.0,ICD9_CODE,48282
+101757,10.0,ICD9_CODE,78820
+101757,11.0,ICD9_CODE,5121
+101757,12.0,ICD9_CODE,70703
+101757,13.0,ICD9_CODE,3485
+101757,14.0,ICD9_CODE,V1005
+101757,15.0,ICD9_CODE,V1047
+101757,16.0,ICD9_CODE,4019
+101757,17.0,ICD9_CODE,2859
+101757,18.0,ICD9_CODE,3051
+101757,19.0,ICD9_CODE,7099
+119203,1.0,ICD9_CODE,42741
+119203,2.0,ICD9_CODE,4280
+119203,3.0,ICD9_CODE,41400
+119203,4.0,ICD9_CODE,412
+119203,5.0,ICD9_CODE,4019
+119203,6.0,ICD9_CODE,43820
+119203,7.0,ICD9_CODE,43819
+146828,1.0,ICD9_CODE,8052
+146828,2.0,ICD9_CODE,5180
+146828,3.0,ICD9_CODE,E8210
+181750,1.0,ICD9_CODE,41401
+181750,2.0,ICD9_CODE,4139
+181750,3.0,ICD9_CODE,5960
+181750,4.0,ICD9_CODE,42731
+181750,5.0,ICD9_CODE,3968
+181750,6.0,ICD9_CODE,4019
+181750,7.0,ICD9_CODE,2720
+181750,8.0,ICD9_CODE,78057
+181750,9.0,ICD9_CODE,V173
+181750,10.0,ICD9_CODE,4439
+157907,1.0,ICD9_CODE,8249
+157907,2.0,ICD9_CODE,9984
+157907,3.0,ICD9_CODE,8730
+157907,4.0,ICD9_CODE,87344
+157907,5.0,ICD9_CODE,9110
+157907,6.0,ICD9_CODE,9130
+157907,7.0,ICD9_CODE,E8122
+157907,8.0,ICD9_CODE,3051
+144073,1.0,ICD9_CODE,5768
+144073,2.0,ICD9_CODE,20300
+144073,3.0,ICD9_CODE,99659
+144073,4.0,ICD9_CODE,99811
+144073,5.0,ICD9_CODE,2851
+144073,6.0,ICD9_CODE,2809
+144073,7.0,ICD9_CODE,2811
+144073,8.0,ICD9_CODE,22809
+190539,1.0,ICD9_CODE,4241
+190539,2.0,ICD9_CODE,42731
+190539,3.0,ICD9_CODE,4280
+190539,4.0,ICD9_CODE,496
+190539,5.0,ICD9_CODE,2939
+190539,6.0,ICD9_CODE,40390
+190539,7.0,ICD9_CODE,56409
+190539,8.0,ICD9_CODE,311
+190539,9.0,ICD9_CODE,V4582
+190539,10.0,ICD9_CODE,412
+190539,11.0,ICD9_CODE,2724
+132761,1.0,ICD9_CODE,V3000
+132761,2.0,ICD9_CODE,7746
+132761,3.0,ICD9_CODE,7661
+132761,4.0,ICD9_CODE,V290
+132761,5.0,ICD9_CODE,V293
+196010,1.0,ICD9_CODE,V3000
+196010,2.0,ICD9_CODE,V502
+196010,3.0,ICD9_CODE,V053
+196010,4.0,ICD9_CODE,V290
+190797,1.0,ICD9_CODE,7907
+190797,2.0,ICD9_CODE,78039
+190797,3.0,ICD9_CODE,5849
+190797,4.0,ICD9_CODE,58089
+190797,5.0,ICD9_CODE,5712
+190797,6.0,ICD9_CODE,07054
+190797,7.0,ICD9_CODE,04111
+190797,8.0,ICD9_CODE,5728
+190797,9.0,ICD9_CODE,2841
+155385,1.0,ICD9_CODE,41021
+155385,2.0,ICD9_CODE,30562
+155385,3.0,ICD9_CODE,41401
+155385,4.0,ICD9_CODE,4019
+155385,5.0,ICD9_CODE,53081
+138795,1.0,ICD9_CODE,V3001
+138795,2.0,ICD9_CODE,V290
+138795,3.0,ICD9_CODE,V053
+190665,1.0,ICD9_CODE,43310
+190665,2.0,ICD9_CODE,4280
+190665,3.0,ICD9_CODE,2720
+190665,4.0,ICD9_CODE,4019
+190665,5.0,ICD9_CODE,2449
+190665,6.0,ICD9_CODE,25000
+190665,7.0,ICD9_CODE,V1011
+190665,8.0,ICD9_CODE,41400
+190665,9.0,ICD9_CODE,V4582
+190665,10.0,ICD9_CODE,V4502
+181711,1.0,ICD9_CODE,1983
+181711,2.0,ICD9_CODE,1628
+181711,3.0,ICD9_CODE,53140
+181711,4.0,ICD9_CODE,2761
+181711,5.0,ICD9_CODE,4280
+181711,6.0,ICD9_CODE,78039
+181711,7.0,ICD9_CODE,2720
+181711,8.0,ICD9_CODE,4019
+162774,1.0,ICD9_CODE,V3001
+162774,2.0,ICD9_CODE,7661
+162774,3.0,ICD9_CODE,V053
+162774,4.0,ICD9_CODE,V290
+162774,5.0,ICD9_CODE,V293
+177285,1.0,ICD9_CODE,V3000
+177285,2.0,ICD9_CODE,2161
+177285,3.0,ICD9_CODE,V053
+177285,4.0,ICD9_CODE,V290
+104130,1.0,ICD9_CODE,5990
+104130,2.0,ICD9_CODE,40391
+104130,3.0,ICD9_CODE,5856
+104130,4.0,ICD9_CODE,25080
+104130,5.0,ICD9_CODE,0414
+104130,6.0,ICD9_CODE,4589
+104130,7.0,ICD9_CODE,311
+104130,8.0,ICD9_CODE,2948
+104130,9.0,ICD9_CODE,78701
+104130,10.0,ICD9_CODE,2449
+104130,11.0,ICD9_CODE,V4501
+104130,12.0,ICD9_CODE,28529
+198892,1.0,ICD9_CODE,V3401
+198892,2.0,ICD9_CODE,76518
+198892,3.0,ICD9_CODE,76527
+176332,1.0,ICD9_CODE,20280
+176332,2.0,ICD9_CODE,2880
+176332,3.0,ICD9_CODE,2875
+176332,4.0,ICD9_CODE,5781
+176332,5.0,ICD9_CODE,2851
+176332,6.0,ICD9_CODE,2639
+176332,7.0,ICD9_CODE,9998
+176332,8.0,ICD9_CODE,5790
+176332,9.0,ICD9_CODE,6930
+189535,1.0,ICD9_CODE,20280
+189535,2.0,ICD9_CODE,2848
+189535,3.0,ICD9_CODE,99685
+189535,4.0,ICD9_CODE,56983
+189535,5.0,ICD9_CODE,5672
+189535,6.0,ICD9_CODE,2762
+189535,7.0,ICD9_CODE,0389
+189535,8.0,ICD9_CODE,99591
+189535,9.0,ICD9_CODE,2763
+189535,10.0,ICD9_CODE,7994
+189535,11.0,ICD9_CODE,1120
+189535,12.0,ICD9_CODE,2765
+189535,13.0,ICD9_CODE,4589
+189535,14.0,ICD9_CODE,42731
+189535,15.0,ICD9_CODE,2554
+189535,16.0,ICD9_CODE,3510
+189535,17.0,ICD9_CODE,0880
+116009,1.0,ICD9_CODE,1125
+116009,2.0,ICD9_CODE,03849
+116009,3.0,ICD9_CODE,7100
+116009,4.0,ICD9_CODE,99591
+116009,5.0,ICD9_CODE,2859
+116009,6.0,ICD9_CODE,7140
+195961,1.0,ICD9_CODE,71945
+195961,2.0,ICD9_CODE,4280
+195961,3.0,ICD9_CODE,496
+195961,4.0,ICD9_CODE,57420
+195961,5.0,ICD9_CODE,4148
+195961,6.0,ICD9_CODE,E8889
+195961,7.0,ICD9_CODE,E8498
+195961,8.0,ICD9_CODE,7808
+195961,9.0,ICD9_CODE,2948
+195961,10.0,ICD9_CODE,3079
+172056,1.0,ICD9_CODE,4210
+126055,17.0,ICD9_CODE,V4511
+126055,18.0,ICD9_CODE,34590
+126055,19.0,ICD9_CODE,56400
+126055,20.0,ICD9_CODE,28521
+126055,21.0,ICD9_CODE,79092
+126055,22.0,ICD9_CODE,32723
+126055,23.0,ICD9_CODE,51889
+126055,24.0,ICD9_CODE,78659
+126055,25.0,ICD9_CODE,78060
+126055,26.0,ICD9_CODE,7821
+126055,27.0,ICD9_CODE,4168
+126055,28.0,ICD9_CODE,V1251
+126055,29.0,ICD9_CODE,V5861
+128755,1.0,ICD9_CODE,4372
+128755,2.0,ICD9_CODE,78039
+128755,3.0,ICD9_CODE,7100
+128755,4.0,ICD9_CODE,40391
+128755,5.0,ICD9_CODE,4251
+128755,6.0,ICD9_CODE,2859
+131345,1.0,ICD9_CODE,40301
+131345,2.0,ICD9_CODE,58281
+131345,3.0,ICD9_CODE,4254
+131345,4.0,ICD9_CODE,7100
+131345,5.0,ICD9_CODE,2875
+131345,6.0,ICD9_CODE,78702
+131345,7.0,ICD9_CODE,E9426
+131345,8.0,ICD9_CODE,9596
+131345,9.0,ICD9_CODE,E9289
+131345,10.0,ICD9_CODE,4589
+131345,11.0,ICD9_CODE,2859
+131345,12.0,ICD9_CODE,V1251
+131345,13.0,ICD9_CODE,5856
+131345,14.0,ICD9_CODE,V451
+131345,15.0,ICD9_CODE,5990
+131345,16.0,ICD9_CODE,2767
+131345,17.0,ICD9_CODE,2762
+131345,18.0,ICD9_CODE,2753
+131345,19.0,ICD9_CODE,27541
+131345,20.0,ICD9_CODE,58881
+131376,1.0,ICD9_CODE,40301
+131376,2.0,ICD9_CODE,5856
+131376,3.0,ICD9_CODE,58281
+131376,4.0,ICD9_CODE,4254
+131376,5.0,ICD9_CODE,3643
+131376,6.0,ICD9_CODE,2841
+131376,7.0,ICD9_CODE,78959
+131376,8.0,ICD9_CODE,33829
+131376,9.0,ICD9_CODE,78900
+131376,10.0,ICD9_CODE,7100
+131376,11.0,ICD9_CODE,2875
+131376,12.0,ICD9_CODE,28521
+131376,13.0,ICD9_CODE,32723
+131376,14.0,ICD9_CODE,44389
+131376,15.0,ICD9_CODE,28529
+131376,16.0,ICD9_CODE,53190
+131376,17.0,ICD9_CODE,34590
+131376,18.0,ICD9_CODE,V5861
+131376,19.0,ICD9_CODE,V1251
+131376,20.0,ICD9_CODE,V1254
+135923,1.0,ICD9_CODE,40301
+135923,2.0,ICD9_CODE,5856
+135923,3.0,ICD9_CODE,4251
+135923,4.0,ICD9_CODE,7100
+135923,5.0,ICD9_CODE,79902
+135923,6.0,ICD9_CODE,E9352
+135923,7.0,ICD9_CODE,2875
+135923,8.0,ICD9_CODE,28521
+135923,9.0,ICD9_CODE,78909
+135923,10.0,ICD9_CODE,32723
+135923,11.0,ICD9_CODE,3004
+135923,12.0,ICD9_CODE,V4511
+135923,13.0,ICD9_CODE,V1251
+135923,14.0,ICD9_CODE,V5861
+135923,15.0,ICD9_CODE,V4589
+136572,1.0,ICD9_CODE,2766
+136572,2.0,ICD9_CODE,5856
+136572,3.0,ICD9_CODE,40301
+136572,4.0,ICD9_CODE,4254
+136572,5.0,ICD9_CODE,4239
+136572,6.0,ICD9_CODE,28529
+136572,7.0,ICD9_CODE,2767
+136572,8.0,ICD9_CODE,7100
+136572,9.0,ICD9_CODE,78909
+136572,10.0,ICD9_CODE,33829
+136572,11.0,ICD9_CODE,4589
+136572,12.0,ICD9_CODE,53190
+136572,13.0,ICD9_CODE,34590
+136572,14.0,ICD9_CODE,311
+136572,15.0,ICD9_CODE,V1251
+136572,16.0,ICD9_CODE,V4512
+137510,1.0,ICD9_CODE,40301
+137510,2.0,ICD9_CODE,5856
+137510,3.0,ICD9_CODE,3643
+137510,4.0,ICD9_CODE,4254
+137510,5.0,ICD9_CODE,4239
+137510,6.0,ICD9_CODE,2766
+137510,7.0,ICD9_CODE,7100
+137510,8.0,ICD9_CODE,58381
+137510,9.0,ICD9_CODE,V4512
+137510,10.0,ICD9_CODE,V1581
+137510,11.0,ICD9_CODE,V642
+137510,12.0,ICD9_CODE,78904
+137510,13.0,ICD9_CODE,V4511
+137510,14.0,ICD9_CODE,2875
+137510,15.0,ICD9_CODE,28529
+137510,16.0,ICD9_CODE,V1251
+137510,17.0,ICD9_CODE,V5861
+137510,18.0,ICD9_CODE,4439
+137510,19.0,ICD9_CODE,V4578
+137510,20.0,ICD9_CODE,V0254
+139061,1.0,ICD9_CODE,40301
+139061,2.0,ICD9_CODE,58281
+139061,3.0,ICD9_CODE,5855
+139061,4.0,ICD9_CODE,5990
+139061,5.0,ICD9_CODE,4254
+139061,6.0,ICD9_CODE,7100
+139061,7.0,ICD9_CODE,7243
+139061,8.0,ICD9_CODE,2767
+139061,9.0,ICD9_CODE,2875
+139061,10.0,ICD9_CODE,79092
+139061,11.0,ICD9_CODE,25200
+139061,12.0,ICD9_CODE,28529
+139061,13.0,ICD9_CODE,V1251
+140167,1.0,ICD9_CODE,40301
+140167,2.0,ICD9_CODE,5856
+140167,3.0,ICD9_CODE,99656
+140167,4.0,ICD9_CODE,4251
+140167,5.0,ICD9_CODE,4239
+140167,6.0,ICD9_CODE,9951
+140167,7.0,ICD9_CODE,78909
+140167,8.0,ICD9_CODE,7100
+140167,9.0,ICD9_CODE,2874
+140167,10.0,ICD9_CODE,28521
+140167,11.0,ICD9_CODE,3004
+140167,12.0,ICD9_CODE,32723
+140167,13.0,ICD9_CODE,V1251
+140167,14.0,ICD9_CODE,V5865
+140167,15.0,ICD9_CODE,V5861
+140167,16.0,ICD9_CODE,E8781
+140167,17.0,ICD9_CODE,E9426
+147469,1.0,ICD9_CODE,40301
+147469,2.0,ICD9_CODE,5856
+147469,3.0,ICD9_CODE,34839
+147469,4.0,ICD9_CODE,58281
+147469,5.0,ICD9_CODE,5990
+147469,6.0,ICD9_CODE,2762
+147469,7.0,ICD9_CODE,3643
+147469,8.0,ICD9_CODE,2839
+147469,9.0,ICD9_CODE,7100
+147469,10.0,ICD9_CODE,V1251
+147469,11.0,ICD9_CODE,V5861
+147469,12.0,ICD9_CODE,7842
+147469,13.0,ICD9_CODE,2767
+147469,14.0,ICD9_CODE,61172
+147469,15.0,ICD9_CODE,2875
+147469,16.0,ICD9_CODE,27541
+147469,17.0,ICD9_CODE,2753
+151240,1.0,ICD9_CODE,40301
+151240,2.0,ICD9_CODE,5856
+151240,3.0,ICD9_CODE,4254
+151240,4.0,ICD9_CODE,4239
+151240,5.0,ICD9_CODE,7100
+151240,6.0,ICD9_CODE,58381
+151240,7.0,ICD9_CODE,2767
+151240,8.0,ICD9_CODE,78701
+151240,9.0,ICD9_CODE,78791
+151240,10.0,ICD9_CODE,2753
+151240,11.0,ICD9_CODE,28529
+151240,12.0,ICD9_CODE,78904
+151240,13.0,ICD9_CODE,33829
+151240,14.0,ICD9_CODE,2875
+151240,15.0,ICD9_CODE,44389
+151240,16.0,ICD9_CODE,V0254
+151240,17.0,ICD9_CODE,V5861
+151240,18.0,ICD9_CODE,V4512
+151240,19.0,ICD9_CODE,V4511
+151240,20.0,ICD9_CODE,V1581
+155726,1.0,ICD9_CODE,40301
+155726,2.0,ICD9_CODE,5856
+155726,3.0,ICD9_CODE,58281
+155726,4.0,ICD9_CODE,4254
+155726,5.0,ICD9_CODE,78959
+155726,6.0,ICD9_CODE,2875
+155726,7.0,ICD9_CODE,4592
+155726,8.0,ICD9_CODE,2841
+155726,9.0,ICD9_CODE,7100
+155726,10.0,ICD9_CODE,78900
+155726,11.0,ICD9_CODE,33819
+155726,12.0,ICD9_CODE,33829
+155726,13.0,ICD9_CODE,53190
+155726,14.0,ICD9_CODE,53081
+155726,15.0,ICD9_CODE,311
+155726,16.0,ICD9_CODE,28521
+155726,17.0,ICD9_CODE,28529
+155726,18.0,ICD9_CODE,34590
+155726,19.0,ICD9_CODE,73399
+155726,20.0,ICD9_CODE,32723
+155726,21.0,ICD9_CODE,44389
+155726,22.0,ICD9_CODE,62211
+155726,23.0,ICD9_CODE,V4512
+155726,24.0,ICD9_CODE,V1251
+155726,25.0,ICD9_CODE,V5861
+158943,1.0,ICD9_CODE,2766
+158943,2.0,ICD9_CODE,5856
+158943,3.0,ICD9_CODE,40301
+158943,4.0,ICD9_CODE,58281
+158943,5.0,ICD9_CODE,4592
+158943,6.0,ICD9_CODE,4239
+158943,7.0,ICD9_CODE,99662
+158943,8.0,ICD9_CODE,7907
+158943,9.0,ICD9_CODE,28981
+158943,10.0,ICD9_CODE,4254
+158943,11.0,ICD9_CODE,4251
+158943,12.0,ICD9_CODE,78900
+158943,13.0,ICD9_CODE,5990
+158943,14.0,ICD9_CODE,2762
+158943,15.0,ICD9_CODE,78659
+158943,16.0,ICD9_CODE,33829
+158943,17.0,ICD9_CODE,7100
+158943,18.0,ICD9_CODE,V4512
+158943,19.0,ICD9_CODE,2875
+158943,20.0,ICD9_CODE,28521
+158943,21.0,ICD9_CODE,2767
+158943,22.0,ICD9_CODE,04104
+158943,23.0,ICD9_CODE,E8791
+158943,24.0,ICD9_CODE,04112
+158943,25.0,ICD9_CODE,32723
+158943,26.0,ICD9_CODE,V1251
+158943,27.0,ICD9_CODE,V5861
+158995,1.0,ICD9_CODE,96509
+158995,2.0,ICD9_CODE,5856
+158995,3.0,ICD9_CODE,40301
+158995,4.0,ICD9_CODE,58281
+158995,5.0,ICD9_CODE,4466
+158995,6.0,ICD9_CODE,4254
+158995,7.0,ICD9_CODE,2762
+158995,8.0,ICD9_CODE,7100
+158995,9.0,ICD9_CODE,2875
+158995,10.0,ICD9_CODE,78097
+158995,11.0,ICD9_CODE,45829
+158995,12.0,ICD9_CODE,E8502
+158995,13.0,ICD9_CODE,2767
+158995,14.0,ICD9_CODE,28521
+158995,15.0,ICD9_CODE,32723
+158995,16.0,ICD9_CODE,3004
+158995,17.0,ICD9_CODE,72992
+158995,18.0,ICD9_CODE,V4512
+158995,19.0,ICD9_CODE,V5861
+158995,20.0,ICD9_CODE,V1251
+161950,1.0,ICD9_CODE,40301
+161950,2.0,ICD9_CODE,5856
+161950,3.0,ICD9_CODE,78959
+161950,4.0,ICD9_CODE,4251
+161950,5.0,ICD9_CODE,7100
+161950,6.0,ICD9_CODE,7840
+161950,7.0,ICD9_CODE,28521
+161950,8.0,ICD9_CODE,30000
+161950,9.0,ICD9_CODE,78659
+161950,10.0,ICD9_CODE,V1251
+161950,11.0,ICD9_CODE,V5861
+161950,12.0,ICD9_CODE,V4511
+161950,13.0,ICD9_CODE,V4578
+164029,1.0,ICD9_CODE,40301
+164029,2.0,ICD9_CODE,7100
+164029,3.0,ICD9_CODE,5856
+164029,4.0,ICD9_CODE,V4983
+164029,5.0,ICD9_CODE,58381
+164029,6.0,ICD9_CODE,3643
+166018,1.0,ICD9_CODE,4010
+166018,2.0,ICD9_CODE,5856
+166018,3.0,ICD9_CODE,58281
+166018,4.0,ICD9_CODE,4254
+166018,5.0,ICD9_CODE,2841
+166018,6.0,ICD9_CODE,7100
+166018,7.0,ICD9_CODE,2875
+166018,8.0,ICD9_CODE,2859
+166018,9.0,ICD9_CODE,V451
+166018,10.0,ICD9_CODE,V4589
+166018,11.0,ICD9_CODE,V4569
+170149,1.0,ICD9_CODE,4538
+170149,2.0,ICD9_CODE,5856
+170149,3.0,ICD9_CODE,40301
+170149,4.0,ICD9_CODE,4592
+170149,5.0,ICD9_CODE,58281
+170149,6.0,ICD9_CODE,4254
+170149,7.0,ICD9_CODE,2841
+170149,8.0,ICD9_CODE,7100
+170149,9.0,ICD9_CODE,28521
+170149,10.0,ICD9_CODE,2767
+170149,11.0,ICD9_CODE,25200
+170149,12.0,ICD9_CODE,45829
+170149,13.0,ICD9_CODE,78701
+170149,14.0,ICD9_CODE,2874
+170149,15.0,ICD9_CODE,79500
+170149,16.0,ICD9_CODE,78909
+170149,17.0,ICD9_CODE,2518
+170149,18.0,ICD9_CODE,E9320
+158689,12.0,ICD9_CODE,E8500
+158689,13.0,ICD9_CODE,E8543
+158689,14.0,ICD9_CODE,E8541
+158689,15.0,ICD9_CODE,E8498
+158689,16.0,ICD9_CODE,3051
+130546,1.0,ICD9_CODE,430
+130546,2.0,ICD9_CODE,5070
+130546,3.0,ICD9_CODE,2720
+130546,4.0,ICD9_CODE,4019
+130546,5.0,ICD9_CODE,43320
+129886,1.0,ICD9_CODE,0389
+105501,3.0,ICD9_CODE,9971
+105501,4.0,ICD9_CODE,4271
+105501,5.0,ICD9_CODE,78551
+105501,6.0,ICD9_CODE,4280
+105501,7.0,ICD9_CODE,5849
+105501,8.0,ICD9_CODE,3963
+105501,9.0,ICD9_CODE,V667
+197430,1.0,ICD9_CODE,57149
+197430,2.0,ICD9_CODE,1550
+197430,3.0,ICD9_CODE,25002
+197430,4.0,ICD9_CODE,5715
+197430,5.0,ICD9_CODE,5680
+197430,6.0,ICD9_CODE,2720
+197430,7.0,ICD9_CODE,4019
+197430,8.0,ICD9_CODE,V4581
+197430,9.0,ICD9_CODE,V5867
+197430,10.0,ICD9_CODE,27800
+197430,11.0,ICD9_CODE,41400
+197430,12.0,ICD9_CODE,V1301
+197430,13.0,ICD9_CODE,32723
+189521,1.0,ICD9_CODE,41401
+189521,2.0,ICD9_CODE,9971
+189521,3.0,ICD9_CODE,4139
+189521,4.0,ICD9_CODE,42731
+189521,5.0,ICD9_CODE,4019
+189521,6.0,ICD9_CODE,2720
+189521,7.0,ICD9_CODE,311
+189521,8.0,ICD9_CODE,V4582
+175353,1.0,ICD9_CODE,8822
+175353,2.0,ICD9_CODE,85220
+175353,3.0,ICD9_CODE,5185
+175353,4.0,ICD9_CODE,99889
+175353,5.0,ICD9_CODE,5070
+175353,6.0,ICD9_CODE,9579
+175353,7.0,ICD9_CODE,87342
+175353,8.0,ICD9_CODE,E8150
+175353,9.0,ICD9_CODE,2859
+116935,1.0,ICD9_CODE,49322
+116935,2.0,ICD9_CODE,51882
+116935,3.0,ICD9_CODE,41071
+116935,4.0,ICD9_CODE,42841
+116935,5.0,ICD9_CODE,99812
+116935,6.0,ICD9_CODE,5849
+116935,7.0,ICD9_CODE,42731
+116935,8.0,ICD9_CODE,4660
+116935,9.0,ICD9_CODE,4589
+116935,10.0,ICD9_CODE,41401
+116935,11.0,ICD9_CODE,41402
+116935,12.0,ICD9_CODE,2449
+116935,13.0,ICD9_CODE,7921
+116935,14.0,ICD9_CODE,25000
+116935,15.0,ICD9_CODE,53081
+116935,16.0,ICD9_CODE,2859
+149546,1.0,ICD9_CODE,56985
+149546,2.0,ICD9_CODE,41071
+149546,3.0,ICD9_CODE,43411
+149546,4.0,ICD9_CODE,5849
+149546,5.0,ICD9_CODE,2851
+149546,6.0,ICD9_CODE,34280
+149546,7.0,ICD9_CODE,41402
+149546,8.0,ICD9_CODE,42731
+149546,9.0,ICD9_CODE,4280
+149546,10.0,ICD9_CODE,40390
+149546,11.0,ICD9_CODE,78451
+149546,12.0,ICD9_CODE,25000
+149546,13.0,ICD9_CODE,5859
+149546,14.0,ICD9_CODE,2724
+149546,15.0,ICD9_CODE,49320
+149546,16.0,ICD9_CODE,53081
+149546,17.0,ICD9_CODE,2449
+158975,1.0,ICD9_CODE,1534
+158975,2.0,ICD9_CODE,42821
+158975,3.0,ICD9_CODE,1982
+158975,4.0,ICD9_CODE,2639
+158975,5.0,ICD9_CODE,5849
+158975,6.0,ICD9_CODE,5601
+158975,7.0,ICD9_CODE,99811
+158975,8.0,ICD9_CODE,99813
+158975,9.0,ICD9_CODE,42731
+158975,10.0,ICD9_CODE,4280
+158975,11.0,ICD9_CODE,40390
+158975,12.0,ICD9_CODE,5853
+158975,13.0,ICD9_CODE,4139
+158975,14.0,ICD9_CODE,25000
+158975,15.0,ICD9_CODE,53081
+158975,16.0,ICD9_CODE,2449
+158975,17.0,ICD9_CODE,49320
+158975,18.0,ICD9_CODE,412
+158975,19.0,ICD9_CODE,V4581
+158975,20.0,ICD9_CODE,V1254
+158975,21.0,ICD9_CODE,V4986
+158975,22.0,ICD9_CODE,E8788
+158975,23.0,ICD9_CODE,2800
+158975,24.0,ICD9_CODE,45829
+158975,25.0,ICD9_CODE,59971
+158975,26.0,ICD9_CODE,E9342
+124271,1.0,ICD9_CODE,0382
+124271,2.0,ICD9_CODE,78552
+124271,3.0,ICD9_CODE,51881
+124271,4.0,ICD9_CODE,481
+124271,5.0,ICD9_CODE,5849
+124271,6.0,ICD9_CODE,78551
+124271,7.0,ICD9_CODE,9982
+124271,8.0,ICD9_CODE,1970
+124271,9.0,ICD9_CODE,19889
+124271,10.0,ICD9_CODE,99592
+124271,11.0,ICD9_CODE,4239
+124271,12.0,ICD9_CODE,2859
+117937,1.0,ICD9_CODE,85300
+117937,2.0,ICD9_CODE,9130
+117937,3.0,ICD9_CODE,9100
+117937,4.0,ICD9_CODE,30500
+117937,5.0,ICD9_CODE,E8889
+190159,1.0,ICD9_CODE,5712
+190159,2.0,ICD9_CODE,45620
+190159,3.0,ICD9_CODE,5780
+190159,4.0,ICD9_CODE,51881
+190159,5.0,ICD9_CODE,78559
+190159,6.0,ICD9_CODE,5722
+190159,7.0,ICD9_CODE,7895
+190159,8.0,ICD9_CODE,45341
+190159,9.0,ICD9_CODE,5990
+190159,10.0,ICD9_CODE,5849
+190159,11.0,ICD9_CODE,30500
+190159,12.0,ICD9_CODE,2867
+190159,13.0,ICD9_CODE,2761
+190159,14.0,ICD9_CODE,2875
+190159,15.0,ICD9_CODE,486
+190159,16.0,ICD9_CODE,5997
+190159,17.0,ICD9_CODE,8670
+190159,18.0,ICD9_CODE,2639
+190159,19.0,ICD9_CODE,2851
+190159,20.0,ICD9_CODE,5723
+190159,21.0,ICD9_CODE,34831
+190159,22.0,ICD9_CODE,2738
+190159,23.0,ICD9_CODE,5798
+190159,24.0,ICD9_CODE,0701
+190159,25.0,ICD9_CODE,3051
+190159,26.0,ICD9_CODE,V1301
+190159,27.0,ICD9_CODE,E8796
+193470,1.0,ICD9_CODE,5712
+193470,2.0,ICD9_CODE,45620
+193470,3.0,ICD9_CODE,7895
+193470,4.0,ICD9_CODE,2851
+193470,5.0,ICD9_CODE,3575
+176189,1.0,ICD9_CODE,4260
+176189,2.0,ICD9_CODE,486
+176189,3.0,ICD9_CODE,4240
+176189,4.0,ICD9_CODE,2449
+176189,5.0,ICD9_CODE,3310
+176189,6.0,ICD9_CODE,29410
+176189,7.0,ICD9_CODE,4168
+176189,8.0,ICD9_CODE,2720
+176189,9.0,ICD9_CODE,4019
+112013,1.0,ICD9_CODE,60000
+112013,2.0,ICD9_CODE,99811
+112013,3.0,ICD9_CODE,2851
+112013,4.0,ICD9_CODE,42789
+108811,1.0,ICD9_CODE,53240
+108811,2.0,ICD9_CODE,41071
+108811,3.0,ICD9_CODE,53560
+108811,4.0,ICD9_CODE,40390
+108811,5.0,ICD9_CODE,5859
+159223,1.0,ICD9_CODE,80604
+159223,2.0,ICD9_CODE,8052
+159223,3.0,ICD9_CODE,4139
+159223,4.0,ICD9_CODE,42731
+159223,5.0,ICD9_CODE,V422
+159223,6.0,ICD9_CODE,4280
+159223,7.0,ICD9_CODE,E8809
+159223,8.0,ICD9_CODE,80701
+159223,9.0,ICD9_CODE,4414
+159223,10.0,ICD9_CODE,4019
+159223,11.0,ICD9_CODE,V4501
+159223,12.0,ICD9_CODE,4439
+159223,13.0,ICD9_CODE,8730
+159223,14.0,ICD9_CODE,57420
+176764,1.0,ICD9_CODE,42831
+176764,2.0,ICD9_CODE,51881
+176764,3.0,ICD9_CODE,5070
+176764,4.0,ICD9_CODE,42731
+176764,5.0,ICD9_CODE,70707
+176764,6.0,ICD9_CODE,V422
+176764,7.0,ICD9_CODE,2738
+176764,8.0,ICD9_CODE,V5417
+176764,9.0,ICD9_CODE,V4581
+135828,1.0,ICD9_CODE,4280
+135828,2.0,ICD9_CODE,42731
+135828,3.0,ICD9_CODE,4251
+135828,4.0,ICD9_CODE,5997
+135828,5.0,ICD9_CODE,41401
+135828,6.0,ICD9_CODE,42781
+135828,7.0,ICD9_CODE,V4501
+135828,8.0,ICD9_CODE,V5861
+135828,9.0,ICD9_CODE,V1046
+143120,1.0,ICD9_CODE,4280
+143120,2.0,ICD9_CODE,51881
+143120,3.0,ICD9_CODE,5119
+143120,4.0,ICD9_CODE,496
+143120,5.0,ICD9_CODE,03811
+143120,6.0,ICD9_CODE,99672
+143120,7.0,ICD9_CODE,4240
+143120,8.0,ICD9_CODE,48241
+143120,9.0,ICD9_CODE,5070
+196896,1.0,ICD9_CODE,5789
+196896,2.0,ICD9_CODE,41091
+196896,3.0,ICD9_CODE,5990
+196896,4.0,ICD9_CODE,42731
+196896,5.0,ICD9_CODE,2761
+196896,6.0,ICD9_CODE,53010
+196896,7.0,ICD9_CODE,2720
+196896,8.0,ICD9_CODE,4019
+196896,9.0,ICD9_CODE,3320
+196159,1.0,ICD9_CODE,55321
+196159,2.0,ICD9_CODE,99812
+196159,3.0,ICD9_CODE,2851
+196159,4.0,ICD9_CODE,E8788
+196159,5.0,ICD9_CODE,5569
+196159,6.0,ICD9_CODE,42731
+196159,7.0,ICD9_CODE,3949
+196159,8.0,ICD9_CODE,4019
+196159,9.0,ICD9_CODE,V4501
+161310,1.0,ICD9_CODE,51881
+161310,2.0,ICD9_CODE,8600
+161310,3.0,ICD9_CODE,44489
+161310,4.0,ICD9_CODE,27651
+161310,5.0,ICD9_CODE,99881
+161310,6.0,ICD9_CODE,80700
+161310,7.0,ICD9_CODE,92400
+161310,8.0,ICD9_CODE,E9600
+161310,9.0,ICD9_CODE,514
+161310,10.0,ICD9_CODE,45829
+155820,1.0,ICD9_CODE,V3101
+155820,2.0,ICD9_CODE,76517
+155820,3.0,ICD9_CODE,76497
+155820,4.0,ICD9_CODE,V290
+155820,5.0,ICD9_CODE,7708
+155820,6.0,ICD9_CODE,76383
+155820,7.0,ICD9_CODE,75261
+102631,1.0,ICD9_CODE,4411
+102631,2.0,ICD9_CODE,4241
+102631,3.0,ICD9_CODE,9971
+102631,4.0,ICD9_CODE,4281
+102631,5.0,ICD9_CODE,44103
+146080,1.0,ICD9_CODE,2181
+146080,2.0,ICD9_CODE,2851
+146080,3.0,ICD9_CODE,2800
+146080,4.0,ICD9_CODE,24200
+113341,1.0,ICD9_CODE,85300
+113341,2.0,ICD9_CODE,95901
+113341,3.0,ICD9_CODE,E8120
+137477,1.0,ICD9_CODE,1919
+137477,2.0,ICD9_CODE,6826
+137477,3.0,ICD9_CODE,486
+137477,4.0,ICD9_CODE,2554
+137477,5.0,ICD9_CODE,25000
+137477,6.0,ICD9_CODE,3594
+137477,7.0,ICD9_CODE,E9320
+137526,1.0,ICD9_CODE,1916
+137526,2.0,ICD9_CODE,78039
+137526,3.0,ICD9_CODE,2554
+137526,4.0,ICD9_CODE,486
+137526,5.0,ICD9_CODE,7872
+137526,6.0,ICD9_CODE,34830
+137526,7.0,ICD9_CODE,2859
+152056,1.0,ICD9_CODE,V3000
+152056,2.0,ICD9_CODE,V053
+152056,3.0,ICD9_CODE,V290
+164405,1.0,ICD9_CODE,4560
+164405,2.0,ICD9_CODE,5070
+164405,3.0,ICD9_CODE,340
+164405,4.0,ICD9_CODE,51881
+164405,5.0,ICD9_CODE,57149
+164405,6.0,ICD9_CODE,27652
+164405,7.0,ICD9_CODE,4568
+164405,8.0,ICD9_CODE,4019
+164405,9.0,ICD9_CODE,25000
+164405,10.0,ICD9_CODE,2720
+164405,11.0,ICD9_CODE,4589
+199724,1.0,ICD9_CODE,0383
+199724,2.0,ICD9_CODE,9992
+199724,3.0,ICD9_CODE,41071
+199724,4.0,ICD9_CODE,496
+199724,5.0,ICD9_CODE,2762
+199724,6.0,ICD9_CODE,45182
+199724,7.0,ICD9_CODE,2768
+199724,8.0,ICD9_CODE,3310
+199724,9.0,ICD9_CODE,29410
+123860,1.0,ICD9_CODE,99682
+123860,2.0,ICD9_CODE,51881
+123860,3.0,ICD9_CODE,5849
+123860,4.0,ICD9_CODE,7907
+123860,5.0,ICD9_CODE,07044
+123860,6.0,ICD9_CODE,2762
+123860,7.0,ICD9_CODE,2763
+123860,8.0,ICD9_CODE,25541
+123860,9.0,ICD9_CODE,78959
+123860,10.0,ICD9_CODE,2760
+123860,11.0,ICD9_CODE,2768
+123860,12.0,ICD9_CODE,V4983
+123860,13.0,ICD9_CODE,5715
+123860,14.0,ICD9_CODE,5859
+123860,15.0,ICD9_CODE,25080
+123860,16.0,ICD9_CODE,45621
+123860,17.0,ICD9_CODE,04109
+123860,18.0,ICD9_CODE,V1007
+123860,19.0,ICD9_CODE,40390
+123860,20.0,ICD9_CODE,E8780
+132401,1.0,ICD9_CODE,3241
+132401,2.0,ICD9_CODE,51881
+132401,3.0,ICD9_CODE,486
+132401,4.0,ICD9_CODE,99931
+132401,5.0,ICD9_CODE,73008
+132401,6.0,ICD9_CODE,7907
+132401,7.0,ICD9_CODE,99682
+132401,8.0,ICD9_CODE,99811
+132401,9.0,ICD9_CODE,07044
+132401,10.0,ICD9_CODE,5856
+132401,11.0,ICD9_CODE,25541
+132401,12.0,ICD9_CODE,78959
+132401,13.0,ICD9_CODE,40391
+132401,14.0,ICD9_CODE,2761
+132401,15.0,ICD9_CODE,2762
+132401,16.0,ICD9_CODE,5789
+132401,17.0,ICD9_CODE,2867
+132401,18.0,ICD9_CODE,V4983
+132401,19.0,ICD9_CODE,2875
+132401,20.0,ICD9_CODE,5723
+132401,21.0,ICD9_CODE,72293
+132401,22.0,ICD9_CODE,04119
+132401,23.0,ICD9_CODE,33399
+132401,24.0,ICD9_CODE,E9390
+132401,25.0,ICD9_CODE,E8780
+132401,26.0,ICD9_CODE,25000
+132401,27.0,ICD9_CODE,53789
+132401,28.0,ICD9_CODE,V1007
+132401,29.0,ICD9_CODE,28521
+132401,30.0,ICD9_CODE,73730
+150463,1.0,ICD9_CODE,99811
+150463,2.0,ICD9_CODE,99682
+150463,3.0,ICD9_CODE,5715
+150463,4.0,ICD9_CODE,07054
+150463,5.0,ICD9_CODE,E8788
+150463,6.0,ICD9_CODE,E8780
+150463,7.0,ICD9_CODE,4019
+160697,1.0,ICD9_CODE,570
+160697,2.0,ICD9_CODE,07054
+160697,3.0,ICD9_CODE,1552
+160697,4.0,ICD9_CODE,5723
+160697,5.0,ICD9_CODE,78071
+164735,1.0,ICD9_CODE,4552
+164735,2.0,ICD9_CODE,7907
+164735,3.0,ICD9_CODE,99682
+164735,4.0,ICD9_CODE,99931
+164735,5.0,ICD9_CODE,5856
+164735,6.0,ICD9_CODE,99811
+164735,7.0,ICD9_CODE,99731
+164735,8.0,ICD9_CODE,2851
+164735,9.0,ICD9_CODE,25541
+164735,10.0,ICD9_CODE,2875
+164735,11.0,ICD9_CODE,5715
+164735,12.0,ICD9_CODE,V4983
+164735,13.0,ICD9_CODE,07054
+164735,14.0,ICD9_CODE,80702
+164735,15.0,ICD9_CODE,04104
+164735,16.0,ICD9_CODE,4555
+164735,17.0,ICD9_CODE,E8788
+164735,18.0,ICD9_CODE,E8844
+164735,19.0,ICD9_CODE,E8497
+164735,20.0,ICD9_CODE,28521
+164735,21.0,ICD9_CODE,E8780
+164735,22.0,ICD9_CODE,25000
+164735,23.0,ICD9_CODE,V5867
+164735,24.0,ICD9_CODE,53789
+105764,2.0,ICD9_CODE,4254
+105764,3.0,ICD9_CODE,4280
+105764,4.0,ICD9_CODE,V4502
+105764,5.0,ICD9_CODE,V5861
+105764,6.0,ICD9_CODE,V433
+105764,7.0,ICD9_CODE,412
+173633,15.0,ICD9_CODE,V1251
+161160,3.0,ICD9_CODE,27651
+161160,4.0,ICD9_CODE,7895
+161160,5.0,ICD9_CODE,5119
+161160,6.0,ICD9_CODE,4254
+161160,7.0,ICD9_CODE,42731
+161160,8.0,ICD9_CODE,5849
+161160,9.0,ICD9_CODE,99591
+161160,10.0,ICD9_CODE,42789
+161160,11.0,ICD9_CODE,3334
+161160,12.0,ICD9_CODE,2859
+161160,13.0,ICD9_CODE,7906
+126055,1.0,ICD9_CODE,4010
+126055,2.0,ICD9_CODE,5856
+126055,3.0,ICD9_CODE,58281
+126055,4.0,ICD9_CODE,4239
+126055,5.0,ICD9_CODE,78959
+126055,6.0,ICD9_CODE,2762
+126055,7.0,ICD9_CODE,2761
+126055,8.0,ICD9_CODE,78909
+126055,9.0,ICD9_CODE,78906
+126055,10.0,ICD9_CODE,78701
+126055,11.0,ICD9_CODE,78791
+126055,12.0,ICD9_CODE,7100
+126055,13.0,ICD9_CODE,25200
+126055,14.0,ICD9_CODE,2859
+126055,15.0,ICD9_CODE,2875
+126055,16.0,ICD9_CODE,53081
+105501,1.0,ICD9_CODE,41071
+105501,2.0,ICD9_CODE,41401
+108811,6.0,ICD9_CODE,04186
+108811,7.0,ICD9_CODE,41401
+108811,8.0,ICD9_CODE,2724
+108811,9.0,ICD9_CODE,496
+108811,10.0,ICD9_CODE,42731
+108811,11.0,ICD9_CODE,V4581
+158689,1.0,ICD9_CODE,96501
+158689,2.0,ICD9_CODE,30421
+158689,3.0,ICD9_CODE,07070
+158689,4.0,ICD9_CODE,07030
+158689,5.0,ICD9_CODE,51881
+158689,6.0,ICD9_CODE,30401
+158689,7.0,ICD9_CODE,4280
+158689,8.0,ICD9_CODE,2920
+158689,9.0,ICD9_CODE,30431
+158689,10.0,ICD9_CODE,9708
+158689,11.0,ICD9_CODE,9696
+129886,2.0,ICD9_CODE,51881
+129886,3.0,ICD9_CODE,78552
+129886,4.0,ICD9_CODE,5849
+129886,5.0,ICD9_CODE,4538
+129886,6.0,ICD9_CODE,2869
+129886,7.0,ICD9_CODE,85221
+129886,8.0,ICD9_CODE,5990
+129886,9.0,ICD9_CODE,99592
+129886,10.0,ICD9_CODE,3320
+129886,11.0,ICD9_CODE,V667
+129886,12.0,ICD9_CODE,33182
+129886,13.0,ICD9_CODE,29410
+129886,14.0,ICD9_CODE,4019
+129886,15.0,ICD9_CODE,E8889
+129886,16.0,ICD9_CODE,V1582
diff --git a/tests/icd_time_test/input/icd_test_data.csv b/tests/icd_time_test/input/icd_test_data.csv
new file mode 100644
index 0000000..e349ee6
--- /dev/null
+++ b/tests/icd_time_test/input/icd_test_data.csv
@@ -0,0 +1,1862 @@
+ROW_ID,SUBJECT_ID,HADM_ID,SEQ_NUM,ICD9_CODE
+1297,109,172335,1.0,40301
+1298,109,172335,2.0,486
+1299,109,172335,3.0,58281
+1300,109,172335,4.0,5855
+1301,109,172335,5.0,4254
+1302,109,172335,6.0,2762
+1303,109,172335,7.0,7100
+1304,109,172335,8.0,2767
+1305,109,172335,9.0,7243
+1306,109,172335,10.0,45829
+1307,109,172335,11.0,2875
+1308,109,172335,12.0,28521
+1309,109,172335,13.0,28529
+1310,109,172335,14.0,27541
+1311,109,173633,1.0,40301
+1312,109,173633,2.0,5856
+1313,109,173633,3.0,58381
+1314,109,173633,4.0,7100
+1315,109,173633,5.0,5589
+1316,109,173633,6.0,2875
+1317,109,173633,7.0,28521
+1318,109,173633,8.0,45829
+1319,109,173633,9.0,32723
+1320,109,173633,10.0,22804
+1321,109,173633,11.0,33829
+1322,109,173633,12.0,78900
+1323,109,173633,13.0,79092
+1324,109,173633,14.0,V4511
+1488,112,174105,1.0,53100
+1489,112,174105,2.0,41071
+1490,112,174105,3.0,2859
+1491,112,174105,4.0,41401
+1492,112,174105,5.0,725
+1493,113,109976,1.0,1915
+1494,113,109976,2.0,3314
+1495,113,109976,3.0,53081
+1496,114,178393,1.0,41401
+1497,114,178393,2.0,4111
+1498,114,178393,3.0,48283
+1499,114,178393,4.0,2859
+1500,114,178393,5.0,2720
+1501,114,178393,6.0,3051
+1502,115,114585,1.0,1940
+1503,115,114585,2.0,1977
+1504,115,114585,3.0,2553
+1505,115,114585,4.0,4240
+1506,115,114585,5.0,5845
+1507,115,114585,6.0,99859
+1508,115,114585,7.0,6822
+1509,115,114585,8.0,5119
+1510,115,114585,9.0,5990
+1511,115,114585,10.0,4280
+1512,115,114585,11.0,34982
+1513,115,114585,12.0,4019
+1514,115,114585,13.0,V1000
+1515,115,114585,14.0,V453
+1516,115,114585,15.0,V5865
+1517,115,114585,16.0,0413
+1518,115,114585,17.0,2518
+1519,115,114585,18.0,E9320
+1520,116,127203,1.0,V3001
+1521,116,127203,2.0,V053
+1522,116,127203,3.0,V290
+1523,117,140784,1.0,5715
+1524,117,140784,2.0,7895
+1525,117,140784,3.0,07054
+1526,117,140784,4.0,2875
+1527,117,140784,5.0,4280
+1528,117,140784,6.0,2851
+1529,117,140784,7.0,2765
+1530,117,140784,8.0,4019
+1531,117,140784,9.0,25000
+1532,117,164853,1.0,570
+1533,117,164853,2.0,07044
+1534,117,164853,3.0,5712
+1535,117,164853,4.0,5849
+1536,117,164853,5.0,5724
+1537,117,164853,6.0,5118
+1538,117,164853,7.0,2867
+1539,117,164853,8.0,51882
+1540,117,164853,9.0,2875
+1541,117,164853,10.0,0389
+1542,117,164853,11.0,486
+1543,117,164853,12.0,2800
+1544,117,164853,13.0,2639
+1545,117,164853,14.0,2761
+1546,117,164853,15.0,2767
+1547,117,164853,16.0,99592
+1548,117,164853,17.0,30393
+1549,117,164853,18.0,4019
+1550,117,164853,19.0,5723
+1551,117,164853,20.0,25000
+1552,117,164853,21.0,2449
+1553,117,164853,22.0,1122
+1554,118,147035,1.0,V3000
+1555,118,147035,2.0,V053
+1556,119,135738,1.0,88122
+1557,119,135738,2.0,9032
+1558,119,135738,3.0,9033
+1559,119,135738,4.0,9551
+1560,119,135738,5.0,9555
+1561,119,135738,6.0,9552
+1562,119,135738,7.0,E956
+1563,119,135738,8.0,30590
+1564,120,188923,1.0,V3000
+1565,120,188923,2.0,V053
+1566,120,188923,3.0,V290
+1567,122,135750,1.0,V3000
+1568,122,135750,2.0,7452
+1569,122,135750,3.0,7622
+1570,123,195632,1.0,41011
+1571,123,195632,2.0,41401
+1572,123,195632,3.0,4019
+1573,123,195632,4.0,25000
+1574,123,195632,5.0,3051
+1575,124,112906,1.0,4412
+1576,124,112906,2.0,486
+1577,124,112906,3.0,496
+1578,124,112906,4.0,07070
+1579,124,112906,5.0,4478
+1580,124,112906,6.0,41402
+1581,124,112906,7.0,41401
+1582,124,112906,8.0,4019
+1583,124,112906,9.0,2720
+1584,124,134369,1.0,44021
+1585,124,134369,2.0,5849
+1586,124,134369,3.0,5854
+1587,124,134369,4.0,5990
+1588,124,134369,5.0,9971
+1589,124,134369,6.0,4400
+1590,124,134369,7.0,40390
+1591,124,134369,8.0,2749
+1592,124,134369,9.0,496
+1593,124,134369,10.0,45829
+1594,124,134369,11.0,42731
+1595,124,134369,12.0,V1046
+1596,124,134369,13.0,V1011
+1597,124,134369,14.0,V1209
+1598,124,134369,15.0,V090
+1599,124,138376,1.0,56983
+1600,124,138376,2.0,56089
+1601,124,138376,3.0,49121
+1602,124,138376,4.0,99859
+1603,124,138376,5.0,0389
+1604,124,138376,6.0,99592
+1605,124,138376,7.0,99831
+1606,124,138376,8.0,486
+1607,124,138376,9.0,5849
+1608,124,138376,10.0,5854
+1609,124,138376,11.0,2639
+1610,124,138376,12.0,42833
+1611,124,138376,13.0,40390
+1612,124,138376,14.0,42731
+1613,124,138376,15.0,4280
+1614,124,138376,16.0,41400
+1615,124,138376,17.0,V4581
+1616,124,138376,18.0,V1046
+1617,124,138376,19.0,V1011
+1618,124,172461,1.0,43331
+1619,124,172461,2.0,99812
+1620,124,172461,3.0,436
+1621,124,172461,4.0,43320
+1622,124,172461,5.0,4019
+1623,124,172461,6.0,2720
+1624,124,172461,7.0,49390
+1625,124,172461,8.0,41401
+1626,124,172461,9.0,V4581
+1627,125,157348,1.0,99671
+1628,125,157348,2.0,4241
+1629,125,157348,3.0,42731
+1630,125,157348,4.0,4168
+1631,125,157348,5.0,2449
+1632,126,176860,1.0,V3101
+1633,126,176860,2.0,76503
+1634,126,176860,3.0,769
+1635,126,176860,4.0,7793
+1636,126,176860,5.0,7742
+1637,126,176860,6.0,7707
+1638,126,176860,7.0,76524
+1639,126,176860,8.0,77081
+1640,126,176860,9.0,77981
+1641,126,176860,10.0,7470
+1642,126,176860,11.0,7766
+1643,126,176860,12.0,7726
+1644,126,176860,13.0,77989
+1645,126,176860,14.0,36221
+1646,126,176860,15.0,V290
+1647,126,176860,16.0,V053
+1648,127,141647,1.0,19889
+1649,127,141647,2.0,1972
+1650,127,141647,3.0,V103
+1651,128,180872,1.0,V3001
+1652,128,180872,2.0,74689
+1653,128,180872,3.0,7661
+1654,128,180872,4.0,V053
+1655,128,180872,5.0,V290
+1656,128,180872,6.0,V293
+1657,129,164174,1.0,85300
+1658,129,164174,2.0,78039
+1659,129,164174,3.0,E8889
+1660,130,113323,1.0,99859
+1661,130,113323,2.0,99831
+1662,130,113323,3.0,5185
+1663,130,113323,4.0,9971
+1664,130,113323,5.0,42731
+1665,130,113323,6.0,73028
+1666,130,113323,7.0,25000
+1667,130,113323,8.0,53081
+1668,130,113323,9.0,41400
+1669,130,113323,10.0,V4581
+1670,130,198214,1.0,41071
+1671,130,198214,2.0,4280
+1672,130,198214,3.0,2851
+1673,130,198214,4.0,41401
+1674,130,198214,5.0,25060
+1675,130,198214,6.0,3572
+1676,130,198214,7.0,2720
+1677,130,198214,8.0,53081
+1678,131,171781,1.0,V3001
+1679,131,171781,2.0,77214
+1680,131,171781,3.0,76518
+1681,131,171781,4.0,76528
+1682,131,171781,5.0,V053
+1683,132,160192,1.0,430
+1684,132,160192,2.0,78039
+1685,132,160192,3.0,2761
+1686,132,160192,4.0,3051
+1687,133,191817,1.0,41071
+1688,133,191817,2.0,41401
+1689,133,191817,3.0,496
+1690,133,191817,4.0,5990
+1691,133,191817,5.0,4400
+1692,133,191817,6.0,2939
+1693,133,191817,7.0,2749
+1694,133,191817,8.0,4439
+1695,133,191817,9.0,4019
+1696,133,191817,10.0,2720
+1697,133,191817,11.0,V1582
+1698,134,167887,1.0,3963
+1699,134,167887,2.0,41401
+1700,134,167887,3.0,4019
+1701,134,167887,4.0,53081
+1702,134,167887,5.0,3659
+1703,134,167887,6.0,2449
+1704,134,167887,7.0,4439
+1705,135,192180,1.0,135
+1706,135,192180,2.0,34982
+1707,135,192180,3.0,5990
+1708,135,192180,4.0,311
+1709,135,192180,5.0,E9352
+1710,135,199634,1.0,72141
+1711,135,199634,2.0,135
+1712,135,199634,3.0,496
+1713,135,199634,4.0,2148
+1714,135,199634,5.0,V5865
+1715,135,199634,6.0,72401
+1716,135,199634,7.0,53081
+1717,135,199634,8.0,4019
+1718,135,199634,9.0,25000
+1719,136,184644,1.0,4375
+1720,136,184644,2.0,486
+1721,136,184644,3.0,2720
+1722,136,184644,4.0,4019
+1723,137,151583,1.0,41401
+1724,137,151583,2.0,5185
+1725,137,151583,3.0,42731
+1726,137,151583,4.0,42732
+1727,137,151583,5.0,25060
+1728,137,151583,6.0,3572
+1729,137,151583,7.0,24290
+1730,137,151583,8.0,2720
+1731,137,151583,9.0,60000
+1732,137,151583,10.0,V4582
+1733,137,151583,11.0,V1582
+1734,138,105764,1.0,1890
+504,64,172056,2.0,03811
+505,64,172056,3.0,99591
+506,64,172056,4.0,30400
+507,64,172056,5.0,1120
+508,64,172056,6.0,5111
+509,64,172056,7.0,7895
+510,64,172056,8.0,71107
+511,64,172056,9.0,71104
+512,65,143430,1.0,80012
+513,65,143430,2.0,30500
+514,65,143430,3.0,30560
+515,65,143430,4.0,E8147
+516,65,143430,5.0,8730
+517,65,143430,6.0,7812
+518,65,143430,7.0,37854
+519,65,143430,8.0,9518
+520,66,104518,1.0,V3000
+521,66,104518,2.0,76519
+522,66,104518,3.0,76528
+523,66,104518,4.0,77089
+524,66,104518,5.0,7742
+525,66,104518,6.0,7793
+526,66,104518,7.0,7678
+527,66,104518,8.0,7661
+528,66,104518,9.0,V053
+529,66,104518,10.0,V293
+530,67,155252,1.0,431
+531,67,155252,2.0,2449
+532,67,155252,3.0,4019
+533,67,155252,4.0,2948
+534,67,155252,5.0,311
+535,67,186474,1.0,9982
+536,67,186474,2.0,2768
+537,67,186474,3.0,4019
+538,67,186474,4.0,2449
+539,67,186474,5.0,2851
+540,67,186474,6.0,311
+541,68,108329,1.0,042
+542,68,108329,2.0,486
+543,68,108329,3.0,4254
+544,68,108329,4.0,2762
+545,68,108329,5.0,5849
+546,68,108329,6.0,570
+547,68,108329,7.0,5859
+548,68,108329,8.0,2848
+549,68,108329,9.0,2875
+550,68,108329,10.0,4280
+551,68,108329,11.0,2859
+552,68,170467,1.0,042
+553,68,170467,2.0,486
+554,68,170467,3.0,4254
+555,68,170467,4.0,42820
+556,68,170467,5.0,4280
+557,68,170467,6.0,5849
+558,68,170467,7.0,5859
+559,68,170467,8.0,2639
+560,68,170467,9.0,2848
+561,68,170467,10.0,2761
+562,68,170467,11.0,2859
+563,68,170467,12.0,V141
+564,68,170467,13.0,V071
+565,69,190201,1.0,V3001
+566,69,190201,2.0,76517
+567,69,190201,3.0,76407
+568,69,190201,4.0,7756
+569,69,190201,5.0,7742
+570,69,190201,6.0,7793
+571,69,190201,7.0,76528
+572,69,190201,8.0,7764
+573,70,178596,1.0,V3001
+574,70,178596,2.0,7454
+575,70,178596,3.0,V053
+576,71,111944,1.0,9695
+577,71,111944,2.0,2762
+578,71,111944,3.0,29590
+579,71,111944,4.0,E9503
+580,71,111944,5.0,2859
+581,71,111944,6.0,2662
+582,72,156857,1.0,V3000
+583,72,156857,2.0,769
+584,72,156857,3.0,7466
+585,72,156857,4.0,7742
+586,72,156857,5.0,2762
+587,72,156857,6.0,77981
+588,72,156857,7.0,76519
+589,72,156857,8.0,76528
+590,72,156857,9.0,76719
+591,72,156857,10.0,V290
+592,72,156857,11.0,7470
+593,72,156857,12.0,74689
+594,73,194730,1.0,41001
+595,73,194730,2.0,9982
+596,73,194730,3.0,5990
+597,73,194730,4.0,41401
+598,73,194730,5.0,4019
+599,73,194730,6.0,2720
+600,73,194730,7.0,V1042
+601,73,194730,8.0,V1582
+602,74,182637,1.0,V3001
+603,74,182637,2.0,7660
+604,74,182637,3.0,V053
+605,74,182637,4.0,V290
+606,74,182637,5.0,V293
+607,75,112086,1.0,4241
+608,75,112086,2.0,9973
+609,75,112086,3.0,5180
+610,75,112086,4.0,5990
+611,75,112086,5.0,99709
+612,75,112086,6.0,3558
+613,75,112086,7.0,4019
+614,75,112086,8.0,2720
+615,75,112086,9.0,25000
+616,75,112086,10.0,53081
+617,75,112086,11.0,5533
+618,75,112086,12.0,V1582
+619,77,142768,1.0,41061
+620,77,142768,2.0,4280
+621,77,142768,3.0,41401
+622,77,142768,4.0,2720
+623,77,142768,5.0,2721
+624,77,142768,6.0,2740
+625,78,100536,1.0,96500
+626,78,100536,2.0,042
+627,78,100536,3.0,07054
+628,78,100536,4.0,5715
+629,78,100536,5.0,30401
+630,78,100536,6.0,2848
+631,78,100536,7.0,9694
+632,78,100536,8.0,E8502
+633,78,100536,9.0,E8532
+634,79,181542,1.0,41011
+635,79,181542,2.0,4271
+636,79,181542,3.0,41401
+637,79,181542,4.0,42689
+638,80,115385,1.0,80416
+639,80,115385,2.0,87342
+640,80,115385,3.0,E916
+641,81,175016,1.0,431
+642,81,175016,2.0,20210
+643,81,175016,3.0,4019
+644,82,110641,1.0,V3001
+645,82,110641,2.0,76519
+646,82,110641,3.0,76528
+647,82,110641,4.0,V502
+648,83,158569,1.0,43310
+649,83,158569,2.0,39891
+650,83,158569,3.0,3963
+651,83,158569,4.0,40391
+652,83,158569,5.0,70715
+653,83,158569,6.0,53081
+654,83,158569,7.0,2720
+655,83,158569,8.0,25000
+656,83,158569,9.0,4148
+657,84,120969,1.0,1919
+658,84,166401,1.0,1919
+659,84,166401,2.0,3484
+660,84,166401,3.0,78701
+661,84,166401,4.0,56400
+662,85,112077,1.0,0389
+663,85,112077,2.0,486
+664,85,112077,3.0,V4281
+665,85,112077,4.0,23875
+666,85,112077,5.0,42731
+667,85,112077,6.0,41400
+668,85,112077,7.0,3004
+669,85,112077,8.0,2724
+670,85,112077,9.0,2449
+671,85,112077,10.0,60001
+672,85,112077,11.0,78843
+673,85,112077,12.0,32723
+674,85,112077,13.0,3320
+675,85,112077,14.0,3051
+676,85,112077,15.0,V1079
+677,85,112077,16.0,V4581
+678,85,112077,17.0,V433
+679,85,112077,18.0,99591
+680,85,112077,19.0,5853
+681,85,116630,1.0,4241
+682,85,116630,2.0,20280
+683,85,116630,3.0,V4282
+684,85,116630,4.0,99811
+685,85,116630,5.0,3320
+686,85,116630,6.0,30000
+687,85,116630,7.0,53081
+688,85,116630,8.0,60000
+689,85,116630,9.0,E8798
+690,85,116630,10.0,41401
+691,85,116630,11.0,4412
+692,86,190243,1.0,74561
+693,86,190243,2.0,4240
+694,87,190659,1.0,V3101
+695,87,190659,2.0,76515
+696,87,190659,3.0,76524
+697,87,190659,4.0,769
+698,87,190659,5.0,7707
+699,87,190659,6.0,7775
+700,87,190659,7.0,7742
+701,87,190659,8.0,77211
+702,87,190659,9.0,77081
+703,87,190659,10.0,7766
+704,87,190659,11.0,V290
+705,87,190659,12.0,V053
+706,88,123010,1.0,86113
+707,88,123010,2.0,5119
+708,88,123010,3.0,4239
+709,88,123010,4.0,E966
+710,89,188646,1.0,V3101
+711,89,188646,2.0,7742
+712,89,188646,3.0,76516
+713,89,188646,4.0,76527
+714,89,188646,5.0,22801
+715,89,188646,6.0,V290
+716,91,121205,1.0,20008
+717,91,121205,2.0,2765
+718,91,121205,3.0,5559
+719,91,121205,4.0,99812
+720,91,121205,5.0,51881
+721,91,121205,6.0,4470
+722,91,121205,7.0,135
+723,91,121205,8.0,53100
+724,91,121205,9.0,2866
+725,92,142807,1.0,76502
+726,92,142807,2.0,77181
+727,92,142807,3.0,2762
+728,92,142807,4.0,769
+729,92,142807,5.0,7707
+730,92,142807,6.0,77211
+731,92,142807,7.0,7742
+732,92,142807,8.0,7766
+733,92,142807,9.0,36221
+734,93,160481,1.0,V3000
+735,93,160481,2.0,76503
+736,93,160481,3.0,769
+737,93,160481,4.0,77181
+738,93,160481,5.0,7742
+739,93,160481,6.0,76523
+740,93,160481,7.0,7766
+741,93,160481,8.0,77081
+742,93,160481,9.0,77981
+743,93,160481,10.0,7470
+744,93,160481,11.0,36221
+745,93,160481,12.0,2707
+746,94,140037,1.0,33520
+747,94,140037,2.0,51884
+748,94,140037,3.0,486
+749,94,140037,4.0,42731
+750,94,140037,5.0,4019
+751,94,140037,6.0,60000
+752,94,140037,7.0,42789
+753,94,140037,8.0,2859
+754,94,183686,1.0,2761
+755,94,183686,2.0,7234
+756,94,183686,3.0,4240
+757,94,183686,4.0,4589
+758,94,183686,5.0,07999
+759,94,183686,6.0,4019
+760,94,183686,7.0,42789
+761,94,183686,8.0,78841
+762,95,160891,1.0,4260
+763,96,170324,1.0,85181
+764,96,170324,2.0,8072
+765,96,170324,3.0,V461
+766,96,170324,4.0,86402
+767,96,170324,5.0,86509
+768,96,170324,6.0,4538
+769,96,170324,7.0,5185
+770,96,170324,8.0,4821
+771,96,170324,9.0,8604
+772,97,127870,1.0,41401
+773,97,127870,2.0,4241
+774,97,127870,3.0,4111
+775,97,127870,4.0,42731
+776,97,127870,5.0,2720
+777,97,127870,6.0,4019
+778,97,127870,7.0,4401
+779,98,188606,1.0,4373
+780,98,188606,2.0,2449
+781,99,187373,1.0,41401
+782,99,187373,2.0,4139
+783,99,187373,3.0,4019
+784,99,187373,4.0,2720
+785,99,187373,5.0,7820
+786,99,187373,6.0,V1083
+787,99,187373,7.0,6000
+788,100,153952,1.0,99602
+789,100,153952,2.0,4241
+790,100,153952,3.0,4411
+791,100,153952,4.0,4260
+792,100,153952,5.0,42731
+793,101,175533,1.0,51881
+794,101,175533,2.0,5070
+795,101,175533,3.0,48240
+796,101,175533,4.0,5121
+797,101,175533,5.0,5185
+798,101,175533,6.0,4275
+799,101,175533,7.0,3481
+800,101,175533,8.0,78003
+801,101,175533,9.0,2762
+802,102,195700,1.0,V3000
+803,102,195700,2.0,769
+804,102,195700,3.0,7742
+805,102,195700,4.0,7793
+806,102,195700,5.0,76517
+807,102,195700,6.0,76526
+808,102,195700,7.0,75261
+809,102,195700,8.0,75263
+810,102,195700,9.0,V290
+811,103,130744,1.0,1983
+812,103,130744,2.0,431
+813,103,130744,3.0,1623
+814,103,130744,4.0,486
+815,103,130744,5.0,4019
+816,103,130744,6.0,V1582
+817,103,130744,7.0,78321
+818,103,130744,8.0,2559
+819,103,133550,1.0,431
+820,103,133550,2.0,1983
+821,103,133550,3.0,1629
+822,103,133550,4.0,4275
+823,103,133550,5.0,4019
+824,104,164025,1.0,V3001
+825,104,164025,2.0,7756
+826,104,164025,3.0,76408
+827,104,164025,4.0,76529
+828,104,164025,5.0,7746
+829,104,164025,6.0,V502
+830,104,164025,7.0,7784
+831,105,128744,1.0,7806
+832,105,128744,2.0,486
+833,105,128744,3.0,4280
+834,105,128744,4.0,3334
+835,105,161160,1.0,5070
+836,105,161160,2.0,0389
+1,2,163353,1.0,V3001
+2,2,163353,2.0,V053
+3,2,163353,3.0,V290
+4,3,145834,1.0,0389
+5,3,145834,2.0,78559
+6,3,145834,3.0,5849
+7,3,145834,4.0,4275
+8,3,145834,5.0,41071
+9,3,145834,6.0,4280
+10,3,145834,7.0,6826
+11,3,145834,8.0,4254
+12,3,145834,9.0,2639
+13,4,185777,1.0,042
+14,4,185777,2.0,1363
+15,4,185777,3.0,7994
+16,4,185777,4.0,2763
+17,4,185777,5.0,7907
+18,4,185777,6.0,5715
+19,4,185777,7.0,04111
+20,4,185777,8.0,V090
+21,4,185777,9.0,E9317
+22,5,178980,1.0,V3000
+23,5,178980,2.0,V053
+24,5,178980,3.0,V290
+25,6,107064,1.0,40391
+26,6,107064,2.0,4440
+27,6,107064,3.0,9972
+28,6,107064,4.0,2766
+29,6,107064,5.0,2767
+30,6,107064,6.0,2859
+31,6,107064,7.0,2753
+32,6,107064,8.0,V1582
+33,7,118037,1.0,V3001
+34,7,118037,2.0,V053
+35,7,118037,3.0,V290
+36,8,159514,1.0,V3001
+37,8,159514,2.0,7706
+38,8,159514,3.0,7746
+39,8,159514,4.0,V290
+40,8,159514,5.0,V502
+41,8,159514,6.0,V053
+42,9,150750,1.0,431
+43,9,150750,2.0,5070
+44,9,150750,3.0,4280
+45,9,150750,4.0,5849
+46,9,150750,5.0,2765
+47,9,150750,6.0,4019
+48,10,184167,1.0,V3000
+49,10,184167,2.0,7742
+50,10,184167,3.0,76525
+51,10,184167,4.0,76515
+52,10,184167,5.0,V290
+53,11,194540,1.0,1913
+54,12,112213,1.0,1570
+55,12,112213,2.0,57410
+56,12,112213,3.0,9971
+57,12,112213,4.0,4275
+58,12,112213,5.0,99811
+59,12,112213,6.0,4019
+60,12,112213,7.0,5680
+61,12,112213,8.0,55321
+62,12,112213,9.0,E8782
+63,13,143045,1.0,41401
+64,13,143045,2.0,4111
+65,13,143045,3.0,25000
+66,13,143045,4.0,4019
+67,13,143045,5.0,2720
+68,16,103251,1.0,V3000
+69,16,103251,2.0,V290
+70,16,103251,3.0,V502
+71,16,103251,4.0,V053
+72,16,103251,5.0,V721
+73,17,161087,1.0,4239
+74,17,161087,2.0,5119
+75,17,161087,3.0,78551
+76,17,161087,4.0,4589
+77,17,161087,5.0,311
+78,17,161087,6.0,7220
+79,17,161087,7.0,71946
+80,17,161087,8.0,2724
+81,17,194023,1.0,7455
+82,17,194023,2.0,45829
+83,17,194023,3.0,V1259
+84,17,194023,4.0,2724
+85,18,188822,1.0,25080
+86,18,188822,2.0,78039
+87,18,188822,3.0,29633
+88,18,188822,4.0,V5867
+89,18,188822,5.0,E9323
+90,18,188822,6.0,V5869
+91,18,188822,7.0,47829
+92,18,188822,8.0,78057
+93,18,188822,9.0,78321
+94,18,188822,10.0,4019
+95,18,188822,11.0,4264
+96,18,188822,12.0,2720
+97,18,188822,13.0,V170
+98,19,109235,1.0,80502
+99,19,109235,2.0,5990
+100,19,109235,3.0,5964
+101,19,109235,4.0,E8809
+102,19,109235,5.0,8220
+103,19,109235,6.0,73300
+104,19,109235,7.0,2948
+105,19,109235,8.0,4019
+106,19,109235,9.0,44321
+107,20,157681,1.0,41401
+108,20,157681,2.0,4111
+109,20,157681,3.0,25000
+110,20,157681,4.0,2724
+111,20,157681,5.0,4019
+112,21,109451,1.0,41071
+113,21,109451,2.0,78551
+114,21,109451,3.0,5781
+115,21,109451,4.0,5849
+116,21,109451,5.0,40391
+117,21,109451,6.0,4280
+118,21,109451,7.0,4592
+119,21,109451,8.0,5070
+120,21,109451,9.0,42731
+121,21,109451,10.0,4271
+122,21,109451,11.0,41401
+123,21,109451,12.0,25000
+124,21,109451,13.0,28521
+125,21,109451,14.0,1122
+126,21,109451,15.0,2720
+127,21,109451,16.0,2749
+128,21,109451,17.0,V1046
+129,21,109451,18.0,43889
+130,21,111970,1.0,0388
+131,21,111970,2.0,78552
+132,21,111970,3.0,40391
+133,21,111970,4.0,42731
+134,21,111970,5.0,70709
+135,21,111970,6.0,5119
+136,21,111970,7.0,6823
+137,21,111970,8.0,99859
+138,21,111970,9.0,00845
+139,21,111970,10.0,5720
+140,21,111970,11.0,99592
+141,21,111970,12.0,V0980
+142,21,111970,13.0,25000
+143,21,111970,14.0,2859
+144,21,111970,15.0,43889
+145,21,111970,16.0,2749
+146,21,111970,17.0,41401
+147,21,111970,18.0,185
+148,21,111970,19.0,4439
+149,21,111970,20.0,2449
+150,21,111970,21.0,E8788
+151,22,165315,1.0,9678
+152,22,165315,2.0,9693
+153,22,165315,3.0,E9502
+154,22,165315,4.0,E9503
+155,22,165315,5.0,3488
+156,22,165315,6.0,29620
+157,22,165315,7.0,4019
+158,23,124321,1.0,2252
+159,23,124321,2.0,3485
+160,23,124321,3.0,78039
+161,23,124321,4.0,4241
+162,23,124321,5.0,4019
+163,23,124321,6.0,2720
+164,23,124321,7.0,2724
+165,23,124321,8.0,V4581
+166,23,124321,9.0,V4579
+167,23,124321,10.0,V1582
+168,23,152223,1.0,41401
+169,23,152223,2.0,4111
+170,23,152223,3.0,4241
+171,23,152223,4.0,V4582
+172,23,152223,5.0,2724
+173,23,152223,6.0,4019
+174,23,152223,7.0,60000
+175,23,152223,8.0,3899
+176,24,161859,1.0,41041
+177,24,161859,2.0,41401
+178,24,161859,3.0,53081
+179,24,161859,4.0,25000
+180,25,129635,1.0,41071
+181,25,129635,2.0,25011
+182,25,129635,3.0,41401
+183,25,129635,4.0,4019
+184,26,197661,1.0,99604
+185,26,197661,2.0,4271
+186,26,197661,3.0,4280
+187,26,197661,4.0,42731
+188,26,197661,5.0,41401
+189,26,197661,6.0,412
+190,26,197661,7.0,5939
+191,26,197661,8.0,2720
+192,26,197661,9.0,60000
+193,27,134931,1.0,V3000
+194,27,134931,2.0,7706
+195,27,134931,3.0,V290
+196,27,134931,4.0,V053
+197,28,162569,1.0,41401
+198,28,162569,2.0,4111
+199,28,162569,3.0,496
+200,28,162569,4.0,412
+201,28,162569,5.0,25000
+202,28,162569,6.0,2720
+203,28,162569,7.0,4263
+204,28,162569,8.0,30029
+205,28,162569,9.0,V1582
+206,28,162569,10.0,V4582
+207,28,162569,11.0,V174
+208,30,104557,1.0,99674
+209,30,104557,2.0,4160
+210,30,104557,3.0,4111
+211,30,104557,4.0,4281
+212,30,104557,5.0,4271
+213,30,104557,6.0,41401
+214,30,104557,7.0,4019
+215,30,104557,8.0,2720
+216,30,104557,9.0,5939
+217,31,128652,1.0,3453
+218,31,128652,2.0,20190
+219,31,128652,3.0,515
+220,31,128652,4.0,486
+221,31,128652,5.0,4019
+222,31,128652,6.0,36250
+223,31,128652,7.0,E9331
+224,31,128652,8.0,4371
+225,32,175413,1.0,5191
+226,32,175413,2.0,496
+227,32,175413,3.0,42731
+228,32,175413,4.0,4538
+229,32,175413,5.0,53081
+230,32,175413,6.0,78057
+231,32,175413,7.0,4019
+232,32,175413,8.0,27801
+233,33,176176,1.0,0389
+234,33,176176,2.0,4928
+235,33,176176,3.0,49390
+236,34,115799,1.0,41071
+237,34,115799,2.0,4280
+238,34,115799,3.0,4254
+239,34,115799,4.0,42731
+240,34,115799,5.0,9971
+241,34,115799,6.0,4260
+242,34,115799,7.0,41401
+243,34,115799,8.0,E8790
+244,34,144319,1.0,42789
+245,34,144319,2.0,42822
+246,34,144319,3.0,4263
+247,34,144319,4.0,41401
+248,34,144319,5.0,V5861
+249,34,144319,6.0,4280
+250,34,144319,7.0,2449
+251,34,144319,8.0,3659
+252,35,166707,1.0,3962
+253,35,166707,2.0,4260
+254,35,166707,3.0,2875
+255,35,166707,4.0,9971
+256,35,166707,5.0,42731
+257,35,166707,6.0,42732
+258,35,166707,7.0,41401
+259,35,166707,8.0,4019
+260,35,166707,9.0,2449
+261,35,166707,10.0,25000
+262,35,166707,11.0,71590
+263,36,122659,1.0,99831
+264,36,122659,2.0,99811
+265,36,122659,3.0,41511
+266,36,122659,4.0,4538
+267,36,122659,5.0,99672
+268,36,122659,6.0,496
+269,36,122659,7.0,41401
+270,36,122659,8.0,V4581
+271,36,122659,9.0,4019
+272,36,122659,10.0,60000
+273,36,122659,11.0,53081
+274,36,122659,12.0,V1051
+275,36,165660,1.0,55321
+276,36,165660,2.0,41511
+277,36,165660,3.0,5185
+278,36,165660,4.0,486
+279,36,165660,5.0,99739
+280,36,165660,6.0,5180
+281,36,165660,7.0,41400
+282,36,165660,8.0,496
+283,36,165660,9.0,4019
+284,36,165660,10.0,60000
+285,36,165660,11.0,30000
+286,36,165660,12.0,V1051
+287,36,182104,1.0,41401
+288,36,182104,2.0,4111
+289,36,182104,3.0,496
+290,36,182104,4.0,4019
+291,36,182104,5.0,3051
+292,36,182104,6.0,53081
+293,36,182104,7.0,60000
+294,36,182104,8.0,V1051
+295,36,182104,9.0,5968
+296,37,188670,1.0,41071
+297,37,188670,2.0,4280
+298,37,188670,3.0,496
+299,37,188670,4.0,53551
+300,37,188670,5.0,2851
+301,37,188670,6.0,486
+302,37,188670,7.0,41401
+303,37,188670,8.0,25000
+304,37,188670,9.0,42789
+305,38,185910,1.0,60883
+306,38,185910,2.0,0389
+307,38,185910,3.0,99592
+308,38,185910,4.0,5849
+309,38,185910,5.0,4280
+310,38,185910,6.0,42731
+311,38,185910,7.0,9982
+312,38,185910,8.0,9974
+313,38,185910,9.0,5601
+314,38,185910,10.0,6084
+315,38,185910,11.0,E8708
+316,38,185910,12.0,41400
+317,38,185910,13.0,V4581
+318,39,106266,1.0,V3000
+319,39,106266,2.0,769
+320,39,106266,3.0,7742
+321,39,106266,4.0,2765
+322,39,106266,5.0,7708
+323,39,106266,6.0,76519
+324,39,106266,7.0,V290
+325,39,106266,8.0,V058
+326,39,106266,9.0,V053
+327,41,101757,1.0,1917
+328,41,101757,2.0,5185
+329,41,101757,3.0,5130
+330,41,101757,4.0,48241
+331,41,101757,5.0,5070
+332,41,101757,6.0,70705
+333,41,101757,7.0,1124
+334,41,101757,8.0,496
+335,41,101757,9.0,48282
+336,41,101757,10.0,78820
+337,41,101757,11.0,5121
+338,41,101757,12.0,70703
+339,41,101757,13.0,3485
+340,41,101757,14.0,V1005
+341,41,101757,15.0,V1047
+342,41,101757,16.0,4019
+343,41,101757,17.0,2859
+344,41,101757,18.0,3051
+345,41,101757,19.0,7099
+346,42,119203,1.0,42741
+347,42,119203,2.0,4280
+348,42,119203,3.0,41400
+349,42,119203,4.0,412
+350,42,119203,5.0,4019
+351,42,119203,6.0,43820
+352,42,119203,7.0,43819
+353,43,146828,1.0,8052
+354,43,146828,2.0,5180
+355,43,146828,3.0,E8210
+356,44,181750,1.0,41401
+357,44,181750,2.0,4139
+358,44,181750,3.0,5960
+359,44,181750,4.0,42731
+360,44,181750,5.0,3968
+361,44,181750,6.0,4019
+362,44,181750,7.0,2720
+363,44,181750,8.0,78057
+364,44,181750,9.0,V173
+365,44,181750,10.0,4439
+366,45,157907,1.0,8249
+367,45,157907,2.0,9984
+368,45,157907,3.0,8730
+369,45,157907,4.0,87344
+370,45,157907,5.0,9110
+371,45,157907,6.0,9130
+372,45,157907,7.0,E8122
+373,45,157907,8.0,3051
+374,46,144073,1.0,5768
+375,46,144073,2.0,20300
+376,46,144073,3.0,99659
+377,46,144073,4.0,99811
+378,46,144073,5.0,2851
+379,46,144073,6.0,2809
+380,46,144073,7.0,2811
+381,46,144073,8.0,22809
+382,49,190539,1.0,4241
+383,49,190539,2.0,42731
+384,49,190539,3.0,4280
+385,49,190539,4.0,496
+386,49,190539,5.0,2939
+387,49,190539,6.0,40390
+388,49,190539,7.0,56409
+389,49,190539,8.0,311
+390,49,190539,9.0,V4582
+391,49,190539,10.0,412
+392,49,190539,11.0,2724
+393,50,132761,1.0,V3000
+394,50,132761,2.0,7746
+395,50,132761,3.0,7661
+396,50,132761,4.0,V290
+397,50,132761,5.0,V293
+398,51,196010,1.0,V3000
+399,51,196010,2.0,V502
+400,51,196010,3.0,V053
+401,51,196010,4.0,V290
+402,52,190797,1.0,7907
+403,52,190797,2.0,78039
+404,52,190797,3.0,5849
+405,52,190797,4.0,58089
+406,52,190797,5.0,5712
+407,52,190797,6.0,07054
+408,52,190797,7.0,04111
+409,52,190797,8.0,5728
+410,52,190797,9.0,2841
+411,53,155385,1.0,41021
+412,53,155385,2.0,30562
+413,53,155385,3.0,41401
+414,53,155385,4.0,4019
+415,53,155385,5.0,53081
+416,54,138795,1.0,V3001
+417,54,138795,2.0,V290
+418,54,138795,3.0,V053
+419,55,190665,1.0,43310
+420,55,190665,2.0,4280
+421,55,190665,3.0,2720
+422,55,190665,4.0,4019
+423,55,190665,5.0,2449
+424,55,190665,6.0,25000
+425,55,190665,7.0,V1011
+426,55,190665,8.0,41400
+427,55,190665,9.0,V4582
+428,55,190665,10.0,V4502
+429,56,181711,1.0,1983
+430,56,181711,2.0,1628
+431,56,181711,3.0,53140
+432,56,181711,4.0,2761
+433,56,181711,5.0,4280
+434,56,181711,6.0,78039
+435,56,181711,7.0,2720
+436,56,181711,8.0,4019
+437,57,162774,1.0,V3001
+438,57,162774,2.0,7661
+439,57,162774,3.0,V053
+440,57,162774,4.0,V290
+441,57,162774,5.0,V293
+442,58,177285,1.0,V3000
+443,58,177285,2.0,2161
+444,58,177285,3.0,V053
+445,58,177285,4.0,V290
+446,59,104130,1.0,5990
+447,59,104130,2.0,40391
+448,59,104130,3.0,5856
+449,59,104130,4.0,25080
+450,59,104130,5.0,0414
+451,59,104130,6.0,4589
+452,59,104130,7.0,311
+453,59,104130,8.0,2948
+454,59,104130,9.0,78701
+455,59,104130,10.0,2449
+456,59,104130,11.0,V4501
+457,59,104130,12.0,28529
+458,60,198892,1.0,V3401
+459,60,198892,2.0,76518
+460,60,198892,3.0,76527
+461,61,176332,1.0,20280
+462,61,176332,2.0,2880
+463,61,176332,3.0,2875
+464,61,176332,4.0,5781
+465,61,176332,5.0,2851
+466,61,176332,6.0,2639
+467,61,176332,7.0,9998
+468,61,176332,8.0,5790
+469,61,176332,9.0,6930
+470,61,189535,1.0,20280
+471,61,189535,2.0,2848
+472,61,189535,3.0,99685
+473,61,189535,4.0,56983
+474,61,189535,5.0,5672
+475,61,189535,6.0,2762
+476,61,189535,7.0,0389
+477,61,189535,8.0,99591
+478,61,189535,9.0,2763
+479,61,189535,10.0,7994
+480,61,189535,11.0,1120
+481,61,189535,12.0,2765
+482,61,189535,13.0,4589
+483,61,189535,14.0,42731
+484,61,189535,15.0,2554
+485,61,189535,16.0,3510
+486,61,189535,17.0,0880
+487,62,116009,1.0,1125
+488,62,116009,2.0,03849
+489,62,116009,3.0,7100
+490,62,116009,4.0,99591
+491,62,116009,5.0,2859
+492,62,116009,6.0,7140
+493,63,195961,1.0,71945
+494,63,195961,2.0,4280
+495,63,195961,3.0,496
+496,63,195961,4.0,57420
+497,63,195961,5.0,4148
+498,63,195961,6.0,E8889
+499,63,195961,7.0,E8498
+500,63,195961,8.0,7808
+501,63,195961,9.0,2948
+502,63,195961,10.0,3079
+503,64,172056,1.0,4210
+1000,109,126055,17.0,V4511
+1001,109,126055,18.0,34590
+1002,109,126055,19.0,56400
+1003,109,126055,20.0,28521
+1004,109,126055,21.0,79092
+1005,109,126055,22.0,32723
+1006,109,126055,23.0,51889
+1007,109,126055,24.0,78659
+1008,109,126055,25.0,78060
+1009,109,126055,26.0,7821
+1010,109,126055,27.0,4168
+1011,109,126055,28.0,V1251
+1012,109,126055,29.0,V5861
+1013,109,128755,1.0,4372
+1014,109,128755,2.0,78039
+1015,109,128755,3.0,7100
+1016,109,128755,4.0,40391
+1017,109,128755,5.0,4251
+1018,109,128755,6.0,2859
+1019,109,131345,1.0,40301
+1020,109,131345,2.0,58281
+1021,109,131345,3.0,4254
+1022,109,131345,4.0,7100
+1023,109,131345,5.0,2875
+1024,109,131345,6.0,78702
+1025,109,131345,7.0,E9426
+1026,109,131345,8.0,9596
+1027,109,131345,9.0,E9289
+1028,109,131345,10.0,4589
+1029,109,131345,11.0,2859
+1030,109,131345,12.0,V1251
+1031,109,131345,13.0,5856
+1032,109,131345,14.0,V451
+1033,109,131345,15.0,5990
+1034,109,131345,16.0,2767
+1035,109,131345,17.0,2762
+1036,109,131345,18.0,2753
+1037,109,131345,19.0,27541
+1038,109,131345,20.0,58881
+1039,109,131376,1.0,40301
+1040,109,131376,2.0,5856
+1041,109,131376,3.0,58281
+1042,109,131376,4.0,4254
+1043,109,131376,5.0,3643
+1044,109,131376,6.0,2841
+1045,109,131376,7.0,78959
+1046,109,131376,8.0,33829
+1047,109,131376,9.0,78900
+1048,109,131376,10.0,7100
+1049,109,131376,11.0,2875
+1050,109,131376,12.0,28521
+1051,109,131376,13.0,32723
+1052,109,131376,14.0,44389
+1053,109,131376,15.0,28529
+1054,109,131376,16.0,53190
+1055,109,131376,17.0,34590
+1056,109,131376,18.0,V5861
+1057,109,131376,19.0,V1251
+1058,109,131376,20.0,V1254
+1059,109,135923,1.0,40301
+1060,109,135923,2.0,5856
+1061,109,135923,3.0,4251
+1062,109,135923,4.0,7100
+1063,109,135923,5.0,79902
+1064,109,135923,6.0,E9352
+1065,109,135923,7.0,2875
+1066,109,135923,8.0,28521
+1067,109,135923,9.0,78909
+1068,109,135923,10.0,32723
+1069,109,135923,11.0,3004
+1070,109,135923,12.0,V4511
+1071,109,135923,13.0,V1251
+1072,109,135923,14.0,V5861
+1073,109,135923,15.0,V4589
+1074,109,136572,1.0,2766
+1075,109,136572,2.0,5856
+1076,109,136572,3.0,40301
+1077,109,136572,4.0,4254
+1078,109,136572,5.0,4239
+1079,109,136572,6.0,28529
+1080,109,136572,7.0,2767
+1081,109,136572,8.0,7100
+1082,109,136572,9.0,78909
+1083,109,136572,10.0,33829
+1084,109,136572,11.0,4589
+1085,109,136572,12.0,53190
+1086,109,136572,13.0,34590
+1087,109,136572,14.0,311
+1088,109,136572,15.0,V1251
+1089,109,136572,16.0,V4512
+1090,109,137510,1.0,40301
+1091,109,137510,2.0,5856
+1092,109,137510,3.0,3643
+1093,109,137510,4.0,4254
+1094,109,137510,5.0,4239
+1095,109,137510,6.0,2766
+1096,109,137510,7.0,7100
+1097,109,137510,8.0,58381
+1098,109,137510,9.0,V4512
+1099,109,137510,10.0,V1581
+1100,109,137510,11.0,V642
+1101,109,137510,12.0,78904
+1102,109,137510,13.0,V4511
+1103,109,137510,14.0,2875
+1104,109,137510,15.0,28529
+1105,109,137510,16.0,V1251
+1106,109,137510,17.0,V5861
+1107,109,137510,18.0,4439
+1108,109,137510,19.0,V4578
+1109,109,137510,20.0,V0254
+1110,109,139061,1.0,40301
+1111,109,139061,2.0,58281
+1112,109,139061,3.0,5855
+1113,109,139061,4.0,5990
+1114,109,139061,5.0,4254
+1115,109,139061,6.0,7100
+1116,109,139061,7.0,7243
+1117,109,139061,8.0,2767
+1118,109,139061,9.0,2875
+1119,109,139061,10.0,79092
+1120,109,139061,11.0,25200
+1121,109,139061,12.0,28529
+1122,109,139061,13.0,V1251
+1123,109,140167,1.0,40301
+1124,109,140167,2.0,5856
+1125,109,140167,3.0,99656
+1126,109,140167,4.0,4251
+1127,109,140167,5.0,4239
+1128,109,140167,6.0,9951
+1129,109,140167,7.0,78909
+1130,109,140167,8.0,7100
+1131,109,140167,9.0,2874
+1132,109,140167,10.0,28521
+1133,109,140167,11.0,3004
+1134,109,140167,12.0,32723
+1135,109,140167,13.0,V1251
+1136,109,140167,14.0,V5865
+1137,109,140167,15.0,V5861
+1138,109,140167,16.0,E8781
+1139,109,140167,17.0,E9426
+1140,109,147469,1.0,40301
+1141,109,147469,2.0,5856
+1142,109,147469,3.0,34839
+1143,109,147469,4.0,58281
+1144,109,147469,5.0,5990
+1145,109,147469,6.0,2762
+1146,109,147469,7.0,3643
+1147,109,147469,8.0,2839
+1148,109,147469,9.0,7100
+1149,109,147469,10.0,V1251
+1150,109,147469,11.0,V5861
+1151,109,147469,12.0,7842
+1152,109,147469,13.0,2767
+1153,109,147469,14.0,61172
+1154,109,147469,15.0,2875
+1155,109,147469,16.0,27541
+1156,109,147469,17.0,2753
+1157,109,151240,1.0,40301
+1158,109,151240,2.0,5856
+1159,109,151240,3.0,4254
+1160,109,151240,4.0,4239
+1161,109,151240,5.0,7100
+1162,109,151240,6.0,58381
+1163,109,151240,7.0,2767
+1164,109,151240,8.0,78701
+1165,109,151240,9.0,78791
+1166,109,151240,10.0,2753
+1167,109,151240,11.0,28529
+1168,109,151240,12.0,78904
+1169,109,151240,13.0,33829
+1170,109,151240,14.0,2875
+1171,109,151240,15.0,44389
+1172,109,151240,16.0,V0254
+1173,109,151240,17.0,V5861
+1174,109,151240,18.0,V4512
+1175,109,151240,19.0,V4511
+1176,109,151240,20.0,V1581
+1177,109,155726,1.0,40301
+1178,109,155726,2.0,5856
+1179,109,155726,3.0,58281
+1180,109,155726,4.0,4254
+1181,109,155726,5.0,78959
+1182,109,155726,6.0,2875
+1183,109,155726,7.0,4592
+1184,109,155726,8.0,2841
+1185,109,155726,9.0,7100
+1186,109,155726,10.0,78900
+1187,109,155726,11.0,33819
+1188,109,155726,12.0,33829
+1189,109,155726,13.0,53190
+1190,109,155726,14.0,53081
+1191,109,155726,15.0,311
+1192,109,155726,16.0,28521
+1193,109,155726,17.0,28529
+1194,109,155726,18.0,34590
+1195,109,155726,19.0,73399
+1196,109,155726,20.0,32723
+1197,109,155726,21.0,44389
+1198,109,155726,22.0,62211
+1199,109,155726,23.0,V4512
+1200,109,155726,24.0,V1251
+1201,109,155726,25.0,V5861
+1202,109,158943,1.0,2766
+1203,109,158943,2.0,5856
+1204,109,158943,3.0,40301
+1205,109,158943,4.0,58281
+1206,109,158943,5.0,4592
+1207,109,158943,6.0,4239
+1208,109,158943,7.0,99662
+1209,109,158943,8.0,7907
+1210,109,158943,9.0,28981
+1211,109,158943,10.0,4254
+1212,109,158943,11.0,4251
+1213,109,158943,12.0,78900
+1214,109,158943,13.0,5990
+1215,109,158943,14.0,2762
+1216,109,158943,15.0,78659
+1217,109,158943,16.0,33829
+1218,109,158943,17.0,7100
+1219,109,158943,18.0,V4512
+1220,109,158943,19.0,2875
+1221,109,158943,20.0,28521
+1222,109,158943,21.0,2767
+1223,109,158943,22.0,04104
+1224,109,158943,23.0,E8791
+1225,109,158943,24.0,04112
+1226,109,158943,25.0,32723
+1227,109,158943,26.0,V1251
+1228,109,158943,27.0,V5861
+1229,109,158995,1.0,96509
+1230,109,158995,2.0,5856
+1231,109,158995,3.0,40301
+1232,109,158995,4.0,58281
+1233,109,158995,5.0,4466
+1234,109,158995,6.0,4254
+1235,109,158995,7.0,2762
+1236,109,158995,8.0,7100
+1237,109,158995,9.0,2875
+1238,109,158995,10.0,78097
+1239,109,158995,11.0,45829
+1240,109,158995,12.0,E8502
+1241,109,158995,13.0,2767
+1242,109,158995,14.0,28521
+1243,109,158995,15.0,32723
+1244,109,158995,16.0,3004
+1245,109,158995,17.0,72992
+1246,109,158995,18.0,V4512
+1247,109,158995,19.0,V5861
+1248,109,158995,20.0,V1251
+1249,109,161950,1.0,40301
+1250,109,161950,2.0,5856
+1251,109,161950,3.0,78959
+1252,109,161950,4.0,4251
+1253,109,161950,5.0,7100
+1254,109,161950,6.0,7840
+1255,109,161950,7.0,28521
+1256,109,161950,8.0,30000
+1257,109,161950,9.0,78659
+1258,109,161950,10.0,V1251
+1259,109,161950,11.0,V5861
+1260,109,161950,12.0,V4511
+1261,109,161950,13.0,V4578
+1262,109,164029,1.0,40301
+1263,109,164029,2.0,7100
+1264,109,164029,3.0,5856
+1265,109,164029,4.0,V4983
+1266,109,164029,5.0,58381
+1267,109,164029,6.0,3643
+1268,109,166018,1.0,4010
+1269,109,166018,2.0,5856
+1270,109,166018,3.0,58281
+1271,109,166018,4.0,4254
+1272,109,166018,5.0,2841
+1273,109,166018,6.0,7100
+1274,109,166018,7.0,2875
+1275,109,166018,8.0,2859
+1276,109,166018,9.0,V451
+1277,109,166018,10.0,V4589
+1278,109,166018,11.0,V4569
+1279,109,170149,1.0,4538
+1280,109,170149,2.0,5856
+1281,109,170149,3.0,40301
+1282,109,170149,4.0,4592
+1283,109,170149,5.0,58281
+1284,109,170149,6.0,4254
+1285,109,170149,7.0,2841
+1286,109,170149,8.0,7100
+1287,109,170149,9.0,28521
+1288,109,170149,10.0,2767
+1289,109,170149,11.0,25200
+1290,109,170149,12.0,45829
+1291,109,170149,13.0,78701
+1292,109,170149,14.0,2874
+1293,109,170149,15.0,79500
+1294,109,170149,16.0,78909
+1295,109,170149,17.0,2518
+1296,109,170149,18.0,E9320
+3270,273,158689,12.0,E8500
+3271,273,158689,13.0,E8543
+3272,273,158689,14.0,E8541
+3273,273,158689,15.0,E8498
+3274,273,158689,16.0,3051
+3275,274,130546,1.0,430
+3276,274,130546,2.0,5070
+3277,274,130546,3.0,2720
+3278,274,130546,4.0,4019
+3279,274,130546,5.0,43320
+3280,275,129886,1.0,0389
+2955,245,105501,3.0,9971
+2956,245,105501,4.0,4271
+2957,245,105501,5.0,78551
+2958,245,105501,6.0,4280
+2959,245,105501,7.0,5849
+2960,245,105501,8.0,3963
+2961,245,105501,9.0,V667
+2962,246,197430,1.0,57149
+2963,246,197430,2.0,1550
+2964,246,197430,3.0,25002
+2965,246,197430,4.0,5715
+2966,246,197430,5.0,5680
+2967,246,197430,6.0,2720
+2968,246,197430,7.0,4019
+2969,246,197430,8.0,V4581
+2970,246,197430,9.0,V5867
+2971,246,197430,10.0,27800
+2972,246,197430,11.0,41400
+2973,246,197430,12.0,V1301
+2974,246,197430,13.0,32723
+2975,247,189521,1.0,41401
+2976,247,189521,2.0,9971
+2977,247,189521,3.0,4139
+2978,247,189521,4.0,42731
+2979,247,189521,5.0,4019
+2980,247,189521,6.0,2720
+2981,247,189521,7.0,311
+2982,247,189521,8.0,V4582
+2983,248,175353,1.0,8822
+2984,248,175353,2.0,85220
+2985,248,175353,3.0,5185
+2986,248,175353,4.0,99889
+2987,248,175353,5.0,5070
+2988,248,175353,6.0,9579
+2989,248,175353,7.0,87342
+2990,248,175353,8.0,E8150
+2991,248,175353,9.0,2859
+2992,249,116935,1.0,49322
+2993,249,116935,2.0,51882
+2994,249,116935,3.0,41071
+2995,249,116935,4.0,42841
+2996,249,116935,5.0,99812
+2997,249,116935,6.0,5849
+2998,249,116935,7.0,42731
+2999,249,116935,8.0,4660
+3000,249,116935,9.0,4589
+3001,249,116935,10.0,41401
+3002,249,116935,11.0,41402
+3003,249,116935,12.0,2449
+3004,249,116935,13.0,7921
+3005,249,116935,14.0,25000
+3006,249,116935,15.0,53081
+3007,249,116935,16.0,2859
+3008,249,149546,1.0,56985
+3009,249,149546,2.0,41071
+3010,249,149546,3.0,43411
+3011,249,149546,4.0,5849
+3012,249,149546,5.0,2851
+3013,249,149546,6.0,34280
+3014,249,149546,7.0,41402
+3015,249,149546,8.0,42731
+3016,249,149546,9.0,4280
+3017,249,149546,10.0,40390
+3018,249,149546,11.0,78451
+3019,249,149546,12.0,25000
+3020,249,149546,13.0,5859
+3021,249,149546,14.0,2724
+3022,249,149546,15.0,49320
+3023,249,149546,16.0,53081
+3024,249,149546,17.0,2449
+3025,249,158975,1.0,1534
+3026,249,158975,2.0,42821
+3027,249,158975,3.0,1982
+3028,249,158975,4.0,2639
+3029,249,158975,5.0,5849
+3030,249,158975,6.0,5601
+3031,249,158975,7.0,99811
+3032,249,158975,8.0,99813
+3033,249,158975,9.0,42731
+3034,249,158975,10.0,4280
+3035,249,158975,11.0,40390
+3036,249,158975,12.0,5853
+3037,249,158975,13.0,4139
+3038,249,158975,14.0,25000
+3039,249,158975,15.0,53081
+3040,249,158975,16.0,2449
+3041,249,158975,17.0,49320
+3042,249,158975,18.0,412
+3043,249,158975,19.0,V4581
+3044,249,158975,20.0,V1254
+3045,249,158975,21.0,V4986
+3046,249,158975,22.0,E8788
+3047,249,158975,23.0,2800
+3048,249,158975,24.0,45829
+3049,249,158975,25.0,59971
+3050,249,158975,26.0,E9342
+3051,250,124271,1.0,0382
+3052,250,124271,2.0,78552
+3053,250,124271,3.0,51881
+3054,250,124271,4.0,481
+3055,250,124271,5.0,5849
+3056,250,124271,6.0,78551
+3057,250,124271,7.0,9982
+3058,250,124271,8.0,1970
+3059,250,124271,9.0,19889
+3060,250,124271,10.0,99592
+3061,250,124271,11.0,4239
+3062,250,124271,12.0,2859
+3063,251,117937,1.0,85300
+3064,251,117937,2.0,9130
+3065,251,117937,3.0,9100
+3066,251,117937,4.0,30500
+3067,251,117937,5.0,E8889
+3068,252,190159,1.0,5712
+3069,252,190159,2.0,45620
+3070,252,190159,3.0,5780
+3071,252,190159,4.0,51881
+3072,252,190159,5.0,78559
+3073,252,190159,6.0,5722
+3074,252,190159,7.0,7895
+3075,252,190159,8.0,45341
+3076,252,190159,9.0,5990
+3077,252,190159,10.0,5849
+3078,252,190159,11.0,30500
+3079,252,190159,12.0,2867
+3080,252,190159,13.0,2761
+3081,252,190159,14.0,2875
+3082,252,190159,15.0,486
+3083,252,190159,16.0,5997
+3084,252,190159,17.0,8670
+3085,252,190159,18.0,2639
+3086,252,190159,19.0,2851
+3087,252,190159,20.0,5723
+3088,252,190159,21.0,34831
+3089,252,190159,22.0,2738
+3090,252,190159,23.0,5798
+3091,252,190159,24.0,0701
+3092,252,190159,25.0,3051
+3093,252,190159,26.0,V1301
+3094,252,190159,27.0,E8796
+3095,252,193470,1.0,5712
+3096,252,193470,2.0,45620
+3097,252,193470,3.0,7895
+3098,252,193470,4.0,2851
+3099,252,193470,5.0,3575
+3100,253,176189,1.0,4260
+3101,253,176189,2.0,486
+3102,253,176189,3.0,4240
+3103,253,176189,4.0,2449
+3104,253,176189,5.0,3310
+3105,253,176189,6.0,29410
+3106,253,176189,7.0,4168
+3107,253,176189,8.0,2720
+3108,253,176189,9.0,4019
+3109,255,112013,1.0,60000
+3110,255,112013,2.0,99811
+3111,255,112013,3.0,2851
+3112,255,112013,4.0,42789
+3113,256,108811,1.0,53240
+3114,256,108811,2.0,41071
+3115,256,108811,3.0,53560
+3116,256,108811,4.0,40390
+3117,256,108811,5.0,5859
+2140,175,159223,1.0,80604
+2141,175,159223,2.0,8052
+2142,175,159223,3.0,4139
+2143,175,159223,4.0,42731
+2144,175,159223,5.0,V422
+2145,175,159223,6.0,4280
+2146,175,159223,7.0,E8809
+2147,175,159223,8.0,80701
+2148,175,159223,9.0,4414
+2149,175,159223,10.0,4019
+2150,175,159223,11.0,V4501
+2151,175,159223,12.0,4439
+2152,175,159223,13.0,8730
+2153,175,159223,14.0,57420
+2154,175,176764,1.0,42831
+2155,175,176764,2.0,51881
+2156,175,176764,3.0,5070
+2157,175,176764,4.0,42731
+2158,175,176764,5.0,70707
+2159,175,176764,6.0,V422
+2160,175,176764,7.0,2738
+2161,175,176764,8.0,V5417
+2162,175,176764,9.0,V4581
+2163,176,135828,1.0,4280
+2164,176,135828,2.0,42731
+2165,176,135828,3.0,4251
+2166,176,135828,4.0,5997
+2167,176,135828,5.0,41401
+2168,176,135828,6.0,42781
+2169,176,135828,7.0,V4501
+2170,176,135828,8.0,V5861
+2171,176,135828,9.0,V1046
+2172,177,143120,1.0,4280
+2173,177,143120,2.0,51881
+2174,177,143120,3.0,5119
+2175,177,143120,4.0,496
+2176,177,143120,5.0,03811
+2177,177,143120,6.0,99672
+2178,177,143120,7.0,4240
+2179,177,143120,8.0,48241
+2180,177,143120,9.0,5070
+2181,177,196896,1.0,5789
+2182,177,196896,2.0,41091
+2183,177,196896,3.0,5990
+2184,177,196896,4.0,42731
+2185,177,196896,5.0,2761
+2186,177,196896,6.0,53010
+2187,177,196896,7.0,2720
+2188,177,196896,8.0,4019
+2189,177,196896,9.0,3320
+2190,178,196159,1.0,55321
+2191,178,196159,2.0,99812
+2192,178,196159,3.0,2851
+2193,178,196159,4.0,E8788
+2194,178,196159,5.0,5569
+2195,178,196159,6.0,42731
+2196,178,196159,7.0,3949
+2197,178,196159,8.0,4019
+2198,178,196159,9.0,V4501
+2199,179,161310,1.0,51881
+2200,179,161310,2.0,8600
+2201,179,161310,3.0,44489
+2202,179,161310,4.0,27651
+2203,179,161310,5.0,99881
+2204,179,161310,6.0,80700
+2205,179,161310,7.0,92400
+2206,179,161310,8.0,E9600
+2207,179,161310,9.0,514
+2208,179,161310,10.0,45829
+2209,180,155820,1.0,V3101
+2210,180,155820,2.0,76517
+2211,180,155820,3.0,76497
+2212,180,155820,4.0,V290
+2213,180,155820,5.0,7708
+2214,180,155820,6.0,76383
+2215,180,155820,7.0,75261
+2216,181,102631,1.0,4411
+2217,181,102631,2.0,4241
+2218,181,102631,3.0,9971
+2219,181,102631,4.0,4281
+2220,181,102631,5.0,44103
+2221,182,146080,1.0,2181
+2222,182,146080,2.0,2851
+2223,182,146080,3.0,2800
+2224,182,146080,4.0,24200
+2225,183,113341,1.0,85300
+2226,183,113341,2.0,95901
+2227,183,113341,3.0,E8120
+2228,184,137477,1.0,1919
+2229,184,137477,2.0,6826
+2230,184,137477,3.0,486
+2231,184,137477,4.0,2554
+2232,184,137477,5.0,25000
+2233,184,137477,6.0,3594
+2234,184,137477,7.0,E9320
+2235,184,137526,1.0,1916
+2236,184,137526,2.0,78039
+2237,184,137526,3.0,2554
+2238,184,137526,4.0,486
+2239,184,137526,5.0,7872
+2240,184,137526,6.0,34830
+2241,184,137526,7.0,2859
+2242,185,152056,1.0,V3000
+2243,185,152056,2.0,V053
+2244,185,152056,3.0,V290
+2245,186,164405,1.0,4560
+2246,186,164405,2.0,5070
+2247,186,164405,3.0,340
+2248,186,164405,4.0,51881
+2249,186,164405,5.0,57149
+2250,186,164405,6.0,27652
+2251,186,164405,7.0,4568
+2252,186,164405,8.0,4019
+2253,186,164405,9.0,25000
+2254,186,164405,10.0,2720
+2255,186,164405,11.0,4589
+2256,187,199724,1.0,0383
+2257,187,199724,2.0,9992
+2258,187,199724,3.0,41071
+2259,187,199724,4.0,496
+2260,187,199724,5.0,2762
+2261,187,199724,6.0,45182
+2262,187,199724,7.0,2768
+2263,187,199724,8.0,3310
+2264,187,199724,9.0,29410
+2265,188,123860,1.0,99682
+2266,188,123860,2.0,51881
+2267,188,123860,3.0,5849
+2268,188,123860,4.0,7907
+2269,188,123860,5.0,07044
+2270,188,123860,6.0,2762
+2271,188,123860,7.0,2763
+2272,188,123860,8.0,25541
+2273,188,123860,9.0,78959
+2274,188,123860,10.0,2760
+2275,188,123860,11.0,2768
+2276,188,123860,12.0,V4983
+2277,188,123860,13.0,5715
+2278,188,123860,14.0,5859
+2279,188,123860,15.0,25080
+2280,188,123860,16.0,45621
+2281,188,123860,17.0,04109
+2282,188,123860,18.0,V1007
+2283,188,123860,19.0,40390
+2284,188,123860,20.0,E8780
+2285,188,132401,1.0,3241
+2286,188,132401,2.0,51881
+2287,188,132401,3.0,486
+2288,188,132401,4.0,99931
+2289,188,132401,5.0,73008
+2290,188,132401,6.0,7907
+2291,188,132401,7.0,99682
+2292,188,132401,8.0,99811
+2293,188,132401,9.0,07044
+2294,188,132401,10.0,5856
+2295,188,132401,11.0,25541
+2296,188,132401,12.0,78959
+2297,188,132401,13.0,40391
+2298,188,132401,14.0,2761
+2299,188,132401,15.0,2762
+2300,188,132401,16.0,5789
+2301,188,132401,17.0,2867
+2302,188,132401,18.0,V4983
+2303,188,132401,19.0,2875
+2304,188,132401,20.0,5723
+2305,188,132401,21.0,72293
+2306,188,132401,22.0,04119
+2307,188,132401,23.0,33399
+2308,188,132401,24.0,E9390
+2309,188,132401,25.0,E8780
+2310,188,132401,26.0,25000
+2311,188,132401,27.0,53789
+2312,188,132401,28.0,V1007
+2313,188,132401,29.0,28521
+2314,188,132401,30.0,73730
+2315,188,150463,1.0,99811
+2316,188,150463,2.0,99682
+2317,188,150463,3.0,5715
+2318,188,150463,4.0,07054
+2319,188,150463,5.0,E8788
+2320,188,150463,6.0,E8780
+2321,188,150463,7.0,4019
+2322,188,160697,1.0,570
+2323,188,160697,2.0,07054
+2324,188,160697,3.0,1552
+2325,188,160697,4.0,5723
+2326,188,160697,5.0,78071
+2327,188,164735,1.0,4552
+2328,188,164735,2.0,7907
+2329,188,164735,3.0,99682
+2330,188,164735,4.0,99931
+2331,188,164735,5.0,5856
+2332,188,164735,6.0,99811
+2333,188,164735,7.0,99731
+2334,188,164735,8.0,2851
+2335,188,164735,9.0,25541
+2336,188,164735,10.0,2875
+2337,188,164735,11.0,5715
+2338,188,164735,12.0,V4983
+2339,188,164735,13.0,07054
+2340,188,164735,14.0,80702
+2341,188,164735,15.0,04104
+2342,188,164735,16.0,4555
+2343,188,164735,17.0,E8788
+2344,188,164735,18.0,E8844
+2345,188,164735,19.0,E8497
+2346,188,164735,20.0,28521
+2347,188,164735,21.0,E8780
+2348,188,164735,22.0,25000
+2349,188,164735,23.0,V5867
+2350,188,164735,24.0,53789
+1735,138,105764,2.0,4254
+1736,138,105764,3.0,4280
+1737,138,105764,4.0,V4502
+1738,138,105764,5.0,V5861
+1739,138,105764,6.0,V433
+1740,138,105764,7.0,412
+1325,109,173633,15.0,V1251
+837,105,161160,3.0,27651
+838,105,161160,4.0,7895
+839,105,161160,5.0,5119
+840,105,161160,6.0,4254
+841,105,161160,7.0,42731
+842,105,161160,8.0,5849
+843,105,161160,9.0,99591
+844,105,161160,10.0,42789
+845,105,161160,11.0,3334
+846,105,161160,12.0,2859
+847,105,161160,13.0,7906
+984,109,126055,1.0,4010
+985,109,126055,2.0,5856
+986,109,126055,3.0,58281
+987,109,126055,4.0,4239
+988,109,126055,5.0,78959
+989,109,126055,6.0,2762
+990,109,126055,7.0,2761
+991,109,126055,8.0,78909
+992,109,126055,9.0,78906
+993,109,126055,10.0,78701
+994,109,126055,11.0,78791
+995,109,126055,12.0,7100
+996,109,126055,13.0,25200
+997,109,126055,14.0,2859
+998,109,126055,15.0,2875
+999,109,126055,16.0,53081
+2953,245,105501,1.0,41071
+2954,245,105501,2.0,41401
+3118,256,108811,6.0,04186
+3119,256,108811,7.0,41401
+3120,256,108811,8.0,2724
+3121,256,108811,9.0,496
+3122,256,108811,10.0,42731
+3123,256,108811,11.0,V4581
+3259,273,158689,1.0,96501
+3260,273,158689,2.0,30421
+3261,273,158689,3.0,07070
+3262,273,158689,4.0,07030
+3263,273,158689,5.0,51881
+3264,273,158689,6.0,30401
+3265,273,158689,7.0,4280
+3266,273,158689,8.0,2920
+3267,273,158689,9.0,30431
+3268,273,158689,10.0,9708
+3269,273,158689,11.0,9696
+3281,275,129886,2.0,51881
+3282,275,129886,3.0,78552
+3283,275,129886,4.0,5849
+3284,275,129886,5.0,4538
+3285,275,129886,6.0,2869
+3286,275,129886,7.0,85221
+3287,275,129886,8.0,5990
+3288,275,129886,9.0,99592
+3289,275,129886,10.0,3320
+3290,275,129886,11.0,V667
+3291,275,129886,12.0,33182
+3292,275,129886,13.0,29410
+3293,275,129886,14.0,4019
+3294,275,129886,15.0,E8889
+3295,275,129886,16.0,V1582
diff --git a/tests/icd_time_test/input/pop.csv b/tests/icd_time_test/input/pop.csv
new file mode 100644
index 0000000..51786b0
--- /dev/null
+++ b/tests/icd_time_test/input/pop.csv
@@ -0,0 +1,201 @@
+ID
+172335
+173633
+174105
+109976
+178393
+114585
+127203
+140784
+164853
+147035
+135738
+188923
+135750
+195632
+112906
+134369
+138376
+172461
+157348
+176860
+141647
+180872
+164174
+113323
+198214
+171781
+160192
+191817
+167887
+192180
+199634
+184644
+151583
+105764
+172056
+143430
+104518
+155252
+186474
+108329
+170467
+190201
+178596
+111944
+156857
+194730
+182637
+112086
+142768
+100536
+181542
+115385
+175016
+110641
+158569
+120969
+166401
+112077
+116630
+190243
+190659
+123010
+188646
+121205
+142807
+160481
+140037
+183686
+160891
+170324
+127870
+188606
+187373
+153952
+175533
+195700
+130744
+133550
+164025
+128744
+161160
+163353
+145834
+185777
+178980
+107064
+118037
+159514
+150750
+184167
+194540
+112213
+143045
+103251
+161087
+194023
+188822
+109235
+157681
+109451
+111970
+165315
+124321
+152223
+161859
+129635
+197661
+134931
+162569
+104557
+128652
+175413
+176176
+115799
+144319
+166707
+122659
+165660
+182104
+188670
+185910
+106266
+101757
+119203
+146828
+181750
+157907
+144073
+190539
+132761
+196010
+190797
+155385
+138795
+190665
+181711
+162774
+177285
+104130
+198892
+176332
+189535
+116009
+195961
+126055
+128755
+131345
+131376
+135923
+136572
+137510
+139061
+140167
+147469
+151240
+155726
+158943
+158995
+161950
+164029
+166018
+170149
+158689
+130546
+129886
+105501
+197430
+189521
+175353
+116935
+149546
+158975
+124271
+117937
+190159
+193470
+176189
+112013
+108811
+159223
+176764
+135828
+143120
+196896
+196159
+161310
+155820
+102631
+146080
+113341
+137477
+137526
+152056
+164405
+199724
+123860
+132401
+150463
+160697
+164735