Explorar el Código

Get rid of diagnostics

master
Noelle hace 4 años
padre
commit
b073dcaca9
Se han modificado 1 ficheros con 0 adiciones y 22 borrados
  1. 0
    22
      main.py

+ 0
- 22
main.py Ver fichero

@@ -236,28 +236,6 @@ def main():
# in results/cells, column_option and row_option refer to the key field, not the list index
# in column_option and row_option, missing value is coded as "", but coded as "." in key field

# What are the values of "column_option" and "row_option"?
# rc = rjson["results"]["cells"]
# for i in range(10):
# print(rc[i])
# cols = []
# rows = []
# for v in rc:
# print(v.keys())
# if v["column_option"] not in cols:
# cols.append(v["column_option"])
# if v["row_option"] not in rows:
# rows.append(v["row_option"])
# print(f"Cols: {sorted(cols)}")
# print(f"Rows: {sorted(rows)}")

# This just confirms that there are, in fact, 51 states incl. DC in this query
# ro = rjson["results"]["row"]["options"]
# titles = {}
# for v in ro:
# titles[int(v["key"])] = (v["title"])
# for t in sorted(titles.keys()):
# print(f"{titles[t]}")



Cargando…
Cancelar
Guardar