<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 Title
Step1:  Create Data
Step2:  Calculate Cartesian Product (Method 1)
Step3:  Calculate Cartesian Product (Method 2)
<ASSISTANT_TASK:>
Python Code:
# import pandas as pd
import pandas as pd
Explanation: Title: Cartesian Product
Slug: cartesian_product
Summary: Cartesian Product
Date: 2016-05-01 12:00
Category: Python
Tags: Basics
Authors: Chris Albon  
Preliminaries
End of explanation
# Create two lists
i = [1,2,3,4,5]
j = [1,2,3,4,5]
Explanation: Create Data
End of explanation
# List every single x in i with every single y (i.e. Cartesian product)
[(x, y) for x in i for y in j]
Explanation: Calculate Cartesian Product (Method 1)
End of explanation
# An alternative way to do the cartesian product
# import itertools
import itertools
# for two sets, find the the cartisan product
for i in itertools.product([1,2,3,4,5], [1,2,3,4,5]):
    # and print it
    print(i)
Explanation: Calculate Cartesian Product (Method 2)
End of explanation
<END_TASK>