Skip to content

Commit

Permalink
note/dev (#5)
Browse files Browse the repository at this point in the history
remove unused column in the output
  • Loading branch information
silenus092 authored Nov 28, 2022
1 parent fd76d1d commit 8d95d44
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions pages/app_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,23 @@ def list_prop(db=None):
rows[-1].append(dt)
rows[-1].append(dbm.properties[prop]["querytype"])
rows[-1].append(dbm.properties[prop]["standard"])

# output = tabulate(rows, headers=cols, tablefmt="orgtbl")
# output = output + "\n"
# output = output + "DATE FORMAT" + "\n"
output = pd.DataFrame(rows, columns=cols)
print(output)
# remove some column
output = output[
~output["name"].isin(
[
"AA_PROFILE",
"AA_X_PROFILE",
"NUC_N_PROFILE",
"NUC_PROFILE",
"IMPORTED",
"MODIFIED",
]
)
]
return output


Expand Down

0 comments on commit 8d95d44

Please sign in to comment.