Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vals = [[1,2,3],[4,5,6]]
- column_nms = ["col1", "col2", "col3"]
- pd.DataFrame(vals, columns=column_nms)
- col1 col2 col3
- 0 1 2 3
- 1 4 5 6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement