def page_for_in(self, leaderboard_name, member,<EOL>page_size=DEFAULT_PAGE_SIZE):
rank_for_member = None<EOL>if self.order == self.ASC:<EOL><INDENT>rank_for_member = self.redis_connection.zrank(<EOL>leaderboard_name,<EOL>member)<EOL><DEDENT>else:<EOL><INDENT>rank_for_member = self.redis_connection.zrevrank(<EOL>leaderboard_name,<EOL>member)<EOL><DEDENT>if rank_for_member is None:<EOL><INDENT>rank_for_member = <NUM_LIT:0><EOL><DEDENT>else:<EOL><INDENT>rank_for_member += <NUM_LIT:1><EOL><DEDENT>return int(math.ceil(float(rank_for_member) / float(page_size)))<EOL>
Determine the page where a member falls in the named leaderboard.

@param leaderboard [String] Name of the leaderboard.
@param member [String] Member name.
@param page_size [int] Page size to be used in determining page location.
@return the page where a member falls in the leaderboard.