jiayuasu commented on code in PR #1515:
URL: https://github.com/apache/sedona/pull/1515#discussion_r1669681352


##########
python/sedona/maps/SedonaPyDeck.py:
##########
@@ -38,6 +41,14 @@ def create_choropleth_map(cls, df, fill_color=None, 
plot_col=None, initial_view_
         :param api_keys: Optional dictionary of API keys for Map providers
         :return: A pydeck Map object with choropleth layer added:
         """
+
+        for field in df.schema.fields:
+            if field.name == plot_col and field.dataType not in 
[IntegerType(), FloatType(), DoubleType(), LongType(),
+                                                                 
DecimalType(), ShortType(), ByteType()]:

Review Comment:
   Does ByteType work too?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to