Big Data In Python A Function