pandas.DataFrame.xyz.z_gain_naive
- DataFrame.xyz.z_gain_naive(**kwargs)[source]
Calculate elevation gain (scalar).
This is the most generous elevation gain algorithm there is: it counts every little rise in the trail towards your total.
- Parameters
**elevation (scalar) – column label in the record DataFrame containing elevation coordinates along the route in meters above sea level. Must be numeric dtype. If a label is not provided, the parameter name itself is used.
- Returns
total elevation gain along the route in meters.
- Return type
float