strava_map/map.py
def _center_point(self):
        """Finds the center point of all activities
        """        
        all_coords = self.data['coordinates'].apply(pd.Series).stack().reset_index(drop=True)
        lat, lon = zip(*all_coords)
        center = [median(lat), median(lon)]
        return center
Finds the center point of all activities
        
Finds the center point of all activities
Finds the center point of all activities
def _center_point(self):
        all_coords = self.data['coordinates'].apply(pd.Series).stack().reset_index(drop=True)
        lat, lon = zip(*all_coords)
        center = [median(lat), median(lon)]
        return center
def _center_point ( self ) : all_coords = self . data [ 'coordinates' ] . apply ( pd . Series ) . stack ( ) . reset_index ( drop = True ) lat , lon = zip ( * all_coords ) center = [ median ( lat ) , median ( lon ) ] return center
Finds the center point of all activities
Finds the center point of all activities
"""Finds the center point of all activities
        """
self