I used it once after some web scraping. It can convert a string type into a list
For example if you scrap data you’ll only get string type as far as I know, let’s say you have
something that looks like this
In the last column of the dataframe I have in the first row:
[‘Candidate Master (CM)’, ‘2012’], the last column is of object dtype.
It converts ‘[‘Candidate Master (CM)’, ‘2012’]’ (str) to [‘Candidate Master (CM)’, ‘2012’] (list).
To answer your question, your code would convert your string input [‘blabla’, ‘bla’] to a list with first element being ‘blabla’ and the second ‘bla’. I am not very familiar with the input function but I guess it’s just to be more user-friendly
Here is another example
Hope it helps!