[examples] Fix, sf population polygons div by zero error (#8209)

This commit is contained in:
Daniel Vaz Gaspar 2019-09-10 17:53:27 +01:00 committed by Maxime Beauchemin
parent 9d4b955cc7
commit 83f7038374
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@
import json
import pandas as pd
from sqlalchemy import BigInteger, Text
from sqlalchemy import BigInteger, Float, Text
from superset import db
from superset.utils import core as utils
@ -43,7 +43,7 @@ def load_sf_population_polygons(only_metadata=False, force=False):
"zipcode": BigInteger,
"population": BigInteger,
"contour": Text,
"area": BigInteger,
"area": Float,
},
index=False,
)