In: Computer Science
Using Python read dataset in the HTML in beautiful way.
You need to read CSV file ( Use any for example, You
can use small dataset)
You need to use pandas library
You need to use Flask
Make search table like YouTube has.
for the 3rd image is the flask used code to get the HTML page.
I upload first and second is the HTML page which i created with search bar. i just simply show outline we can design what features we want.This HTML code is called with name as "search bar . HTML"
I use the keyword to call that HTML page render_template(page name which have the HTML code)
now, I display the output for run the code main_demo. p y file
run the file as in command line file path/python filename.p y
I run like this
then in the web browser we will see the result like this as localhost:5000/show then,
then the 4th image is import c s v file in pandas and run it in s p y d e r or any one anaconda like that
here I will read the c s v file and in that I have some data. That data I will store it in variable x,y and change the datatype and in that some of the features are missed out so i will check it once and fill that missing value as a mean like that or NAN finally i filled that gap and save the file whenever i want just i retrieve it from there