I have the following code snippet: I want to find the row, with the value is digit (they are integers all the time) on the column/key "Something" and delete the matched row. I have tried it with re.compile()
for row in list:
if re.compile("\d") in row["Something"]:
print(row)
del (row)
How is the right implementation in this case?