Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

create a dataframe python

import pandas as pd
import numpy as np
df = pd.DataFrame(np.array([[1, 2, 3, 5], [4, 5, 6, 7], [7, 8, 9, 1]]), 
                  columns=['a', 'b', 'c', 'd'])
Source by pandas.pydata.org #
 
PREVIOUS NEXT
Tagged: #create #dataframe #python
ADD COMMENT
Topic
Name
6+1 =