-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
TST: Add test to ensure DF describe does not throw an error (#32409) #35270
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
Closed
Changes from 2 commits
Commits
Show all changes
1581 commits
Select commit
Hold shift + click to select a range
b329b94
DOC: Fix typo (#37980)
MicaelJarniac f2cbf4e
BLD: set inplace in setup.cfg (#37973)
fangchenli 191d633
DEPR: how keyword in PeriodIndex.astype (#37982)
jbrockmendel f823a85
BUG: DataFrame.to_html ignores formatters (#37958)
ma3da fb379d8
Inconsistent indexes for tick label plotting (#28733)
nrebena e640dde
BUG: Bug in setitem raising ValueError when setting more than one col…
phofl 347a7bc
CLN: make MultiIndex._shallow_copy signature match other subclasses (…
jbrockmendel 10bee10
PERF: IntervalArray.argsort (#37971)
jbrockmendel b617bee
Bug in loc did not raise KeyError when missing combination with slice…
phofl 6454943
TST: add nullable array frame constructor dtype tests (#37972)
arw2019 fb2bd10
PERF: Introducing HashTables for datatypes with 8,16 and 32 bits (#37…
realead 3d5e65d
BUG: Fix inconsistent ordering between left and right in merge (#37406)
phofl 1e21130
BUG: CategoricalIndex.where nulling out non-categories (#37977)
jbrockmendel 0823ed4
BUG: isin incorrectly casting ints to datetimes (#37528)
jbrockmendel 52a1725
BUG: IntervalArray.astype(categorical_dtype) losing ordered (#37984)
jbrockmendel 4c84e12
TST/REF: collect indexing tests by method (#38005)
jbrockmendel c2b1337
REF: ensure_arraylike in algos.isin (#38004)
jbrockmendel 3788d74
DOC: add a link to new styler method (#37998)
attack68 fe97aa2
TST/REF: collect tests from test_multilevel (#38006)
jbrockmendel fa0e405
CLN: avoid try/except in Index methods (#37990)
jbrockmendel 589a89e
CLN: remove panel compat shim (#37983)
fangchenli 25a1d91
[WIP] DOC: MultiIndex EX01 errors (#37993)
xinrong-meng 2c1e981
TST: add test to verify column does not lose categorical type when us…
fgebhart 20f7ffa
REGR: fix inplace operations for EAs with non-EA arg (#37986)
arw2019 24e881d
REF: Implement isin on DTA instead of DTI (#38012)
jbrockmendel c22e9d7
CLN: fix E741 ambiguous variable #34150 (#38009)
fangchenli caf751f
CLN: always pass ndim to make_block (#37991)
jbrockmendel f9a079a
CLN: Use new hashtables in libindex to avoid casting (#37994)
jbrockmendel e4cf3ab
Removed period to make it more consisent (#37995)
vineethraj510 3ba6cc6
TST/REF: collect Index.equals tests (#38011)
jbrockmendel a04a6f7
TST/REF: collect Index setops tests (#38019)
jbrockmendel 99376b3
TYP: Add cast to ABC classes. (#37902)
rhshadrach 7ceacb4
TST: Series construction from ExtensionDtype scalar (#37989)
arw2019 7368b2a
CLN/TYP: pandas/io/formats/excel.py (#37862)
ivanovmg 76216ba
REF: define DTA._infer_matches (#38008)
jbrockmendel de919ff
ENH: Styler column and row styles (#35607)
attack68 db0cd36
REF: prepare dataframe info for series info (#37868)
ivanovmg b19e47f
Revert "REF: back IntervalArray by a single ndarray (#37047)" (#38024)
jorisvandenbossche 1cc030e
Bug in loc raised Error when non-integer slice was given for MultiInd…
phofl 5f5350b
Bug in loc raising KeyError when MultiIndex columns has only one leve…
phofl 336cc6c
BUG: pytables in py39 (#38041)
jbrockmendel 61f67b6
DOC: add unqiue value counts example to groupyby guide (#37847)
Abo7atm 15b8898
Bug in DataFrame.loc returning elements in wrong order when indexer i…
phofl c6eb725
Implement DataFrame.__array_ufunc__ (#36955)
TomAugspurger 08913f8
DOC: Deprecate null_counts parameter of DataFrame.info (#37999)
hongshaoyang 2f1465f
TST/REF: collect Index formatting tests (#38050)
jbrockmendel d183436
BUG: algos.isin numeric vs datetimelike (#38020)
jbrockmendel 3967d83
DOC: Whatsnew 1.2.0 cleanup (#38002)
rhshadrach 03b9ad8
TST: parametrize test_info (#37887)
ivanovmg 6ef5b4b
CLN: remove ABCIndex (#38055)
jbrockmendel d8a2e74
ENH: Implement cross method for Merge Operations (#37864)
phofl 2863428
BUG: __getitem__ raise blank KeyError for IntervalIndex and missing k…
phofl 51750be
DOC: tidy 1.1.5 release notes (#38064)
simonjayhawkins 92586ba
PERF: fix regression in tz_convert_from_utc (#38074)
lidavidm 8b0af58
ENH: Add support for min_count keyword for Resample and Groupby funct…
phofl d203ef8
DOC: clarify docs related to deprecation of indexing DataFrame with s…
jorisvandenbossche 0787b53
BUG: pandas.DataFrame().stack() raise an error, while expected is emp…
steveya 42084f4
CLN: inconsistent namespace usage in tests.indexes (#38076)
jbrockmendel 5c73d99
CLN: Remove .values from groupby.sem (#38044)
rhshadrach 43fa160
DOC: Clean .ix references in indexing.rst (#38080)
topper-123 71bf9fa
REF: Share code between NumericIndex subclasses (#38027)
jbrockmendel 94179cd
CLN/TST: delegate StringArray.fillna() to parent class + add tests (#…
arw2019 27989a6
REGR: revert "CLN: _consolidate_inplace less" / fix regression in fil…
jorisvandenbossche d0afefa
BUG: NumericIndex.insert(0, False) casting to int (#38030)
jbrockmendel acdc94f
CLN: dont mix Int64Index into PeriodIndex (#38045)
jbrockmendel e9c91f1
DOC: Remove repeated words and wrong /it's/ usage (#38047)
eumiro 1fc5efd
ENH: adding support for Py3.6+ memory tracing for khash-maps (#38048)
realead 3391a34
CLN: fix flake8 C406, C409, and some of C408 (#38078)
fangchenli 07ca75a
REF: share argmax axis validation test across all indexes (#38049)
jbrockmendel 14e0d12
BUG: get_indexer_non_unique not excluding boolean like get_indexer (#…
jbrockmendel c26ac5d
TST/REF: take things out of Base tests (#38072)
jbrockmendel 760c2fa
TST: DataFrame.at on categorical with missing (#38085)
ma3da 78d1498
BLD/DOC: Use conda(-forge) compilers (#38084)
xhochy 090d6a1
ENH: preserve RangeIndex in factorize (#38034)
jbrockmendel fa999f3
BUG: raise consistent exception on slicing failure (#38077)
jbrockmendel fe87624
BUG: loc.setitem corner case (#37931)
jbrockmendel 109ae10
BUG: RangeIndex.difference with mismatched step (#38028)
jbrockmendel f15c4bc
BUG: MultiIndex.drop does not raise if labels are partially found (#3…
GYHHAHA 66c3c6f
TST: tighten assert_index_equal calls (#38054)
jbrockmendel ade94e5
CLN: pd. namespace in tests/window (#38095)
mroeschke 11a5a4b
[TST]: Add test for duplicate keys in concat (#36556)
phofl 45ac7da
PERF: replace_list (#38097)
jbrockmendel 5abc06f
PERF: Index.searchsorted (#38103)
jbrockmendel 19c5eea
BUG: loc.setitem with expansion expanding rows (#37932)
jbrockmendel 003c4a7
BLD: Only enable -Werror in the CI jobs (#38087)
xhochy 91abd0a
REGR: fix regression in groupby aggregation with out-of-bounds dateti…
jorisvandenbossche dfa9d6f
TST: rewrite convert_dtypes test to make it easier extendable (#38113)
jorisvandenbossche e8085a7
BUG: crosstab with duplicate column or index labels (#37997)
arw2019 1c26b1c
TST: Suppress http logs in tests (#38096)
mroeschke 25846e9
CLN: fix flake8 C408 part 2 (#38116)
fangchenli da5f914
TST: mark all plotting tests as slow (#38079)
ivanovmg ba2ae2f
CLN: remove unreachable in core.dtypes (#38128)
jbrockmendel 2d661a8
CLN: simplify mask_missing (#38127)
jbrockmendel d16df29
TYP: Add cast to ABC Index-like types (#38043)
rhshadrach 0bf58d8
DOC: add contibutors to 1.2.0 release notes (#38132)
simonjayhawkins 65319af
REF: IntervalIndex._assert_can_do_setop (#38112)
jbrockmendel ce0efe8
BUG: Series.at returning Series with one element instead of scalar (#…
phofl 22007d3
API: CategoricalIndex.append fallback to concat_compat (#38098)
jbrockmendel 8eca4b7
BUG: fix astype conversion string -> float (#37974)
mlondschien 7b400b3
ENH: add use_nullable_dtypes option in read_parquet (#31242)
jorisvandenbossche e99e5ab
BUG: Fix duplicates in intersection of multiindexes (#36927)
phofl 7070aae
BUG: merge_ordered fails with list-like left_by or right_by (#38089)
GYHHAHA eaa45cf
DOC: Add behavior for Index argument in DataFrame.loc (#38109)
hongshaoyang 224d2e8
REF: de-duplicate ndarray[datetimelike] wrapping (#38129)
jbrockmendel 1cb5f69
BUG: Index.intersection casting to object instead of numeric (#38122)
jbrockmendel 59710bc
CLN: remove unnecesary cast.maybe_convert_objects (#38144)
jbrockmendel 47d0da6
API: membership checks on ExtensionArray containing NA values (#37867)
topper-123 4a35f2d
ENH: include conversion to nullable float in convert_dtypes() (#38117)
jorisvandenbossche f65f0d3
DEPR: ExtensionOpsMixin -> OpsMixin (#38142)
jbrockmendel d98b37d
REF: use np.where instead of maybe_upcast_putmask in nanops (#38130)
jbrockmendel f04ec86
CLN: remove unreachable in maybe_cast_result (#38152)
jbrockmendel 2f41109
ENH: Improve performance for df.__setitem__ with list-like indexers (…
phofl 3f51060
CLN: remove unused coerce arg in NDFrame._convert (#38151)
jbrockmendel 93db57e
BUG: Categorical[dt64tz].to_numpy() losing tz (#38136)
jbrockmendel 066a16c
Revert "DEPR: ExtensionOpsMixin -> OpsMixin (#38142)" (#38158)
jorisvandenbossche 3902585
DOC: trim error traceback in allows_duplicate_labels whatsnew entry (…
jorisvandenbossche af48930
CLN: remove _recast_datetimelike_result (#38156)
jbrockmendel dda8c35
Revert "REF: define nanargminmax without values_for_argsort (#37815)"…
jorisvandenbossche aad85ad
BUG: combine_first does not retain dtypes with Timestamp DataFrames (…
arw2019 c29c176
API: preserve freq in DTI/TDI.factorize (#38120)
jbrockmendel 6301438
REF: remove unnecessary maybe_cast_result (#38165)
jbrockmendel c479d93
REF: more distinctive names for BaseGrouper.aggregate, transform (#38…
jbrockmendel ff78a02
Rewrite dict literal for files in tests/reshape/ (#38180)
skvrahul 450384e
fix frame, generic, series.py (#38169)
liudj2008 2a4d3fe
CI: update tests for numpy 1.20 change to floordiv (#38172)
jbrockmendel b1c68e7
change dict to literal (#38186)
Qbiwan 56b9a80
change dict to literal (#38188)
Qbiwan 03771a2
BUG: fix wrong error message in deprecated 2D indexing of Series with…
jorisvandenbossche a5eb94d
BUG/CLN: Minimize number of ResourceWarnings (#38168)
twoertwein 6d0dab4
PERF: fix regression in creation of resulting index in RollingGroupby…
jorisvandenbossche 5b2e162
BUG: preserve nullable dtype for float result in IntegerArray/Boolean…
jorisvandenbossche c2018c1
Revert "ENH: Improve performance for df.__setitem__ with list-like in…
simonjayhawkins 2a115d5
CI/TST: fix CI with numpy dev for changed error message / dev version…
jorisvandenbossche 43928e6
CI: xfail test_area_lim (#38212)
jbrockmendel 1829a61
BUG in Series.interpolate: limit_area/limit_direction kwargs with met…
arw2019 b3a3932
DEPR: Deprecate using `xlrd` engine for read_excel (#35029)
roberthdevries b36d539
DOC: fix redirects to user guide in README (#38189)
erictleung aed5dba
REF: IntervalIndex.intersection match pattern in other intersection m…
jbrockmendel 7e2aa42
BUG: name retention in Index.intersection (#38111)
jbrockmendel 8a15ae9
CLN: improve is_unique check in Index.intersection (#38154)
phofl b2f6b70
BUG: Avoid duplicates in DatetimeIndex.intersection (#38196)
phofl 044df8c
REF: implement _should_compare (#38105)
jbrockmendel e2564fd
DOC: Clarify development environment creation for documentation chang…
ooojpeg c4c1dc3
Using os.PathLike instead of pathlib.Path (#37979) (#38018)
Abhi-H 40ca2b9
REF: implement _ea_wrap_cython_operation (#38162)
jbrockmendel 909af8b
BUG: unexpected merge_ordered results caused by wrongly groupby (#38170)
GYHHAHA 0e52dbe
TST: add comment that plotting tests are slow (#38171)
ivanovmg b36048d
DOC: Fixed to_pickle compression argument list 'gzip' > 'gz' (#38192)
ooojpeg 155408c
Remove duplicate entry on series.rst (#38199)
vikramaditya91 6afcb69
TST: Added dataframe constructor tests confirming order is preserved …
jusexton b687883
change dict to literal (#38207)
Qbiwan 44f0e32
Rewrite dict literal for files in tests/groupby & ./pandas/tests/dtyp…
Qbiwan c64020d
Rewrite dict literal for files in ./pandas/tests/tools/ and ./pandas…
AbdulMAbdi 02caf7d
CI: pin pip to 20.2 on numpy-dev build (#38228)
jorisvandenbossche dffab1f
BUG: name attr in RangeIndex.intersection (#38197)
jbrockmendel 25ade6d
TST: tighten testing assertions (#38223)
jbrockmendel a48957b
Update Dockerfile to use conda-forge compilers (#38219)
xhochy 7757844
TST: add cases for nearest_workday and before_nearest_workday (#38215)
ivanovmg c184fde
Retain views with listlike indexers setitem (#38204)
jbrockmendel 4749fd6
BUG: DataFrame.idxmin/idxmax with mixed dtypes (#38195)
jbrockmendel 23cbc47
BUG: groupby.rank for dt64tz, period dtypes (#38187)
jbrockmendel efbcd68
ENH: support nanoseconds in Period constructor (#38175)
arw2019 58fca97
REF: avoid try/except in wrapping in cython_agg_blocks (#38164)
jbrockmendel 5fdf642
BUG: array-like quantile fails on column groupby (#38173)
GYHHAHA 4c8d66e
BUG: DataFrame.loc returning empty result with negative stepsize for …
phofl 73d0d34
BUG: Index.drop raising Error when Index has duplicates (#38070)
phofl cb04ad7
REGR: unstack on 'int' dtype prevent fillna to work (#38244)
simonjayhawkins bda4bc3
BUG: assert_frame_equal exception for datetime #37609 (#38157)
ssortman daa5942
REF: casting in _python_agg_general (#38235)
jbrockmendel 37ed7e4
REF: consolidate result-casting in _cython_operation (#38237)
jbrockmendel ff89f8f
restore (#38238)
jbrockmendel 70abd64
TST: setitem in presence of duplicate cols (#38241)
ivanovmg 65f0463
delete unused import (#38252)
arw2019 d419ab4
PERF: #37462 (#38248)
jbrockmendel 8ac84fa
TST: string representation of IntervalIndex (#38242)
arw2019 0cfb5e9
REF: simplify _cython_operation return (#38253)
jbrockmendel dbdc55c
TST: split unfocused groupby test (#38255)
jbrockmendel 142ca08
BUG: CategoricalDtype.__repr__ with RangeIndex categories (#38245)
jbrockmendel 5a13697
Rewrite dict call to literals (#38265)
mavismonica b58880c
C408 rewrite dict call to dict literals (#38263)
vmdhhh 6b21e3f
CLN: assorted cleanups (#38275)
jbrockmendel eeaf1a1
The error message for unsupported index on shift() could be more expl…
ZhihuiChen0903 11d0176
BUG: name retention in Index.difference corner cases (#38268)
jbrockmendel d6c6788
TST: fixturize unfocused test (#38284)
jbrockmendel 69021e3
REF: de-duplicate intersection methods (#38283)
jbrockmendel 9ea1031
ENH: implement _should_compare/_is_comparable_dtype for all Index sub…
jbrockmendel d2b7aa1
pandas/core/strings/accesory.py Unnecessary dict call - rewrite as a …
UrielMaD 3359286
Removing dict calls (#38276)
joao-zanutto 492806e
C408 fix (#38260)
gerardjorgensen e132d85
BUG: Validate drop_duplicates ignore_index argument for bool (#38277)
phofl 4699c2b
BUG: isin numeric vs string (#38279)
jbrockmendel b5233c4
BUG: DataFrame.apply with axis=1 and EA dtype (#38272)
jbrockmendel 5011a37
ENH: context-manager for chunksize/iterator-reader (#38225)
twoertwein fb5e57f
New dict call fixings #38138 (#38298)
UrielMaD 5b91feb
REF: move common arithmetic ops from Integer/FloatingArray to Numeric…
jorisvandenbossche ca3e351
REF: implement Groupby idxmin, idxmax without fallback (#38264)
jbrockmendel 03e5858
BUG: groupby.apply on the NaN group drops values with original axes r…
GYHHAHA 5020a61
Fix typo in melt value_name futurewarning (#38301)
fmaguire 7073ee1
TYP: @final in groupby (#38200)
jbrockmendel 5399c6d
BUG: Inserting array of same size with Series.loc raises ValueError (…
ma3da 122ae44
BUG: IntervalIndex.union with mismatched dtypes both empty (#38282)
jbrockmendel 22dbef1
TST: tighten xfails (#38309)
jbrockmendel 55e3bff
REGR: Groupby first/last/nth treats None as an observation (#38330)
rhshadrach 604ac48
REGR: Fix Index construction from Sparse["datetime64[ns]"] (#38332)
simonjayhawkins d34bd0b
DOC: 1.1.5 release date (#38318)
simonjayhawkins 0711b7a
CLN: dtypes.cast (#38327)
jbrockmendel 1db3aa2
CLN: fix C408 #38138 (#38320)
fangchenli 99c6116
Removed unnecessary dict calls (#38319)
Arun12121 007128c
TST: avoid skipping in frame arith test (#38310)
jbrockmendel 292da03
TST: share transform tests (#38304)
jbrockmendel 0aa598a
BUG: Fixes plotting with nullable integers (#32073) (#38014)
rkc007 0c004fc
CLN: remove now-unnecesary coerce_to_dtypes (#38321)
jbrockmendel 9310cb7
TYP/BUG: fix passing incorrect type to interpolate_1d (#38306)
jbrockmendel b23bba9
BUG: Clean intersection and fix resulting names when MultiIndex are e…
phofl 803bdd2
REF: simplify casting of scalars to array (#38313)
jbrockmendel b8acfc4
REF: avoid accessing private iloc methods (#38337)
jbrockmendel 0a0cf7b
TST: revert too-ambitious (#38345)
jbrockmendel 862cd05
TYP: datetimelike (#38307)
jbrockmendel 6a1305e
ENH: add "schema" kwarg to io.sql.get_schema method (#38146)
arw2019 da237dd
PERF: isin casting integers to object (#38346)
jbrockmendel 37f7bdc
DEPR: xlwt for writing excel files (#38317)
rhshadrach 5bfa653
ENH: use correct dtype in groupby cython ops when it is known (withou…
jbrockmendel 7688d3c
RLS: 1.2.0rc0
0f58702
Start 1.3.0
simonjayhawkins 0c32079
DOC: minor fixes to 1.2 release notes (#38361)
simonjayhawkins 8878ec6
CI: activate azure pipelines/github actions on 1.2.x (#38360)
simonjayhawkins 9b8f50b
TST: a weird bug with numpy + DataFrame with duplicate columns (#38354)
arw2019 45fb444
REF: call _ensure_valid_index inside _sanitize_column (#38349)
jbrockmendel 5cafae7
DOC: Start v1.3.0 release notes (#38359)
simonjayhawkins 3556865
REF: use lighter-weight casting function (#38322)
jbrockmendel d3e970b
DOC: add examples to insert and update generally (#37690)
erictleung 6ce9be6
BUG: item_cache invalidation (#38351)
jbrockmendel 9534c26
Removed unused strict struct member (#38348)
WillAyd 1ba3f3c
CLN: use with instead of try finally in io/stata.py (#38326)
fangchenli 523682f
DOC: sync xarray version (#38369)
fangchenli 54ac621
REF: implement Index._get_indexer (#38308)
jbrockmendel 32bebdb
TST: add message matches to pytest.raises in various tests GH30999 (#…
JoseNavy b3ed7f9
CLN: C408 Unnecessary dict call - rewrite as a literal #38138 (#38383)
UrielMaD 3aa8447
typo fixup (#38374)
jbrockmendel 6b5357a
CLN: fix C408 #38138 (#38385)
fangchenli 93f57e9
CLN: lighter-weight casting (#38377)
jbrockmendel 2ff1370
Corrected the grammar in Exception (#38216)
imaskm d932752
REF: consolidate NDFrame._iset_item, _set_item with DataFrame methods…
jbrockmendel ec8240a
Document Tips for Debugging C Extensions (#35100)
WillAyd 4be0ee8
TST: Add test to ensure Dataframe describe does not throw an error (#…
luckyvs1 cbe7f5b
TST: Update linting with black pandas formatting
luckyvs1 484c847
TST: Remove try except to catch error and fail test
luckyvs1 a50a7d3
TST: Remove unused pytest import
luckyvs1 246db34
Merge branch 'add-test-for-describe' of https://github.com/luckyvs1/p…
luckyvs1 85b4d47
Use Dataframe to reference pandas dataframe
luckyvs1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't need the try/except if it fails then pytest automatically raises.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the info, I've updated this PR and re-requested a review