-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: Added docs to clarify that MultiIndex.set_levels() interprets passed values as new components of the .levels attribute (#28294) #28797
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 1 commit
Commits
Show all changes
122 commits
Select commit
Hold shift + click to select a range
e8256cc
DOC: added docs for MultiIndex.set_levels (#28294)
hweecat d9130f2
edit set_levels docstring with additional examples
hweecat 46d88c1
CLN: Exception*2 in groupby wrapper (#28771)
jbrockmendel 1ef3637
TST: un-xfail 1 passing maybe_promote test (#28850)
jbrockmendel f625730
remove doc note about apply applying a function to the first element …
tlynch1315 c9b6261
TST: un-xfail 22 tests (#28856)
jbrockmendel 25b1859
TST: Improve compatibility with pypy error messages (#28844)
rlamy 29e56df
TST: Fix not-boxed maybe_promote test (#28852)
jbrockmendel acde02b
TST: fix 24 xfails in maybe_promote (#28833)
jbrockmendel 5122241
CLN: Assorted cleanups (#28848)
jbrockmendel df2e081
Clean up Abstract and Naming Definitions for GroupBy (#28847)
WillAyd 43687c0
DOC: Fix missing periods and non capitalized summary beginnings (#28858)
refactoriel 93183ba
fix unnecessary sort in pd.read_json and orient="index" (#28606)
KimDoubleB 71f8ab9
CLN: dont catch Exception in groupby var (#28883)
jbrockmendel 548f83d
CLN: dont catch on groupby.mean (#28878)
jbrockmendel 5cbd82b
CLN: assorted cleanups, remove unicode checks in cython (#28879)
jbrockmendel fcea0dc
No catching needed for median (#28873)
jbrockmendel 959a760
read_hdf closes HDF5 stores that it didn't open. (#28700)
kboone 4f97ca4
DOC: Fix commpiler typo in contributing.rst (#28891)
shaido987 9743154
TST: Fix maybe_promote floating non-boxed tests (#28880)
jbrockmendel 9a3e1ef
TST: Fix xfails for non-box maybe_promote on integer dtypes (#28864)
jbrockmendel eca6079
pandas.io.formats.style.Styler.set_table_attributes: Parameter attrib…
roshni-b 0c4404b
DOC: Fixed PR06 errors in pandas.api.extensions.ExtensionArray (#28885)
roshni-b de2e086
REF: simplify maybe_promote (#28899)
jbrockmendel d8f9be7
Fix typo (#28915)
KimDoubleB 230a61a
TYPING: lockdown test modules failing mypy (#28914)
simonjayhawkins fab2c90
CLN: simplify maybe_promote in float and complex cases (#28913)
jbrockmendel e1e51df
TYPING: errors reported by mypy 0.730 (#28910)
simonjayhawkins a4c92ca
clean tests/indexing/common.py (#28904)
topper-123 3954fa7
REF: use fused types for groupby_helper (#28886)
jbrockmendel 6241b9d
BUG: Allow all int types for merge (GH28870) (#28875)
jjlkant 0474c7f
TST: Fix 36 maybe_promote xfails wanting np.bytes_ instead of np.obje…
jbrockmendel 3fba92e
TYPING: fix type annotation for pandas.io.formats.format._binify (#28…
simonjayhawkins 894eac6
TST: add test coverage for maybe_promote (#23982)
h-vetinari 981299c
TST: Use fixtures instead of setup_method for index tests (#28865)
jschendel 7ea5c96
CLN: Exception (#28853)
jbrockmendel a31e160
CLN: assorted cleanups, mostly post-black fixups (#28857)
jbrockmendel 0748c91
DOC: PR06 docstring fixes (#28807)
tolaa001 54b1151
TST: Allow for multiple variables on the same line in docstring valid…
ChiefMilesEdgeworth d6b058d
CLN: try/except cleanups (#28939)
jbrockmendel c387a28
BUG: Avoid undefined behaviour when converting from float to timedelt…
siddhesh fad037e
Added note to 'contributing.rst file', telling users to append GH Iss…
S3rbane 4ade26b
REF: maybe_promote refactor/cleanup (#28897)
jbrockmendel 1e92886
API: Add various deprecated attributes to ._deprecated (#28805)
topper-123 56b2fd8
TST: Test pivot_table() with categorical data (#28803)
ryankarlos 25059ee
BUG: Need 'windows-1252' encoding for locale names. (#27368)
timcera f7d162b
DOC: disable nbsphinx including requirejs (#28940)
jorisvandenbossche 625c550
CLN: fix mypy errors in pandas/tests/extension/test_numpy.py #28926 (…
lukasbk 0eee324
TST: add test_series_any_timedelta for GH17667 (#28942)
rohitsanj 2931f02
PR06 doc string fixes (#28946)
tolaa001 04d7931
fix #28926 pandas\api\test_api.py mypy errors (#28935)
yogendrasoni 06a6b49
Eliminated _WriterBase class, removed unused fixtures from methods in…
dayoreke 851ca1a
Fix mypy errors for pandas\tests\* #28926 (test_algos.py) (#28960)
lrm25 18a9e4c
DOC: Fixed PR08 and PR09 docstring errors in pandas.Series (#28845)
jb8429 2f80feb
BUG: Partial fix for docstring validation for parameters (#28765)
ChiefMilesEdgeworth 5b0bf23
DOC: fix formatting in the ExtensionArray docstrings (#28686)
HughKelley 8c5941c
BUG: use EA.astype in ExtensionBlock.to_native_types (#28841)
jorisvandenbossche 97c6567
Document 3.8 compatibility (#28982)
TomAugspurger 80412cc
CI: 3.8 build (#28730)
jbrockmendel c65cfb6
remove unnecessary get_value_at calls (#28977)
jbrockmendel 3eca505
add types tot rank_1d_, rank_2d (#28978)
jbrockmendel 3b34368
CLN: Exception in _libs (#28967)
jbrockmendel 125739f
CLN: pandas-dev#28926 Fix pandas/tests/tseries/offsets/test_offsets_p…
aaditya-panik 6dc53bb
CLN: pandas-dev#28926 Fix mypy errors in pandas/tests/io/parser/conft…
aaditya-panik 19c8fad
DOC: 0.25.2 whatsnew cleanup (#29000)
TomAugspurger 8d3fec9
DOC: fix is_scalar documentation (#28998) (#29004)
andreasbuhr 74bbbb0
Setuptools CI fixup (#29010)
TomAugspurger de67bb7
CLN: Fix mypy errors in pandas/tests/io/test_sql.py Reverted and adde…
aaditya-panik d52850f
DOC: Reference level name as Term of HDFStore.select query (#28791) (…
nrebena 0a108f0
CLN: move small bits outside of try/excepts (#28962)
jbrockmendel c903e5e
CLN: Consistent and Annotated Return Type of _iterate_slices (#28958)
WillAyd b632ca0
restore xfail (#29013)
jbrockmendel 79a5f7c
To html encoding add (#28692)
a0d01b8
add uint64 support for some libgroupby funcs (#28931)
jbrockmendel 86e187f
BUG: CategoricalIndex allowed reindexing duplicate sources (#28257)
batterseapower 46e89b0
Separate MultiIndex names from levels (#27242)
topper-123 5ad908e
DOC: fix code-block in the reshaping docs (#28838)
oktaysabak fdc322a
CLN: Fix mypy error in pandas/tests/computation/test_eval.py (#29007)
immaxchen b63f829
CLN: Clean DirNameMixin (#28957)
topper-123 bff90a3
REF: de-duplicate groupby_helper code (#28934)
jbrockmendel 30a0e2e
CLN: fix mypy error pandas/tests/plotting/test_backend.py (#29016)
saska 143eb38
REF: re-raise AssertionError unchanged (#28959)
jbrockmendel 9486f04
tests/indexing/test_coercion.py typefix (#28990)
lukasbk da3d0d9
DEPR: remove previously-deprecated broadcast/reduce kwargs from DataF…
jbrockmendel 9d45934
BUG: Fix TypeError in _cython_agg_blocks (#29035)
jbrockmendel 509eb14
CI: xfail on numpy 1.18 (#29057)
jbrockmendel 6d35836
Stop catching TypeError in groupby methods (#29060)
jbrockmendel b0f33b3
API: Restore getting name from MultiIndex level (#29061)
TomAugspurger 709436d
fixed issue of mypy for test_ujson (#29022)
iamrajhans f556a71
CLN: derivation of nogil param (#29047)
jbrockmendel 827440a
REF: remove groupby_helper (#29040)
jbrockmendel 1e4fe0a
ENH: Informative dtype message for for assert_series_equal (#28993)
moi90 2683954
TST: add regression test for all-none-groupby (#29067)
crepererum 45dc6d3
Fix mypy errors for pandas\tests\*: test_convert_to.py (#28965)
lrm25 58d34d9
CLN: catch less in groupby (#29077)
jbrockmendel e54b995
CLN: simplify take_2d_multi (#29065)
jbrockmendel 2701f52
REF: use fused types in algos_rank_helper (#29044)
jbrockmendel 09a9f5f
DOC: updated categorical docstring (#29068)
javad94 b372ac4
CLN: tighten exception catching in indexes (#29078)
jbrockmendel 09fc1b4
explain set_levels().levels examples + formatting
hweecat 5bdd7db
explain set_levels().levels examples + formatting
hweecat 9c4a371
[#22550] Remove TestData from series-tests test_quantile.py (#29096)
SaturnFromTitan d186f77
Merge branches 'docfix-multiindex-setlevels' and 'docfix-multiindex-s…
hweecat a2f5ae2
comments, catch less (#29088)
jbrockmendel cb99e24
REF: remove algos_rank_helper (#29086)
jbrockmendel 930dd84
CLN: Exception in DataFrame._reduce (#29085)
jbrockmendel 7c8c8c8
[#22550] Remove TestData from series-tests test_operators.py (#29084)
SaturnFromTitan e4afa45
TST: 2d index when constructing dataframe (#25416). (#29083)
jhereth cb76dcb
TST: regression test for groupby with datetime and timedelta (#15562)…
jhereth 6931051
CLN: cython and docstring cleanups (#29089)
jbrockmendel 04893a9
BUG: parse_time_string failing to raise TypeError (#29098)
jbrockmendel 971d191
explain set_levels().levels examples + formatting
hweecat 8ccc7c7
formatting changes
hweecat 36803b9
formatting changes
hweecat e623f0f
Add a regression test for the timezone issue (#29097)
grigoriosgiann d2d8785
Fix typing errors (#29115)
AbhijeetKrishnan 9f03837
Fix typing errors (#29114)
AbhijeetKrishnan 9026a79
DOC: added docs for MultiIndex.set_levels (#28294)
hweecat 4f5e38d
edit set_levels docstring with additional examples
hweecat c00cc9d
explain set_levels().levels examples + formatting
hweecat 211574b
explain set_levels().levels examples + formatting
hweecat 93c84bb
Merge branch 'docfix-multiindex-setlevels' of https://github.com/hwee…
hweecat 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.
I would rather just edit the actual set_levels doc-string with examples. This is too much for the main docs (and not generally what someone would want).
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.
Good point. I've edited the docstring for set_levels instead - let me know if you have any ideas on how we could improve the explanation.