8000 ENH: Hand numpy-like arrays with is_list_like by znicholls · Pull Request #39830 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

ENH: Hand numpy-like arrays with is_list_like #39830

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
wants to merge 30 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
10f1bde
PERF: is_list_like
jbrockmendel Feb 16, 2021
b8856be
typo fixup
jbrockmendel Feb 16, 2021
60e1008
isort fixup
jbrockmendel Feb 16, 2021
dda6588
isort fixup
jbrockmendel Feb 16, 2021
f36b11a
CLN: Better method of determining read-only status of openpyxl worksh…
rhshadrach Feb 15, 2021
b758123
TYP: tidy comments for # type: ignore (#39794)
simonjayhawkins Feb 15, 2021
ecf44fd
TYP: np.ndarray does not yet accept type parameters (#39792)
simonjayhawkins Feb 15, 2021
b190231
TYP: fix mypy errors in pandas/core/arraylike.py (#39104)
ivanovmg Feb 15, 2021
d7705e8
typing refactor (#39812)
attack68 Feb 15, 2021
8f48f22
[ArrayManager] Indexing - implement iset (#39734)
jorisvandenbossche Feb 15, 2021
fd1c797
DEP: bump min version of openpyxl to 3.0.0 #39603 (#39702)
fangchenli Feb 15, 2021
cc6597e
REF: Dispatch TimedeltaBlock.fillna to TimedeltaArray (#39811)
jbrockmendel Feb 15, 2021
b5b970f
REF: put Block replace methods together (#39810)
jbrockmendel Feb 15, 2021
f16e5fb
move validate_rst_title_capitalization to pre-commit (#39779)
MarcoGorelli Feb 15, 2021
c433dc3
API: transform behaves differently with 'ffill' on DataFrameGroupBy a…
ftrihardjo Feb 15, 2021
15ec5e3
TST: fixturize indexing intervalindex tests (#39803)
jbrockmendel Feb 15, 2021
d819f65
DOC: skip evaluation of code in v0.8.0 release notes (#39801)
afeld Feb 15, 2021
a1173dc
Regression in to_excel when setting duplicate column names (#39800)
phofl Feb 15, 2021
b77d3fa
DOC: Add reference to Text Extensions for Pandas project (#39783)
frreiss Feb 15, 2021
7238b95
REF: share DTBlock/TDBLok _maybe_coerce_values (#39815)
jbrockmendel Feb 15, 2021
5cbafe4
CI: upload coverage report to Codecov (#39822)
fangchenli Feb 15, 2021
f4de260
DOC: Ban mutation in UDF methods (#39762)
rhshadrach Feb 15, 2021
5092a07
CLN: remove redundant openpyxl type conversions (#39782)
ahawryluk Feb 15, 2021
6646f7c
TST/REF: split/collect large tests (#39789)
jbrockmendel Feb 15, 2021
46fb34c
CLN: Remove "how" return from agg (#39786)
rhshadrach Feb 15, 2021
126f406
DEPR: casting date to dt64 in maybe_promote (#39767)
jbrockmendel Feb 15, 2021
8a726f0
TST: split large tests (#39768)
jbrockmendel Feb 15, 2021
4ea0473
BUG: incorrectly accepting datetime64(nat) for dt64tz (#39769)
jbrockmendel Feb 16, 2021
6c13843
Update is_list_like
znicholls Feb 16, 2021
015e1e8
Add and pass tests
znicholls Feb 17, 2021
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
TYP: np.ndarray does not yet accept type parameters (#39792)
  • Loading branch information
simonjayhawkins authored and znicholls committed Feb 17, 2021
commit ecf44fdd51addaa2c0499a036b19eb6eed32323b
2 changes: 1 addition & 1 deletion pandas/core/algorithms.py
Original file line number Diff line number Diff line change
Expand Up @@ -2208,7 +2208,7 @@ def _sort_mixed(values):
return np.concatenate([nums, np.asarray(strs, dtype=object)])


def _sort_tuples(values: np.ndarray[tuple]):
def _sort_tuples(values: np.ndarray):
"""
Convert array of tuples (1d) to array or array (2d).
We need to keep the columns separately as they contain different types and
Expand Down
0