Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -36,8 +36,8 @@ def MatchOMS(name):
|
|
36 |
|
37 |
def MatchICD10(name):
|
38 |
basedir = os.path.dirname(__file__)
|
39 |
-
data = pd.read_csv(f'
|
40 |
-
swith=data.loc[data[
|
41 |
return swith
|
42 |
|
43 |
|
|
|
36 |
|
37 |
def MatchICD10(name):
|
38 |
basedir = os.path.dirname(__file__)
|
39 |
+
data = pd.read_csv(f'ICD10Diagnosis.csv')
|
40 |
+
swith=data.loc[data[1].str.contains(name, case=False, na=False)]
|
41 |
return swith
|
42 |
|
43 |
|