Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started