(self, card_2d)
return self._clib.get_1d_card(self.np_1d_arr_to_c(card_2d))
Args:
            card_2d (np.ndarray):    array of 2 int8s. [rank, suit]

        Returns:
            int8: 1d representation of card_2d
Args:
            card_2d (np.ndarray):    array of 2 int8s. [rank, suit]
Args : card_2d ( np . ndarray ) : array of 2 int8s . [ rank suit ]
def get_1d_card(self, card_2d):
        """
        Args:
            card_2d (np.ndarray):    array of 2 int8s. [rank, suit]

        Returns:
            int8: 1d representation of card_2d

        """
        return self._clib.get_1d_card(self.np_1d_arr_to_c(card_2d))
def get_1d_card ( self , card_2d ) : return self . _clib . get_1d_card ( self . np_1d_arr_to_c ( card_2d ) )