Having issue while running code on dataframe

From mtcars, find all cars that provide more than 30 mpg & print the details of cars in decreasing order of mileage. (I am taking one course but not able to get the required output, also as per course we dont have to use any package or library). For everyone's reference I have attached the screenshot of the question as well as the expected output.


This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.