Description
- I have checked that the issue still exists on the latest versions of the docs on
master
here
Location of the documentation
https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_html.html
Documentation problem
The documentation contains an optional parameter min_rows
, but the source code shows that no option is supported. See source code here.
Verify this optional param is not supported with the following code:
import pandas as pd
df = pd.DataFrame({'data': [1, 2, 3]})
df.to_html(max_rows=2, min_rows=1)
Which outputs the error
1 import pandas as pd
2 df = pd.DataFrame({'data': [1, 2, 3]})
----> 3 df.to_html(max_rows=2, min_rows=1)
TypeError: to_html() got an unexpected keyword argument 'min_rows'
Suggested fix for documentation
Remove the min_rows
optional param from this documentation.