新增列
研究團隊發現有兩棵樹未被納入 tree_census。你的任務是把這兩棵新樹的資料,作為新列加到 tree_census 陣列的末端。新樹的資料已儲存在名為 new_trees 的 2D 陣列中:
new_trees = np.array([[1211, 227386, 20, 0], [1212, 227386, 8, 0]])
numpy 已以 np 載入,tree_census 與 new_trees 陣列可直接使用。
本練習屬於課程
研究團隊發現有兩棵樹未被納入 tree_census。你的任務是把這兩棵新樹的資料,作為新列加到 tree_census 陣列的末端。新樹的資料已儲存在名為 new_trees 的 2D 陣列中:
new_trees = np.array([[1211, 227386, 20, 0], [1212, 227386, 8, 0]])
numpy 已以 np 載入,tree_census 與 new_trees 陣列可直接使用。
本練習屬於課程