Skip to content

BUG Series rolling count ignores min periods #31319

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Changes from 1 commit
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
b7fcb54
CLN: remove unnecessary overriding in subclasses (#30875)
jbrockmendel Jan 10, 2020
6f2c509
DEPR: fix missing stacklevel in pandas.core.index deprecation (#30878)
jorisvandenbossche Jan 10, 2020
d1b9598
DOC: Encourage use of pre-commit in the docs (#30864)
gfyoung Jan 10, 2020
447a3b0
WEB: Removing Discourse links (#30890)
datapythonista Jan 10, 2020
03cdcb6
WEB: Remove from roadmap moving the docstring script (#30893)
datapythonista Jan 10, 2020
0b4bac7
TYP: typing annotations (#30901)
ShaharNaveh Jan 10, 2020
f887eb0
TYP: offsets (#30897)
jbrockmendel Jan 10, 2020
6e9651e
BUG: pickle files left behind by tm.round_trip_pickle (#30906)
jbrockmendel Jan 11, 2020
398bf7d
BUG: Series rolling count ignores min_periods (GH26996)
fujiaxiang Jan 11, 2020
7f2948c
replace syntax with f-string (#30919)
HH-MWB Jan 11, 2020
939e7dd
CLN: F-strings (#30916)
dinasv Jan 11, 2020
b47a454
DOC: Fixture docs in pandas/conftest.py (#30917)
gfyoung Jan 11, 2020
75ecfa4
CLN: remove unnecesary _date_check_type (#30932)
jbrockmendel Jan 11, 2020
044559a
DOC: Fix SS03 docstring error (#30939)
galuhsahid Jan 12, 2020
28e909c
TYP: type up parts of series.py (#30761)
topper-123 Jan 12, 2020
4e2546d
STY: wrong placed space in strings (#30940)
ShaharNaveh Jan 12, 2020
45580a2
DOC: Fix whatsnew contributors section (#30926)
jschendel Jan 13, 2020
439d629
CI: numpydev changed double to single quote (#30952)
jbrockmendel Jan 13, 2020
46c2864
CLN: leftover ix checks (#30951)
jbrockmendel Jan 13, 2020
bbccf2d
DOC: Move import conventions from wiki to docs #30808 (#30888)
souvik3333 Jan 13, 2020
2c76d06
DOC: Move couple of deprecations whatsnew to correct section (#30961)
ryankarlos Jan 13, 2020
62d16ab
STY: concat strings that should not be seperated (#30942)
ShaharNaveh Jan 13, 2020
dd6e31a
REGR: Fixed hash_key=None for object values (#30900)
TomAugspurger Jan 13, 2020
bd63ece
CLN: remove no-op from indexing (#30934)
jbrockmendel Jan 13, 2020
7ba53f0
BUG: -1 to the power of pd.NA was returning -1 (#30960)
MarcoGorelli Jan 13, 2020
67fcdef
TYP: NDFrame.resample (#30947)
topper-123 Jan 13, 2020
993fdbe
DOC: whatsnew for 1.1 (#30972)
WillAyd Jan 13, 2020
6928327
CLN: misc cleanups (#30877)
jbrockmendel Jan 13, 2020
2bf0c9f
Compat for util.testing import (#30973)
TomAugspurger Jan 13, 2020
307137c
STY: concat strings (#30979)
ShaharNaveh Jan 13, 2020
2075539
Added small corrections to the test for interpolate limit_area (#30987)
cchwala Jan 13, 2020
8ff2ebd
STY: concat strings (#30991)
ShaharNaveh Jan 14, 2020
13b22fd
CLN: de-duplicate _getitem_scalar (#30992)
jbrockmendel Jan 14, 2020
0f048cb
CLN: remove geopandas compat code (#30909)
jbrockmendel Jan 14, 2020
b18024d
STY: Whitespaces placed at the beginning instead at the end of a line…
ShaharNaveh Jan 14, 2020
3471270
API: Disallow NaN in StringArray constructor (#30980)
TomAugspurger Jan 14, 2020
81d9636
BUG: ensure_datetime64ns with bigendian array (#30976)
jbrockmendel Jan 14, 2020
d78c061
ENH: Add Stata 119 writer (#30959)
bashtage Jan 14, 2020
1835064
TST: bare pytest raises (#31001)
ShaharNaveh Jan 14, 2020
ee83988
DOC: Changed links to sphinx documentation in contributing.rst file (…
Jan 14, 2020
8d093fe
TST: Insert 'match' to bare pytest raises (#30997)
ShaharNaveh Jan 14, 2020
3787133
DOC: Fixed documented value of `pd.NA ** 0` (#31005) (#31015)
TomAugspurger Jan 14, 2020
cb05c13
DOC: Clarified documentation for convert_dates and use_default_dates …
amilbourne Jan 14, 2020
6b87716
CI: Remove unrequired config (#31024)
alimcmaster1 Jan 15, 2020
6837794
BUG: Preserve string dtype in extract (#31018)
TomAugspurger Jan 15, 2020
51cb276
CLN: remove checks for inferred_dtype==unicode (#31020)
jbrockmendel Jan 15, 2020
4ed9a39
CLN: remove unused NDFrame methods (#30935)
jbrockmendel Jan 15, 2020
bea5789
doc: update copyright year (#31022)
simon04 Jan 15, 2020
d243ca0
REF: PeriodIndex.get_loc (#31021)
jbrockmendel Jan 15, 2020
9b0ef5d
refactor DTI.get_loc (#31023)
jbrockmendel Jan 15, 2020
698920f
REF: do all casting _before_ call to DatetimeEngine.get_loc (#30948)
jbrockmendel Jan 15, 2020
586bcb1
BUG: pivot_table with multi-index columns only fails (#31013)
charlesdong1991 Jan 15, 2020
ef0cf1e
REF: implement _split_op_result (#31027)
jbrockmendel Jan 15, 2020
030a35c
PERF: RangeIndex.get_loc (#30930)
jbrockmendel Jan 15, 2020
8718877
ENH/TST: Allow more keywords to ensure_clean (#30915)
gfyoung Jan 15, 2020
dd94e0d
BLD: More lightweight mypy pre-commit hook (#30814)
xhochy Jan 15, 2020
2cabca8
CI: Fix clipboard problems (#29712)
datapythonista Jan 15, 2020
9a68635
BUG: SystemError in df.sum (#30905)
jbrockmendel Jan 15, 2020
bc9d329
BUG: Fix Timestamp constructor changes value on ambiguous DST (#30995)
AlexKirko Jan 15, 2020
c139f08
a -> an (#31033)
Jan 16, 2020
2170f4e
CI: Using docstring validator from numpydoc (#30746)
datapythonista Jan 16, 2020
2ba6be7
TST: Disallow bare pytest.raises (#31045)
gdex1 Jan 16, 2020
5d49730
CLN: assorted cleanups (#31056)
jbrockmendel Jan 16, 2020
c040f14
CLN: remove redundant return value (#31065)
jbrockmendel Jan 16, 2020
22fe19c
TYP/CLN: Replaced "Optional[Hashable]" with "Label" from pandas._typi…
ShaharNaveh Jan 16, 2020
7eafd73
CLN: Removed unused varibles from for loops (#31059)
ShaharNaveh Jan 16, 2020
7a1dad1
CLN/STY: Some stuff that got the attention of my eye (#31076)
ShaharNaveh Jan 16, 2020
7b7bb83
CLN: Removed the same code in 'if' and the 'else' (#31081)
ShaharNaveh Jan 16, 2020
721a2eb
CLN: remove unnecessary arg from _to_dt64 (#30895)
jbrockmendel Jan 16, 2020
a8eaebf
CLN: simplify Float64Index.__contains__ (#30899)
jbrockmendel Jan 16, 2020
208bb41
DOC: Add pandas_path to the accesor list in the documentation (#30898)
pjbull Jan 16, 2020
171a1ed
TYP: _config/config.py && core/{apply,construction}.py (#30734)
ShaharNaveh Jan 16, 2020
e4a96bb
ENH: Add engine keyword to expanding.apply to utilize Numba (#30937)
mroeschke Jan 16, 2020
321bae6
automatic 'end' year of copyright (#31085)
ShaharNaveh Jan 16, 2020
b2c90cc
CLN: Remove download_wheels.py, moved to pandas-release (#31083)
datapythonista Jan 16, 2020
14ab82e
CLN: remove unused legacy pickle compat code (#31078)
jbrockmendel Jan 16, 2020
f6747b9
REF: stricter types for RangeIndex._simple_new (#31084)
jbrockmendel Jan 16, 2020
b68a9bb
WEB: Improving the sponsors in the web, and adding CZI (#31046)
datapythonista Jan 17, 2020
0f04c6a
CI/TST: fix failing tests in py37_np_dev (#31091)
ShaharNaveh Jan 17, 2020
d21638b
CLN: Regular expression clean as @jbrockmendel suggested (#31098)
ShaharNaveh Jan 17, 2020
5d471c9
Merge remote-tracking branch 'upstream/master' into series_rolling_co…
fujiaxiang Jan 17, 2020
a72eef5
DOC: Add missing docstrings in pd.Index (#31047)
galuhsahid Jan 17, 2020
47f4e61
ENH: handles min_periods argument in rolling.count (GH26996)
fujiaxiang Jan 17, 2020
fb0f96e
WEB: Styling blog (#31094)
datapythonista Jan 17, 2020
a0c7a8a
CLN: Index._values docstring + Block.internal/external_values (#31103)
jorisvandenbossche Jan 17, 2020
641346c
TST: Fix some bare pytest raises (#31105)
ShaharNaveh Jan 17, 2020
a890239
BUG: pd.crosstab(s1, s2) handle column index incorrectly when both se…
charlesdong1991 Jan 17, 2020
f873fb9
TYP: annotations (#31115)
jbrockmendel Jan 18, 2020
9c33464
JSON Date Handling 1.0 Regressions (#30977)
WillAyd Jan 18, 2020
4e9ee4d
BUG: reductions for nullable dtypes should return pd.NA for skipna=Fa…
jorisvandenbossche Jan 18, 2020
f19035d
REF: fix calls to Index.get_value (#31112)
jbrockmendel Jan 18, 2020
1c9f23c
CLN: prune unreachable code (#31106)
jbrockmendel Jan 18, 2020
df2a3e9
DOC: moved whatsnew to V1.1.0
fujiaxiang Jan 18, 2020
554abfa
Merge remote-tracking branch 'upstream/master' into series_rolling_co…
fujiaxiang Jan 18, 2020
65b23c2
BUG: partial-timestamp slicing near the end of year/quarter/month (#3…
jbrockmendel Jan 18, 2020
8b754fc
CLN: update _simple_new usages (#31089)
jbrockmendel Jan 18, 2020
024925a
REF: handle searchsorted casting within DatetimeLikeArray (#30950)
jbrockmendel Jan 18, 2020
55cfabb
REF: be stricter about what we pass to _simple_new (#31055)
jbrockmendel Jan 18, 2020
f792d8c
BUG: correct wrong error message in df.pivot when columns=None (#30925)
charlesdong1991 Jan 18, 2020
6245c70
Updated years in LICENSE (#31100)
ShaharNaveh Jan 18, 2020
d16dc5a
Pull Request Tips (#31093)
WillAyd Jan 18, 2020
a3c7722
DOC: Moved PANDAS_TESTING_MODE tip to .travis.yml (#30694) (#31008)
saloni30agr Jan 18, 2020
c4878b0
Merge remote-tracking branch 'upstream/master' into series_rolling_co…
fujiaxiang Jan 18, 2020
cdf6774
DOC: Replace ggpy with plotnine in ecosystem (#31097)
hvardhan20 Jan 18, 2020
d170cc0
TST/BUG: fix incorrectly-passing Exception (#30553)
jbrockmendel Jan 18, 2020
52c22b2
REF/CLN: Index.get_value wrapping incorrectly (#31125)
jbrockmendel Jan 18, 2020
a446979
REF: simplify Float64Index.get_loc (#31123)
jbrockmendel Jan 18, 2020
7d28040
ENH: Create DockerFile and devcontainer.json files to work with Docke…
yehoshuadimarsky Jan 19, 2020
b0f5baa
Merge remote-tracking branch 'upstream/master' into series_rolling_co…
fujiaxiang Jan 19, 2020
31a7f57
REF: share code between Int64Index and UInt64Index (#31129)
jbrockmendel Jan 19, 2020
ebaed91
REF: share code between Int64Index and UInt64Index (#31129)
jbrockmendel Jan 19, 2020
4f1afc4
REF: share code between Int64Index and UInt64Index (#31129)
jbrockmendel Jan 19, 2020
9843f43
REF: share code between Int64Index and UInt64Index (#31129)
jbrockmendel Jan 19, 2020
7c94949
TYP: Index get_indexer_foo methods (#31137)
jbrockmendel Jan 19, 2020
54ba6db
DOC: Fix HDF5 complevel and complib formatting (#31053)
kylekeppler Jan 20, 2020
212b714
DOC: Restore ExtensionIndex.dropna.__doc__ (#31095)
jbrockmendel Jan 20, 2020
eb492a2
Use Python 3 shebangs (#31147)
rebecca-palmer Jan 20, 2020
71b6833
REF/BUG: Index.get_value called incorrectly, de-duplicate+simplify (#…
jbrockmendel Jan 20, 2020
6a2f95b
REF: require PeriodArray in PeriodIndex._simple_new (#31128)
jbrockmendel Jan 20, 2020
be6a3bc
BUG: groupby apply raises ValueError when groupby axis has duplicates…
fujiaxiang Jan 20, 2020
f4de727
TST: insert 'match' to bare pytest raises in pandas/tests/internals/…
ShaharNaveh Jan 20, 2020
f8e905e
REF: share searchsorted between DTI/TDI/PI, insert between DTI/TDI (#…
jbrockmendel Jan 20, 2020
264363e
TYP: Annotations in pandas/core/nanops.py (#30461)
ShaharNaveh Jan 20, 2020
06e416d
BUG: raise on non-hashable in __contains__ (#30902)
jbrockmendel Jan 20, 2020
998e742
BUG: EAs should not be hashable (#30908)
jbrockmendel Jan 20, 2020
cd7c784
CLN: fix wrong types getting passed to TDI._get_string_slice (#30874)
jbrockmendel Jan 20, 2020
059742b
TYP: Type annotations in pandas/io/formats/style.py (#30403)
ShaharNaveh Jan 20, 2020
3fbc332
CLN: Remove unused release scripts (#31049)
datapythonista Jan 20, 2020
7882aac
:pencil: set klass correctly for series and dataframe set_axis (#30885)
MarcoGorelli Jan 20, 2020
15bacea
raise more specific error if dict is appended to frame wit… (#30882)
MarcoGorelli Jan 20, 2020
e0bd394
ENH Avoid redundant CSS in Styler.render (#30876)
jnothman Jan 20, 2020
cd20c95
REF: use _get_string_slice in PeriodIndex.get_value (#31058)
jbrockmendel Jan 20, 2020
f1aaf62
BUG: df.pivot_table fails when margin is True and only columns is def…
charlesdong1991 Jan 20, 2020
29edd11
BUG: Break reference from grouping level to MI (#31133)
TomAugspurger Jan 20, 2020
469b4b7
CLN/STY: various code cleanups (#31162)
ShaharNaveh Jan 20, 2020
24d7c06
BUG: Fix MutliIndexed unstack failures at tuple names (#30943)
charlesdong1991 Jan 20, 2020
9a01577
REF: Move generic methods to aggregation.py (#30856)
charlesdong1991 Jan 20, 2020
f1bbb21
ENH: show percentiles in timestamp describe (#30164) (#30209)
david-cortes Jan 20, 2020
8a8e967
Split out JSON Date Converters (#31057)
WillAyd Jan 20, 2020
cdffa43
ENH: XLSB support (#29836)
Rik-de-Kort Jan 20, 2020
bbcda98
TST: Add regression tests for fixed issues (#31161)
mroeschke Jan 21, 2020
bfe10f0
TST: added more tests (GH26996)
fujiaxiang Jan 21, 2020
1a90629
Merge branch 'master' into series_rolling_count_ignores_min_periods
fujiaxiang Jan 21, 2020
964400d
Remove possibly illegal test data (#31146)
rebecca-palmer Jan 21, 2020
7ffcf9d
BUG: concat not copying index and columns when copy=True (#31119)
fujiaxiang Jan 21, 2020
be0926b
Merge remote-tracking branch 'upstream/master' into series_rolling_co…
fujiaxiang Jan 21, 2020
c0046b6
BUG: updated rolling and expanding count for consistency (GH26996)
fujiaxiang Jan 21, 2020
4050e4c
ENH: partial string indexing on non-monotonic PeriodIndex (#31096)
jbrockmendel Jan 21, 2020
d77b1d8
TST: Add more regression tests for fixed issues (#31171)
mroeschke Jan 21, 2020
e31c5ad
COMPAT: numpy test warnings (#30345)
nschloe Jan 21, 2020
c3f492f
REF: move misplaced tests (#31189)
jbrockmendel Jan 22, 2020
6dea557
CLN: remove unused fixtures (#31192)
jbrockmendel Jan 22, 2020
f4c99ff
REG: restore format_type attr (#31017)
jbrockmendel Jan 22, 2020
6752833
CI: numpydev ragged array dtype warning (#31203)
TomAugspurger Jan 22, 2020
8807ba1
CLN: further cleaned code (GH26996)
fujiaxiang Jan 22, 2020
118dc6c
DOC: fixup whatsnew (#31217)
TomAugspurger Jan 22, 2020
774498b
Follow-up: XLSB Support (#31215)
Rik-de-Kort Jan 22, 2020
6f395ad
Replaced set comprehension with a generator (#31229)
ShaharNaveh Jan 23, 2020
e83a6bd
BUG: Fixed upcast dtype for datetime64 in merge (#31211)
TomAugspurger Jan 23, 2020
7aa1582
Merge remote-tracking branch 'upstream/master' into series_rolling_co…
fujiaxiang Jan 23, 2020
bcce129
TST: cleaned up tests (GH26996)
fujiaxiang Jan 24, 2020
1a4352b
BUG: changed min_periods default to 0 for rolling and expanding (GH26…
fujiaxiang Jan 24, 2020
9fa4531
BUG: reverted non-relevant changes accidentally added (GH26996)
fujiaxiang Jan 24, 2020
987c033
BUG: small change in whatsnew (GH26996)
fujiaxiang Jan 25, 2020
a00532a
CLN: slight cleanup (GH26996)
fujiaxiang Jan 25, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
BLD: More lightweight mypy pre-commit hook (#30814)
  • Loading branch information
xhochy authored and jorisvandenbossche committed Jan 15, 2020
commit dd94e0db9556f35a3ea91ce85714c0b1e151a770
14 changes: 7 additions & 7 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ repos:
rev: v0.730
hooks:
- id: mypy
# We run mypy over all files because of:
# * changes in type definitions may affect non-touched files.
# * Running it with `mypy pandas` and the filenames will lead to
# spurious duplicate module errors,
# see also https://github.com/pre-commit/mirrors-mypy/issues/5
pass_filenames: false
args:
- pandas
# As long as a some files are excluded from check-untyped-defs
# we have to exclude it from the pre-commit hook as the configuration
# is based on modules but the hook runs on files.
- --no-check-untyped-defs
- --follow-imports
- skip
files: pandas/