Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork18.6k
Closed
Description
Pandas version checks
- I have checked that the issue still exists on the latest versions of the docs on
main
here
Location of the documentation
Documentation problem
Currently the docs stipulate that onlyint
,str
anddict
are allowed for thefill_value
, yet it seems like all the types that could be used when creating aDataFrame
seem to pass at runtime. I have not tried them all yet but int, float, complex, timestamp are working fine.
Suggested fix for documentation
Add all allowed types for dataframe elements for thefill_value
field.
Happy to create the PR if this is agreed by the maintainers. I will raise the issue in the pandas-stubs repo.