In [1]:
import pandas as pd
url="https://data.kcg.gov.tw/dataset/f91cb647-ab05-4474-9687-d918421ca3a4/resource/25c77fbc-950a-45eb-b91e-79b536fabae5/download/d00mei-yi03open-data-10801open-data1080401-1080630.xlsx"
df = pd.read_excel(url)
df.head()
Out[1]:
In [2]:
df = df.rename(columns={'交易標的種類': '標的'})
df.head()
Out[2]:
In [3]:
df = df.rename(columns={'建物數量': '交易數量', '有無隔間': '隔間確認'})
df.head()
Out[3]:
1 則留言:
張貼留言