Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/pandas-dev/pandas-stubs

Public type stubs for pandas
https://github.com/pandas-dev/pandas-stubs

fix concat for axis=0 (#880)

* fix concat for axis=0

* 'fix' mypy

7dd7b6a037819729da84a94bcda4d2f731e43bf6 authored 10 months ago by Torsten Wörtwein <[email protected]>
Added types to df.info() (#875)

Co-authored-by: Askhat Nuriddinov <[email protected]>

02abbdb842fd51b19e2c16dd4618100e8e293486 authored 10 months ago by Askhat Nuriddinov <[email protected]>
Enable construction of pd.Series with NaT and NA (#874)

* Enable construction of pd.Series with NaT and NA

* cleanup

d2ffa324ccf92e033d2d5f2a2c8f116fc0082297 authored 10 months ago by Mark Elliot <[email protected]>
Fix pd.concat to accept None values as input. (#858)

* Fix pd.concat to accept None values as input.

* Add test

* a few changes

* comment

...

82ed4f1e734082d0ae70cb4baed08c01e0383377 authored 10 months ago by Alex Glass <[email protected]>
Version 2.2.0.240218

daa3f27c8af0244d65cde81e523dc606956a3696 authored 10 months ago by Irv Lustig <[email protected]>
Merge remote-tracking branch 'upstream/main'

7e5dab8286b20e6c63dcc8ceca6fef9661e657e2 authored 10 months ago by Irv Lustig <[email protected]>
CI: fix nightly (#869)

* CI: fix nightly

* remove ignores and address comment

23b35e48fb6b159d9ddab7f007ede26ae8a05564 authored 10 months ago by Torsten Wörtwein <[email protected]>
Add `unit` property and `as_unit` method to `DatetimeIndex`, `TimedeltaIndex` and `Series.dt` (#865)

* Add unit property and as_unit method to DatetimeIndex and TimedeltaIndex

* Add unit propert...

a51279ebbb367d4385056eab2c00b98d1854e7f9 authored 10 months ago by Soshi Katsuta <[email protected]>
Add `unit` property and `as_unit` method to `Timestamp`, `Timedelta` and `NaTType` (#864)

* Add unit property and as_unit method to NaTType

* Add unit property to Timestamp

* Add a...

fdbe1df6128fe7042398a722062588c51e331932 authored 10 months ago by Soshi Katsuta <[email protected]>
Fix `Series#get` and `DataFrame#get` (#867)

* Remove NDFrame#get method

* Add get method to Series

* Add get method to DataFrame

* ...

79782380b9c6c6970dbb41ff7defe17bcc8c0657 authored 10 months ago by Soshi Katsuta <[email protected]>
Pandas 2.2; remove some deprecated behavior; update black+pyright (#860)

* black

* Pandas 2.2; remove some deprecated behavior; update pyright

* Update frame.pyi
...

40d96364b9e34b8c0ea2307fb3fe1540544cdbbe authored 10 months ago by Torsten Wörtwein <[email protected]>
Fix calling df.agg with scalar dict values (#861)

Fixes #846

6aae41cdd7e4bfdfccbc8b9d58a0572f85358f51 authored 10 months ago by Ali Hamdan <[email protected]>
Make `DataFrame#loc` return `Series` or `DataFrame` if a scalar is given (#866)

Return Series or DataFrame if a scalar is given to DataFrame#loc

Fix #749.

176805d2cf65cb73b43440e6d33d4764a77003ee authored 10 months ago by Soshi Katsuta <[email protected]>
Add type annotation to the return value of `Index#get_loc` (#863)

Add type annotation to the return value of Index#get_loc

fe2816343dd823baed47162bd870237116237c15 authored 10 months ago by Soshi Katsuta <[email protected]>
Add support for `DataFrame#loc[..., NDArray[bool]]` (#862)

Add support for DataFrame#loc[..., MaskType]

6fd6145c4b98af8ac2b637588e0580231cd3ada5 authored 10 months ago by Soshi Katsuta <[email protected]>
Rework groupby and resample core modules (#848)

* Rework groupby and resample core modules

* Runtime Series is not generic

* Remove defaul...

e35c3ca0c3fc2803cf00ca22ea75d2ae7f0b3948 authored 11 months ago by Ali Hamdan <[email protected]>
Merge remote-tracking branch 'upstream/main'

98a273158334bc5ac6f6f89a2b045072a6bac158 authored 11 months ago by Irv Lustig <[email protected]>
Fix compatibility with latest pyright (#847)

* Fix compatibility with latest pyright

* Remove 0 default and update pyright version

56eafc1ee579bfc3a145c71ec5deb0d5dd7b00ba authored 12 months ago by Ali Hamdan <[email protected]>
Version 2.1.4.231227

9de765a09f03ee1fba0d822d54729124eb689e3b authored 12 months ago by Irv Lustig <[email protected]>
Type `args` and `kwargs` in `pipe` (#823)

* Test dataframe pipe typing

* Test series pipe typing

* Remove pipe annotations from Data...

117e97a415311f5f7324a3987236c977b03c0040 authored 12 months ago by Paulo S. Costa <[email protected]>
itertuples (#842)

* Fix itertuples

* _PandasNamedTuple

* 3.9

* adjust old test

* return Scalar

a370cab05e3a7e9f270ff5ee7e08207db118b18b authored 12 months ago by Torsten Wörtwein <[email protected]>
Upgrade pyright to 1.1.343 (#845)

Pin pyright to >=1.1.343

888c3cc4feaa2e6137ac586aba31b09a4da6bb38 authored 12 months ago by Paulo S. Costa <[email protected]>
OffsetSeries inherits from Series[BaseOffset] (#844)

146cf236be3f8a198d00d45371dfc5568f543d09 authored 12 months ago by Torsten Wörtwein <[email protected]>
Series(Mapping) (#843)

* Series(Mapping)

* Hashable keys

* empty

* incremental changes

* _str

72b22b527c7f6bdb55520002e9d62387df4d055c authored 12 months ago by Torsten Wörtwein <[email protected]>
Timestamp -> datetime and Timedelta -> timedelta (#841)

* Timestamp -> datetime and Timedelta -> timedelta

* keep redundancy

* test

* redundancy

52384d3425a32076e47ee32039b61f2d5a14b160 authored 12 months ago by Torsten Wörtwein <[email protected]>
CI: test on 3.12 (#839)

* CI: test on 3.12

* simpler solution

* fix nightly

0a567b495d1ff871fbfe523b0976fea3837045f9 authored 12 months ago by Torsten Wörtwein <[email protected]>
pin tables to 3.9.1 (#840)

* pin tables to 3.9.1

* add comment for pyproject on pinning tables

70605ea902684bf9d56f3ed3de404c64b0c5f5c2 authored 12 months ago by Irv Lustig <[email protected]>
Allow sequence in groupby level (#837)

* Add test cases for level sequences

This test fail currently, as the level parameter
curren...

068679ccb9a6a41eca96e1500ade18c4ef4bff7d authored 12 months ago by Jens Diewald <[email protected]>
fix nightly tests (#830)

c0ca5274b52bfa541dd7d566b5f4af69ba723cc6 authored about 1 year ago by Irv Lustig <[email protected]>
Version 2.1.4.231218

2cd803a6f220ab3e9411a09b8b96aca3a13e70cf authored about 1 year ago by Irv Lustig <[email protected]>
Mypy 1.7.1 and fix #827 (#829)

* mypy 1.7.1

* fix 827, towards 826

afb0db585d641cb1db5e29c462034bb466584ac9 authored about 1 year ago by Torsten Wörtwein <[email protected]>
Fix nightly CI again (#824)

* fix CI

* and removebytes from read_excel

* copy of getSeriesData

a950dbd8c4fb06c1ce13bc8bbfc574c077e2c72a authored about 1 year ago by Torsten Wörtwein <[email protected]>
Refine iterrows and itertuples return types (#822)

refine iterrows and itertuples return types

* Added first test on iterrows.
* Updated iterro...

2aadf0ee9cfc3ed3436f33a313ead9588216574c authored about 1 year ago by aleb_the_flash <[email protected]>
fix pyright and pytest --nightly (#819)

* fix pyright and pytest --nightly

* catch all FutureWarnings

* pandas bug?

536db83b1d98fe683df4fe27f3cd701a85327615 authored about 1 year ago by Torsten Wörtwein <[email protected]>
Fix: dataframe.loc int label could be warn (#816)

94df87594489d5043fab87810730ebcdf9931c77 authored about 1 year ago by djh <[email protected]>
Add more valid options for compression= in to_parquet() (#815)

This matches the description in the API documentation for v2.1: https://pandas.pydata.org/pandas...

271061693c734a3c7a13ab17464dc901fc20adfa authored about 1 year ago by Greg Werbin <[email protected]>
Use the new poetry dev dependency group (#807)

* Use the new poetry dev dependency group

* Indicate the minimal version of poetry required

8f1ae071595ea1fda6bd885a92f7c3ae2630b64d authored about 1 year ago by Matheus Felipe <[email protected]>
Fix flavor param with incorrect type hint in read_html (#772)

* Fix flavor param with incorrect type hint in read_html

refs:
- https://github.com/pandas-d...

717f4ddf399380485555f58b0f3e0a4fc0ca99c1 authored about 1 year ago by Matheus Felipe <[email protected]>
Update required python version to >= 3.9 in docs (#806)

No need to run tests - it's just a doc change

2fefa8adc89cb86c4a9239e06dea11c2c643c743 authored about 1 year ago by Matheus Felipe <[email protected]>
reportIncompatibleMethodOverride (#802)

* reportIncompatibleMethodOverride

* BooleanDtype.na_value is a property

* fix Timestamp.c...

9aac8e31ba69eb4c0583e55dd2198755fb031620 authored about 1 year ago by Torsten Wörtwein <[email protected]>
Add types for pandas.DataFrame.map (#801)

* Add types for pandas.DataFrame.map

* Made some changes:
- Removed stub and test for applym...

05d6a525f8df9c05d324281b2c476191f5fb5e87 authored about 1 year ago by andrewpmk <[email protected]>
TYP: to_dict use MutableMapping (#796)

* TYP: to_dict use MutableMapping

* remove deprecation warning

* mypy

e7d8661c81bad6f41643cf868d4c2132cce65b7a authored about 1 year ago by Torsten Wörtwein <[email protected]>
add convert_floating argument to convert_dtypes (#795)

bddb20b0920fff6e01563e7eb03cd0e4038021ea authored about 1 year ago by twagner-fox <[email protected]>
Sync Usecols with pandas (#793)

2bbc80c10d9106b84f0d23c48b9d58f0ab7cb6c1 authored about 1 year ago by Torsten Wörtwein <[email protected]>
TYP: NDFrame.__round__ (#792)

* TYP: NDFrame.__round__

* more Self

* a few more Selfs

ebb8ffa37f56c2c256c749fb661d952fac21fc65 authored about 1 year ago by Torsten Wörtwein <[email protected]>
'Fix' mypy-nightly (#788)

1cd116414dde282d40b958b76f1698c70c609633 authored about 1 year ago by Torsten Wörtwein <[email protected]>
CI: use compiled nightly mypy (#787)

* clean

* CI: use compiled nightly mypy

* pre-commit

7e72ed8b03e8e812b6dba7fb69a989de13fbe4b2 authored about 1 year ago by Torsten Wörtwein <[email protected]>
Add `storage_options` to `read_html` (2.1.0) (#785)

The argument has been added to pandas 2.1.0 in https://github.com/pandas-dev/pandas/pull/52620.
...

2c92aa9aa969ca8b138ba81f800b3a87b6daa6ee authored about 1 year ago by Jonathan Daniel <[email protected]>
Version 2.1.1.230928

3c2affdaeb1cb03777cc59832dcdd4b030add27d authored about 1 year ago by Irv Lustig <[email protected]>
Fix a few issues found in my team's code (#782)

* working with 2.1.1

* fixes for nightly

* fix invalid usage for mypy. use different resam...

05244cbada0b869584e4e56c68b69802b016e2de authored about 1 year ago by Irv Lustig <[email protected]>
Fix nightly and support 2.1.1 (#781)

* working with 2.1.1

* fixes for nightly

* fix invalid usage for mypy. use different resam...

a912c8ef5d4214698c40b547044ba0adb9875aa4 authored about 1 year ago by Irv Lustig <[email protected]>
Added `Timestamp` to `Series#__getitem__` (#775)

* Added `Timestamp` to `Series#__getitem__`

#773

* Fixed code review comments

* Replace...

b7d23a538ae2661c2cab37fcc99be3e2b6755624 authored over 1 year ago by Ihor Dotsenko <[email protected]>
fix: chained_assignment could be warn, raise or None (#779)

https://github.com/pandas-dev/pandas/blob/1.5.x/pandas/core/config_init.py#L563-L575

7e6f8a9b4aacb4d1193508290c3d59aedf67e7b5 authored over 1 year ago by Levi Leal <[email protected]>
Fix #777 (#778)

1411742668c49e7454dcaf94d30fa4e7dde19cdf authored over 1 year ago by Torsten Wörtwein <[email protected]>
fix matplotlib imports, pd.util (#776)

* fix matplotlib imports, pd.util

* add todo for pd.util

d8cdcb58b8324bfb5d4ba2de237f6c5204141c82 authored over 1 year ago by Irv Lustig <[email protected]>
Simplify DataFrame.__getitem__ (#771)

* simplify DataFrame.__getitem__

* restrict to Iterable with Hashable/Scalar elements

* un...

6bb12157a810cc26e034e012bff6a0ec2da191d0 authored over 1 year ago by Torsten Wörtwein <[email protected]>
Pandas 2.1 requires python>3.9 (#768)

* Pandas 2.1 requires python>3.9

* manual changes

ab5c643b6d6a165ce473e2fc15b1af2aca246d64 authored over 1 year ago by Torsten Wörtwein <[email protected]>
Infer dtype of Series in more cases (#766)

* Infer dtype of Series in more cases

* ignores

* address some of the feedback

* One of...

3c7df2f358e9cfff3f699494e85120ad7655e67a authored over 1 year ago by Torsten Wörtwein <[email protected]>
(r)true/floor div (#764)

* (r)true/floor div

* address comments

* and for DataFrame

* add Sequence for Timedelta...

82f899448d3e40e0d640acfeb6b0a794ac3d2a05 authored over 1 year ago by Torsten Wörtwein <[email protected]>
Version 2.0.3.230814

7a8d3106e0c6013da8acf7025a2a808ddba9cf81 authored over 1 year ago by Irv Lustig <[email protected]>
update mypy and pyright versions (#763)

* update mypy and pyright versions

* restrict numexpr

c3fc9665c2d7f1eb55676b55e6ad930d579245e4 authored over 1 year ago by Irv Lustig <[email protected]>
Make IndexOpsMixin (and Index) generic (#760)

* interpolate method

* WIP

* mypy handles Never differently - at least asssert that the me...

f7621f408f4cfed08453e1b906bf9a6a17b34b04 authored over 1 year ago by Torsten Wörtwein <[email protected]>
interpolate method (#761)

fbec52bbff022384bd30bd69dcda776c22d19729 authored over 1 year ago by Torsten Wörtwein <[email protected]>
to_datetime's utc is not documented to allow None (#762)

794948a2bf562145515c75dcc830ad841825ad98 authored over 1 year ago by Torsten Wörtwein <[email protected]>
make sub of timedelta work (#759)

* make sub of timedelta work

* fix issues due to pyright 1.1.320

* fix for older python wi...

8957328ff819702066334259f02c9253b421fd12 authored over 1 year ago by Irv Lustig <[email protected]>
Replace flake8 and pyupgrade with ruff (#754)

* Replace flake8 and pyupgrade with ruff

* applied autofixes from ANN204 but disabled it beca...

6769e81bb95764fbc538c7aa95f5cc44c218704b authored over 1 year ago by Torsten Wörtwein <[email protected]>
added pyarrow/numpy dtype literals and allowed `str` | `DtypeObj` as input for `Series.astype` (#756)

* added pyarrow/numpy dtype literals & allowed str as astype input

* removed accidental doubl...

490914f32ee048d6f0da7cb8899221081154ab73 authored over 1 year ago by Randolf Scholz <[email protected]>
Fix SQL parameter type (#757)

* Fix sql params type

* Use Scalar instead of Any

5a9abdd6abb360ad44c38d811a723bb6a93d51ac authored over 1 year ago by Tolker-KU <[email protected]>
Fix nightly, yet again (#752)

89e083bf5548c6c944adbce74543437f7042c85c authored over 1 year ago by Torsten Wörtwein <[email protected]>
Fix nightly test (#751)

* fix nightly test

* remove comment in template, nightly tests are not run for PRs

6c770627c338f9ee3de737f2a4099800cff7179a authored over 1 year ago by Torsten Wörtwein <[email protected]>
Add missing __hash__ stubs (#746)

8d5a8279d448afa188f5160e7fe787c1fcb6015e authored over 1 year ago by Vasista Vovveti <[email protected]>
fix nightly tests to work with 2.1 dev code (#742)

23bf4da8f738e539015a7ac050b76f880e8866d7 authored over 1 year ago by Irv Lustig <[email protected]>
numpy 1.25.0, pyright 1.1.316, mypy 1.4.1 (#741)

* numpy 1.25.0, pyright 1.1.316, mypy 1.4.1

* avoid specifying python version for mypy

1ef14780c91d9b44f68daa248c9ff887d5d72c17 authored over 1 year ago by Irv Lustig <[email protected]>
Add overload for DataFrameGroupBy.groupby("size") return Series (#739)

* Add overload for DataFrameGroupBy.groupby("size") return Series

* Switch SeriesGroupBy.agg ...

d23c4bbe721e4be02e2251cd176bdec864e6d4bb authored over 1 year ago by Louis Cochen <[email protected]>
GH - 624: date_range() now supports a unit keyword "s" , "ms" , "us" , or "ns" (#734)

* date_range() now supports a unit keyword "s" , "ms" , "us" , or "ns"

* fix problems

* nu...

6fe90bbb37128a79068ba41c8ebaaf269ddeab90 authored over 1 year ago by AsukaMinato <[email protected]>
period_range and Period should accept date, datetime and pd.Timestamp (#728)

* Update series.pyi and add test case

* Add additional accepted types

* Add test cases for...

e54943ab5be15a195505e43d09c759698a4aaed6 authored over 1 year ago by Amanda Bizzinotto <[email protected]>
Use new nightly wheels' location (#727)

29281fee94cc51fa3cc0098d616fc36fdad8e451 authored over 1 year ago by Jarrod Millman <[email protected]>
Series mask method's "other" parameter does not accept pandas.NA (#725)

* Update series.pyi

* Add type tests for mark

* Use np.integer instead of np.int64

d72d9f19a912e5879e08f690bc82bafef6077aaa authored over 1 year ago by Amanda Bizzinotto <[email protected]>
Argument 1 to "apply" of "Series" has incompatible type "Callable[[Any], Union[int, NAType]]" (#724)

Update series.pyi and add test case

894a5905f8f1e2e7291d2aeb157c2d40df0c5655 authored over 1 year ago by Amanda Bizzinotto <[email protected]>
Version 2.0.2.230605

a9f33270299ecd407c24fb8d909bd2e532085986 authored over 1 year ago by Irv Lustig <[email protected]>
Fix Series.__new__ (#722)

* Fix Series.__new__

* dtype + bound

* Literal -> TimestampDtypeArg

52f2f0c5ad6ebff0a1c37ac66fcf05177d722719 authored over 1 year ago by Torsten Wörtwein <[email protected]>
GH: 624 - added new `is_any_real_numeric_dtype` function (#715)

* added new `is_any_real_numeric_dtype` function and added `None` to `na_values` in read_csv

...

6f6586b67f8c5ce6da39009cfddc8cd35fb79b49 authored over 1 year ago by ramvikrams <[email protected]>
add proper type when grouping by a Series (#708)

* remove Series from GroupByObjectNonScalar, add new orverloads for Series.groupby and DataFrame...

d873a460740854ab798b1a53a44179c88dcbe00a authored over 1 year ago by Clément Pinard <[email protected]>
Fix Series.to_string (#721)

* Fix Series.to_string

* float_format

bb41036d2ef38a961f3e0a1bff293747b7db8cde authored over 1 year ago by Torsten Wörtwein <[email protected]>
Support for pyright 1.1.310 (#716)

* Use Self with __new__

* change S1 to use Union, add __new__ to test_pandera_generic

630efce72a299aa82efacbf11d616eb778e58d54 authored over 1 year ago by Irv Lustig <[email protected]>
DataFrame__getitem__: accepts generator (#714)

685

6d21d7c29c51454196403daa763f7fb7cef7939f authored over 1 year ago by Torsten Wörtwein <[email protected]>
Add interchange to `pandas-stubs/api/__init__.pyi` (#713)

* Add interchange to pandas-stubs/api/__init__.pyi

* Add test

b1cb6370a875add7a1941ffbc043c47760ca3814 authored over 1 year ago by Zhengbo Wang <[email protected]>
pin pyright to 1.1.308 (#709)

d73f5fd9fcdc49cef0bd7b1911b12856be85c3fa authored over 1 year ago by Irv Lustig <[email protected]>
dtype argument of read_json() (#707)

e3a823a384840c733650026a2dea49ddcbd78162 authored over 1 year ago by Kshitiz Gupta <[email protected]>
Allow Timedelta for `Series.rolling` and `DataFrame.rolling` (#705)

* Add Timedelta annotation to .rolling

* Allow datetime.timedelta as well

* Reorder and in...

0491c11f52fc051e2a9c8d7229edf08c7b11610a authored over 1 year ago by Alan Chan <[email protected]>
SeriesGroupBy.diff (#702)

70c412c84ec70fabdeb6b774b06811758b1b4b2b authored over 1 year ago by Torsten Wörtwein <[email protected]>
Fix WeekOfMonth constructor (#699)

* Fix WeekOfMonth constructor

* check+assert_type

64c339b09b28ca28f32e36c47f5f002bd8968d40 authored over 1 year ago by Torsten Wörtwein <[email protected]>
GH:624- added `date_format` to `read_table`,`read_fwf` and `read_excel` (#695)

* GH-676

* Update test_io.py

* Update tests/test_io.py

Co-authored-by: Irv Lustig <irv@...

660c4b0b309f7256ec97ddab14389710ac61ac0f authored over 1 year ago by ramvikrams <[email protected]>
Fix link in README (#698)

a81424d7d6775f9f0ed0045f40be397cc83b9101 authored over 1 year ago by Torsten Wörtwein <[email protected]>
Add numpy as a 'runtime' dependency (#696)

* absolute imports

* add numpy as a 'runtime' dependency

429ed801fa3135e290b0364e296e4988e3a9abbd authored over 1 year ago by Torsten Wörtwein <[email protected]>
Fix inplace overload for DataFrame.interpolate (#694)

* Fix inplace overload for DataFrame.interpolate

* fix order

55546cfdc7144c4f1883a985a91ab4c191be8d43 authored over 1 year ago by Torsten Wörtwein <[email protected]>
CI: unpin lxml and update mypy (#693)

* CI: unpin lxml and update mypy

* Update pyproject.toml

Co-authored-by: Irv Lustig <irv@p...

5d41bcd0afd23fc8fe3060a7852cc717673f957c authored over 1 year ago by Torsten Wörtwein <[email protected]>
GH:624 - added `mode` keyword to `DataFrame.to_json` (#684)

* added `mode` keyword to `DataFrame.to_json`

* Update base.pyi

* added overloads and test...

621891b3cc087771939f6098b7396294e59f4d7d authored over 1 year ago by ramvikrams <[email protected]>
Refactors `Series.groupby` to match `DataFrame.groupby` (#690)

* Refactors `Series.groupby` to match `DataFrame.groupby`

* Fixes failing tests on Windows du...

002f0cc4c8a341c5db4f50048978936d3e62c63d authored over 1 year ago by David Salvisberg <[email protected]>
upgrade SQLAlchemy and pyright (#687)

7a8befdfddcaddb463aa748911f012ff4ec45781 authored over 1 year ago by Irv Lustig <[email protected]>