marinebon / py-dwc-viz

Python Package for data analysis and visualisation for Darwin Core data, with plug-and-play from providers like OBIS and GBIF.
https://marinebon.github.io/py-dwc-viz/
GNU General Public License v3.0
1 stars 1 forks source link

feat: create ES50 index function #13

Closed ayushanand18 closed 1 year ago

ayushanand18 commented 1 year ago

Overview

This PR brings the ES50 (Hulbert's) index function to diversity module.

Changes Introduced

def es50(dataframe, precision): 
# returns a dataframe with ES50 diversity index value for each (lat, lon) pair 
# with coordinates rounded off to the decimal precision provided.

Thanks!