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) |     return zlib.decompress(response.content, 16+zlib.MAX_WBITS) | ||||||
| 
 | 
 | ||||||
| def removeEmpty(list): | def removeEmpty(list): | ||||||
|     for item in list: |     for dict in list: | ||||||
|         if item["3ALPHA"] != ' ' and item["STANOX"] != ' ': |       print(dict) | ||||||
|             item.pop("UIC") |  | ||||||
|             item.pop("NLCDESC16") |  | ||||||
|             item.pop("NLC") |  | ||||||
|             cleanList.append(item) |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| ORIGINAL METHOD FROM FILE: | ORIGINAL METHOD FROM FILE: | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user