Skip to content

Commit

Permalink
[examples] Fix, sf population polygons div by zero error (apache#8209)
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgaspar authored and villebro committed Sep 27, 2019
1 parent 4e165ca commit dd593c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions superset/examples/sf_population_polygons.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
)
Expand Down

0 comments on commit dd593c4

Please sign in to comment.