Commit e1cef336 authored by Jay's avatar Jay Committed by jay
Browse files

@kree Update for comments

parent d54a3f57
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -151,6 +151,19 @@ class Node(dict, MutableMapping):
            return None

    def get_keypoint_coordinates(self, index=None):
        """
        Return the coordinates of the keypoints without any ancillary data

        Parameters
        ----------
        index : iterable
                indices for of the keypoints to return

        Returns
        -------
         : dataframe
           A pandas dataframe of keypoint coordinates
        """
        keypoints = self.get_keypoints(index=index)
        try:
            return keypoints[['x', 'y']]