Next we will show how to build a Word Count where we will allow the usage of local files. This will allow the visitors to import their local text file and explore the most used 10 words.
We use the Local File Import block to allow the visitors to import a local file.
Below we display the content of the file using the Text Viewer block.
We use the Python Code block to find the most used 10 words that we prepare as an html using the pandas Python package.
And in the last step we display the table using the HTML Code block.