Commit 0be706a
authored
refactor: update rounded_survival_table to use dynamic column names (#332)
* fix: update rounded_survival_table to use dynamic column names
* - Rename `rounded_survival_table()` to `_rounded_survival_table()` to mark it as an internal helper function
- Add comprehensive type hints to function signature and return type
- Add parameter and return type annotations: pd.DataFrame, str
- Add detailed NumPy-style docstring documenting parameters, return value, and purpose
- Update test imports to use the new private function name1 parent 72f2970 commit 0be706a
2 files changed
+31
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
525 | | - | |
| 525 | + | |
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
| |||
914 | 914 | | |
915 | 915 | | |
916 | 916 | | |
917 | | - | |
918 | | - | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
| 926 | + | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
| 939 | + | |
| 940 | + | |
919 | 941 | | |
920 | | - | |
| 942 | + | |
| 943 | + | |
921 | 944 | | |
922 | 945 | | |
923 | | - | |
924 | | - | |
| 946 | + | |
| 947 | + | |
925 | 948 | | |
926 | 949 | | |
927 | 950 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
735 | 735 | | |
736 | 736 | | |
737 | 737 | | |
738 | | - | |
| 738 | + | |
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
| |||
0 commit comments