Pandas > Change dataframe to numpy array

Name
Code
Output
dataframe = pandas.DataFrame(numpy.random.randint(0,10,size=(5, 3)), columns=['C1','C2','C3'])
print ("dataframe")
print (dataframe)
print ("numpy array")
print (dataframe.values)
dataframe
   C1  C2  C3
0   3   0   0
1   9   8   0
2   4   3   5
3   4   5   9
4   5   6   7
numpy array
[[3 0 0]
 [9 8 0]
 [4 3 5]
 [4 5 9]
 [5 6 7]]