BUG: read_html - file path cannot be pathlib.Path type
Fix `read_html` TypeError when parsing `pathlib.Path` object.

Thanks for the reply! @arw2019 

> Can you add tests? 

Do you mean adding test cases in the test_html.py?

> You'll also need a whatsnew entry (probably 1.2) 

Can you explain a little bit more what is the whatsnew entry and where should I start? 

This is actually my first open-source contribution and I'm still trying to get familiar with everything. :) > Thanks for the reply! @arw2019
> 
> > Can you add tests?
> 
> Do you mean adding test cases in the test_html.py?
 
Yes that sounds like the place

> > You'll also need a whatsnew entry (probably 1.2)
> 
> Can you explain a little bit more what is the whatsnew entry and where should I start?

We document user-facing changes to the library on the whatsnew docs page. Here is the most recent one: 
https://github.com/pandas-dev/pandas/blob/master/doc/source/whatsnew/v1.2.0.rst

The entry for this patch should probably go under `Bug fixes`, `I/O`. Take a look at other entries, have a go at writing yours and we'll give comments

> This is actually my first open-source contribution and I'm still trying to get familiar with everything. :)

Welcome to pandas! Thanks for the comments! I will follow up with the test case and whatsnew entry. @arw2019  Hello @inspurwusixuan! Thanks for updating this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:





There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers: 

##### Comment last updated at 2020-11-10 23:34:15 UTC thanks @inspurwusixuan 