diff options
| -rw-r--r-- | notebooks/cc/references.ipynb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/notebooks/cc/references.ipynb b/notebooks/cc/references.ipynb index 124226e0..44f2cea4 100644 --- a/notebooks/cc/references.ipynb +++ b/notebooks/cc/references.ipynb @@ -1704,6 +1704,11 @@ "else:\n", " print(\"Warning: `aging_df` variable not found. Cannot compute aging statistics.\")\n", "\n", + "num_cc_us = cc_df.loc[cc_df.scheme == \"US\"].shape[0]\n", + "num_cc_us_referencing = cc_df.loc[(cc_df.scheme == \"US\") & (cc_df.n_refs > 0)].shape[0]\n", + "print(f\"\\\\newcommand{{\\\\numCCUS}}{{${num_cc_us}$}}\")\n", + "print(f\"\\\\newcommand{{\\\\numCCUSReferencing}}{{${num_cc_us_referencing}$}}\")\n", + "\n", "print(\"\")\n", "\n", "print_category_commands(\"smartcard\")\n", |
