File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ Type stubs
586
586
pandas by itself doesn't expose any type information to the user.
587
587
This means that in pandas-dependant projects the type checkers like Mypy won't perform like expected
588
588
and will treat all pandas objects as they were of type ``Any ``.
589
- Learn more by reading through these issues `14468 <https://github.com/pandas-dev/pandas/issues/14468 >`_ ,
589
+ Learn more by reading through these issues `14468 <https://github.com/pandas-dev/pandas/issues/14468 >`_,
590
590
`26766 <https://github.com/pandas-dev/pandas/issues/26766 >`_, `28142 <https://github.com/pandas-dev/pandas/issues/28142 >`_.
591
591
592
592
pandas-stubs are meant to alleviate this issue by providing rudimentary type coverage of pandas API.
Original file line number Diff line number Diff line change @@ -388,3 +388,17 @@ authors to coordinate on the namespace.
388
388
| [ pint-pandas] ( https://github.com/hgrecco/pint-pandas ) | ` pint ` | ` Series ` , ` DataFrame ` |
389
389
| [ composeml] ( https://github.com/alteryx/compose ) | ` slice ` | ` DataFrame ` |
390
390
| [ woodwork] ( https://github.com/alteryx/woodwork ) | ` slice ` | ` Series ` , ` DataFrame ` |
391
+
392
+ ## Type stubs
393
+
394
+ ### [ pandas-stubs] ( https://github.com/VirtusLab/pandas-stubs )
395
+
396
+ pandas by itself doesn't expose any type information to the user.
397
+ This means that in pandas-dependant projects the type checkers like Mypy won't perform like expected
398
+ and will treat all pandas objects as they were of type `` Any `` .
399
+ Learn more by reading through these issues [ 14468] ( https://github.com/pandas-dev/pandas/issues/14468 ) ,
400
+ [ 26766] ( https://github.com/pandas-dev/pandas/issues/26766 ) , [ 28142] ( https://github.com/pandas-dev/pandas/issues/28142 ) .
401
+
402
+ pandas-stubs are meant to alleviate this issue by providing rudimentary type coverage of pandas API.
403
+ After installing it using ` pip ` or ` conda ` , the ` .pyi ` files will be
404
+ placed alongside the pandas ` .py ` files and be available for the type checker.
You can’t perform that action at this time.
0 commit comments