Skip to content

Commit

Permalink
Merge pull request #418 from ibm-watson-data-lab/david-working-branch
Browse files Browse the repository at this point in the history
#417 google map error on Python 3.5
  • Loading branch information
vabarbosa committed Jul 28, 2017
2 parents 7ca49c2 + f554e4b commit 2082d26
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -90,7 +90,7 @@ def doRenderChart(self):

df = self.getWorkingPandasDataFrame()
colData = str(df.columns.values.tolist())
valData = str(df.values.tolist()).encode('utf-8')
valData = str(df.values.tolist())
mapData = "[" + valData.replace('[', (colData + ", "), 1)

self.options["mapData"] = mapData.replace("'",'"').replace('[u"', '["').replace(', u"', ', "')
Expand Down

0 comments on commit 2082d26

Please sign in to comment.