renaming columns

This commit is contained in:
frankknoll
2022-02-13 23:53:02 +01:00
parent 1c3e207168
commit f84dccf8b3
3 changed files with 3 additions and 3 deletions

View File

@@ -58,7 +58,7 @@
<table class="display" id="batchCodeTable">
<thead>
<tr>
<th>BATCH</th>
<th>Batch</th>
<th>Total Number of Adverse Reaction Reports</th>
<th>DEATHS</th>
<th>DISABILITIES</th>

File diff suppressed because one or more lines are too long

View File

@@ -964,7 +964,7 @@
"source": [
"def saveBatchCodeTable(vaers, file):\n",
" batchCodeTable = BatchCodeTableFactory.createBatchCodeTable(vaers, dose = '1')\n",
" batchCodeTable.index.set_names(\"BATCH\", inplace = True)\n",
" batchCodeTable.index.set_names(\"Batch\", inplace = True)\n",
" display(batchCodeTable)\n",
" IOUtils.saveDataFrame(batchCodeTable, file)"
]