檢視 DataFrame
我們已將 4 位嫌疑人的信用卡紀錄載入名為 credit_records 的 DataFrame。來更了解這個 DataFrame 的結構吧。
pandas 模組已以別名 pd 匯入。
DataFrame credit_records 也已經匯入。
credit_records 有多少列(rows)?
本練習屬於課程
Python 的資料科學入門
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Use .info() to inspect the DataFrame credit_records
print(____)