deleteEntriesWithADRsLessThanOrEqual from batchCodeTable
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import numpy as np
|
||||
|
||||
def createGlobalBatchCodeTable(minADRsForLethality, batchCodeTableFactory):
|
||||
def createGlobalBatchCodeTable(deleteEntriesWithADRsLessThanOrEqual, minADRsForLethality, batchCodeTableFactory):
|
||||
batchCodeTable = batchCodeTableFactory.createGlobalBatchCodeTable()
|
||||
batchCodeTable = batchCodeTable[~(batchCodeTable['Adverse Reaction Reports'] <= deleteEntriesWithADRsLessThanOrEqual)]
|
||||
batchCodeTable.index.set_names("Batch", inplace=True)
|
||||
if minADRsForLethality is not None:
|
||||
batchCodeTable.loc[
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
"outputs": [],
|
||||
"source": [
|
||||
"batchCodeTable = createGlobalBatchCodeTable(\n",
|
||||
" deleteEntriesWithADRsLessThanOrEqual = 1,\n",
|
||||
" minADRsForLethality = 100,\n",
|
||||
" batchCodeTableFactory = BatchCodeTableFactory(internationalVaersCovid19))\n",
|
||||
"batchCodeTable"
|
||||
|
||||
Reference in New Issue
Block a user