def chunk_results( offset = 0, per_page = 10, query_results = [] ):
	"""
	Partition query_results for pagination

	Parameters:
	offset (int): offset of the pagination
	per_page (int): number of results that will be shown in each page
	query_results (table): data table that will be divided into chunks

	Returns:
	pandas table: chunk of the pandas table that will be displayed on the current page

	"""
	# Return the chunk of rowns starting from the offset 
	return query_results.iloc[ offset : offset + per_page, : ]