pandas.DataFrame.xyz.z_flatten

DataFrame.xyz.z_flatten(**kwargs)[source]

Return a series of elevation coordinates with no changes in elevation.

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

flat elevation coordinates located at the mean value of the input elevation records.

Return type

pandas.Series