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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!