Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -484,10 +484,10 @@ def checktables():
|
|
| 484 |
if projectpart and projectname:
|
| 485 |
print(t3Diff1)
|
| 486 |
|
| 487 |
-
roww=t3Diff1.iloc[np.where((t3Diff1['ProjectId']==
|
| 488 |
-
|
| 489 |
for i in range(len(roww['ProjectId'].values)):
|
| 490 |
-
if roww.shape[0]>0:
|
| 491 |
print(roww['ProjectSection'].iloc[i] )
|
| 492 |
differentSections.append(str(roww['ProjectSection'].iloc[i]))
|
| 493 |
print(differentSections)
|
|
|
|
| 484 |
if projectpart and projectname:
|
| 485 |
print(t3Diff1)
|
| 486 |
|
| 487 |
+
roww=t3Diff1.iloc[np.where((t3Diff1['ProjectId']==int(prjid) ) & (t3Diff1['ProjectPartId']==int(projectpartid)) ) ]
|
| 488 |
+
print('wweee',prjid,projectpartid)
|
| 489 |
for i in range(len(roww['ProjectId'].values)):
|
| 490 |
+
# if roww.shape[0]>0:
|
| 491 |
print(roww['ProjectSection'].iloc[i] )
|
| 492 |
differentSections.append(str(roww['ProjectSection'].iloc[i]))
|
| 493 |
print(differentSections)
|