Skip to content

Commit

Permalink
fixed error in DataFrame examples
Browse files Browse the repository at this point in the history
* example was outdated, as we now use the UUID as DataFrame index
* fixes 216
  • Loading branch information
kr-stn committed Jul 11, 2018
1 parent 9ca88f9 commit 279745e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/api.rst
Expand Up @@ -28,6 +28,9 @@ Quickstart
# download all results from the search
api.download_all(products)
# convert to Pandas DataFrame
products_df = api.to_dataframe(products)
# GeoJSON FeatureCollection containing footprints and metadata of the scenes
api.to_geojson(products)
Expand Down Expand Up @@ -84,7 +87,7 @@ all data types, as long as you pass the `id` to the download function.
products_df_sorted = products_df_sorted.head(5)
# download sorted and reduced products
api.download_all(products_df_sorted['id'])
api.download_all(products_df_sorted.index)
Getting Product Metadata
------------------------
Expand Down

0 comments on commit 279745e

Please sign in to comment.