In [1]:
import matplotlib.pyplot as plt

import pandas as pd
from pandas import DataFrame
from pandas import Series
In [2]:
customer_data={'방문횟수':[2,3,5,7],'클릭수':[15,18,25,35],
               '체류시간':[60,200,200,250],'구매':[0,1,0,1]}
In [3]:
df=DataFrame(customer_data,index=['고객A','고객B','고객C','고객D'])

df
Out[3]:
방문횟수 클릭수 체류시간 구매
고객A 2 15 60 0
고객B 3 18 200 1
고객C 5 25 200 0
고객D 7 35 250 1