資料視覺化
在取得資料存取權之後,你需要先探索、分析並理解資料。本練習會讓你運用本章學到的技巧,對心臟病資料集做一個簡單的探索性資料分析。你的任務是為資料集產生視覺化圖表與摘要。
pandas 與 matplotlib.pyplot 已分別以 pd 和 plt 匯入。心臟病資料集已載入為名為 heart_disease_df 的 pandas DataFrame,並且在本課程後續的每個練習中都可使用。
本練習屬於課程
端到端機器學習
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Print the first 5 rows of the DataFrame
____
# Print information about the DataFrame
____