Skip to content

Commit

Permalink
Update script.py
Browse files Browse the repository at this point in the history
  • Loading branch information
OliviaButters authored Aug 18, 2023
1 parent 261df8e commit b87d2e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions script.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@

check=[]
check=pd.DataFrame(check)
check['cell_code']=['AAAAAA' for n in range(len(list)-1)]
a_length = len(list[2])
check['cell_code']=['AAAAAA' for n in range(len(list))]
a_length = len(list[0])
cell='A'

# Look at each 5km cell that falls in the area and examine the first two digits
for i in range(0,len(list)-1):
for i in range(0,len(list)):
cell=list[i]
check.cell_code[i] = cell[a_length - 6:a_length - 4]

Expand Down

0 comments on commit b87d2e4

Please sign in to comment.