Python for Data Science – Concatenating and transforming data


	Python for Data Science - Concatenating and transforming data
[编程语言教程]

Chapter 2 – Data Preparation Basics

Segment 4 – Concatenating and transforming data

import numpy as np
import pandas as pd

from pandas import Series, DataFrame
DF_obj = pd.DataFrame(np.arange(36).reshape(6,6))
DF_obj

.dataframe tbody tr th:only-of-type { vertical-align: middle }
{ vertical-align: top }
.dataframe thead th { text-align: right }

0 1 2 3 4 5
0 0 1 2 3 4 5
1 6 7 8 9 10 11
2 12 13 14 15 16 17
3 18 19 20 21 22 23
4 24 25 26 27 28 29
5 30 31 32 33 34 35
hmoban主题是根据ripro二开的主题,极致后台体验,无插件,集成会员系统
自学咖网 » Python for Data Science – Concatenating and transforming data