Question: Problem 3 Using the examples above, find the line in ~/data/delta.csv with the smallest Wingspan (ft). This problem consists of two parts: 1. Get the

Problem 3 Using the examples above, find the line in ~/data/delta.csv with the smallest Wingspan (ft). This problem consists of two parts: 1. Get the column index of Wingspan (ft) and store it in a variable called wingspan indox 2. Get the line using with the smallest wingspan using sort. Be sure to remove the header. Store the line in a variable called smallost_wingspan. Hint: You will need to do numeric sorting. As always, check man sort to see how to do so In 1:1 Get the column index of Wingspan (ft) # YOUR CODE HERE # Get the line with the smallest wingspan # YOUR CODE HERE asserrue (LIL (wingspan index [0]) assert_equal (smallest_wingspan I0] In [ ] ; > 20 and int (wingspan index [0]) 20 and int (wingspan index [0])
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
