Spaces:
Sleeping
Sleeping
mihaeladuta commited on
Commit ·
b01cd5a
1
Parent(s): 6f2a4fb
Cleaned printouts.
Browse files- src/read_write.py +1 -2
src/read_write.py
CHANGED
|
@@ -65,11 +65,10 @@ def get_data(fname, do_sort=True):
|
|
| 65 |
print(f"Read {fname}: {dset.shape[0]} records")
|
| 66 |
|
| 67 |
# set the category order for the binned percentages
|
| 68 |
-
print(cb.bin_percentages_labels())
|
| 69 |
for column in binned_perc_columns:
|
| 70 |
dset[column] = pd.Categorical(dset[column],
|
| 71 |
categories=cb.bin_percentages_labels())
|
| 72 |
-
|
| 73 |
# get institution names as list
|
| 74 |
inst_names = dset[cb.COL_INST_NAME].unique()
|
| 75 |
|
|
|
|
| 65 |
print(f"Read {fname}: {dset.shape[0]} records")
|
| 66 |
|
| 67 |
# set the category order for the binned percentages
|
|
|
|
| 68 |
for column in binned_perc_columns:
|
| 69 |
dset[column] = pd.Categorical(dset[column],
|
| 70 |
categories=cb.bin_percentages_labels())
|
| 71 |
+
|
| 72 |
# get institution names as list
|
| 73 |
inst_names = dset[cb.COL_INST_NAME].unique()
|
| 74 |
|