mirror of https://github.com/apache/superset.git
[examples] Fix, sf population polygons div by zero error (#8209)
This commit is contained in:
parent
9d4b955cc7
commit
83f7038374
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue