Question: Python. Can someone explain how can I create a function in python that will ask the user if they want to view some rows of
Python.
Can someone explain how can I create a function in python that will ask the user if they want to view some rows of data, and if they say YES will Displays first five records/rows of the dataframe.
After displaying five lines, ask the user if they would like to see five more, continuing asking until they say STOP.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
