1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Introduction to NumPy

Connected

अभ्यास

Adding columns

You finished the last set of exercises by creating an array called trunk_stump_diameters, which combined data from the trunk diameter and stump diameter columns into a 1D array. Now, you'll add that 1D array as a column to the tree_census array.

numpy is loaded as np, and both the tree_census and trunk_stump_diameters arrays are available.

निर्देश 1/3

undefined XP
    1
    2
    3
  • Print the shapes of both tree_census and trunk_stump_diameters.