Skip to content

Commit

Permalink
Update data conversion functions (#1849)
Browse files Browse the repository at this point in the history
* Update ee_to_df

* Update ee_to_gdf

* Update ee_to_csv

* Update ee_to_shp

* Update ee_to_numpy
  • Loading branch information
giswqs authored Dec 19, 2023
1 parent 0f95498 commit 8e8fe3d
Show file tree
Hide file tree
Showing 5 changed files with 107 additions and 120 deletions.
6 changes: 3 additions & 3 deletions docs/notebooks/63_charts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(features)\n",
"df = geemap.ee_to_df(features)\n",
"df"
]
},
Expand Down Expand Up @@ -179,7 +179,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(features)\n",
"df = geemap.ee_to_df(features)\n",
"df"
]
},
Expand Down Expand Up @@ -306,4 +306,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
6 changes: 3 additions & 3 deletions examples/notebooks/63_charts.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(features)\n",
"df = geemap.ee_to_df(features)\n",
"df"
]
},
Expand Down Expand Up @@ -179,7 +179,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(features)\n",
"df = geemap.ee_to_df(features)\n",
"df"
]
},
Expand Down Expand Up @@ -306,4 +306,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
6 changes: 3 additions & 3 deletions examples/notebooks/geopandas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(countries, selectors=['id', 'name'])\n",
"df = geemap.ee_to_df(countries, selectors=['id', 'name'])\n",
"df.head()"
]
},
Expand All @@ -97,7 +97,7 @@
"metadata": {},
"outputs": [],
"source": [
"gdf = geemap.ee_to_geopandas(countries, selectors=['id', 'name'])\n",
"gdf = geemap.ee_to_gdf(countries, selectors=['id', 'name'])\n",
"gdf.head()"
]
},
Expand Down Expand Up @@ -194,4 +194,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
4 changes: 2 additions & 2 deletions examples/notebooks/random_sampling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(random_points)\n",
"df = geemap.ee_to_df(random_points)\n",
"df"
]
},
Expand Down Expand Up @@ -120,7 +120,7 @@
"metadata": {},
"outputs": [],
"source": [
"df = geemap.ee_to_pandas(sys_points)\n",
"df = geemap.ee_to_df(sys_points)\n",
"df"
]
},
Expand Down
Loading

0 comments on commit 8e8fe3d

Please sign in to comment.