CORPUS Work
This commit is contained in:
parent
50387bc6b2
commit
5b3965d50e
@ -18,12 +18,8 @@ def fetch():
|
||||
return zlib.decompress(response.content, 16+zlib.MAX_WBITS)
|
||||
|
||||
def removeEmpty(list):
|
||||
for item in list:
|
||||
if item["3ALPHA"] != ' ' and item["STANOX"] != ' ':
|
||||
item.pop("UIC")
|
||||
item.pop("NLCDESC16")
|
||||
item.pop("NLC")
|
||||
cleanList.append(item)
|
||||
for dict in list:
|
||||
print(dict)
|
||||
|
||||
|
||||
ORIGINAL METHOD FROM FILE:
|
||||
|
Reference in New Issue
Block a user