diff --git "a/notebook_for_knit.html" "b/notebook_for_knit.html" --- "a/notebook_for_knit.html" +++ "b/notebook_for_knit.html" @@ -3842,133 +3842,6 @@ div#maintoolbar { - - - - - -
- | x | -y | -z | -country | -name | -
---|---|---|---|---|---|
0 | -5.1 | -3.5 | -1.4 | -0.2 | -Iris-setosa | -
0 | -4.9 | -3.0 | -1.4 | -0.2 | -Iris-setosa | -
0 | -4.7 | -3.2 | -1.3 | -0.2 | -Iris-setosa | -
0 | -4.6 | -3.1 | -1.5 | -0.2 | -Iris-setosa | -
0 | -5.0 | -3.6 | -1.4 | -0.2 | -Iris-setosa | -
... | -... | -... | -... | -... | -... | -
0 | -6.7 | -3.0 | -5.2 | -2.3 | -Iris-virginica | -
0 | -6.3 | -2.5 | -5.0 | -1.9 | -Iris-virginica | -
0 | -6.5 | -3.0 | -5.2 | -2.0 | -Iris-virginica | -
0 | -6.2 | -3.4 | -5.4 | -2.3 | -Iris-virginica | -
0 | -5.9 | -3.0 | -5.1 | -1.8 | -Iris-virginica | -
150 rows × 5 columns
-iris_df.iloc[:,:4] = iris_df.iloc[:,:4].astype('double')
iris_df.info()
@@ -4281,146 +4154,11 @@ name == 'Iris-virginica'
obj = data[data.find('{') : data.rfind('}')+1]
jsonObj = json.loads(obj)
conti = pd.json_normalize(pd.json_normalize(jsonObj)['features'][0])
-conti
+# conti
- | type | -id | -properties.hc-group | -properties.hc-middle-x | -properties.hc-middle-y | -properties.hc-key | -properties.hc-a2 | -properties.abbrev-a3 | -properties.iso-a2 | -properties.name | -geometry.type | -geometry.coordinates | -
---|---|---|---|---|---|---|---|---|---|---|---|---|
0 | -Feature | -EU | -admin0 | -0.65 | -0.63 | -eu | -EU | -EUR | -EU | -Europe | -MultiPolygon | -[[[[4565, 8339], [4573, 8321], [4568, 8300], [... | -
1 | -Feature | -OC | -admin0 | -0.34 | -0.46 | -oc | -OC | -OCA | -OC | -Oceania | -MultiPolygon | -[[[[8861, 6273], [8858, 6285], [8876, 6279], [... | -
2 | -Feature | -AF | -admin0 | -0.66 | -0.54 | -af | -AF | -AFR | -AF | -Africa | -MultiPolygon | -[[[[3731, 7363], [3734, 7372], [3752, 7352], [... | -
3 | -Feature | -AS | -admin0 | -0.44 | -0.46 | -as | -AS | -ASA | -AS | -Asia | -MultiPolygon | -[[[[9585, 9083], [9623, 9065], [9609, 9055], [... | -
4 | -Feature | -NA | -admin0 | -0.43 | -0.51 | -na | -NA | -NAM | -NA | -North America | -MultiPolygon | -[[[[3469, 9081], [3498, 9077], [3503, 9062], [... | -
5 | -Feature | -SA | -admin0 | -0.59 | -0.35 | -sa | -SA | -SAM | -SA | -South America | -MultiPolygon | -[[[[2042, 4982], [2057, 4981], [2063, 4959], [... | -
fig = go.Figure(go.Scattermapbox(
mode = "markers+lines",
@@ -4439,7 +4177,10 @@ name == 'Iris-virginica'
mapbox = {
'style': "carto-positron",# "stamen-terrain",
'center': {'lon': -20, 'lat': -20},
- 'zoom': 2})
+ 'zoom': 2},
+ template='plotly_dark',
+
+ )
fig.show()
It is simple to use it with Jinja Markdown.
-It is simple to use it with Jinja Markdown.
-