開始使用免費開始

時間都去哪裡了?

Deshaun 警官想比較他與同事在外勤與內勤上花費的時數。在這個 DataFrame 中,他把每週平均工時分成 desk_workfield_work

你可以使用前一個練習中的同一個包含工時的 DataFrame(hours)。

本練習屬於課程

Python 的資料科學入門

檢視課程

動手互動練習

試著完成這個範例程式碼,體驗一下這個練習。

# Plot the number of hours spent on desk work
____

# Display the plot
plt.show()
編輯並執行程式碼