Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Strip footnote label from 'Capital Cities3'

  • Loading branch information...
commit 4a77a328c9f718cf2c65311ea096119569ee2713 1 parent 710035c
@seancarmody authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  AIP/mmc.py
View
3  AIP/mmc.py
@@ -70,7 +70,8 @@
n = len(data['city'])
logging.info('Records read for %s: %d' % (state, n))
for i in range(n):
- town = data['city'][i]
+ # Strip footnote label '3' from Capital Cities
+ town = data['city'][i].rstrip('3')
for f in [x.lower() for x in fields[1:]]:
price = data[f][i]
if price != 'N/A':
Please sign in to comment.
Something went wrong with that request. Please try again.