-
Notifications
You must be signed in to change notification settings - Fork 300
Improve iris.pandas cube -> data.frame #4669
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
Merged
trexfeathers
merged 98 commits into
SciTools:pandas_ndim
from
hsteptoe:better-pandas-conversion-issue-4526
Nov 4, 2022
Merged
Changes from 19 commits
Commits
Show all changes
98 commits
Select commit
Hold shift + click to select a range
914d47b
Update as_data_frame()
hsteptoe 26be4a5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 5c2fe98
Minor typo fixes
hsteptoe 3bf85b2
Matching data raveling with dimension meshgrid
hsteptoe a0e280c
Revise test_simple to check long-syle dataframe
hsteptoe d41cbb6
Revise NaN and 1D dataframe tests
hsteptoe d8c5b40
Better pandas.MultiIndex solution
hsteptoe 03ded10
Add 3D test case
hsteptoe a46c08a
Fixes for cube with partially defined dims
hsteptoe 2df0af3
Update tests for partially defined dims
hsteptoe 1e0a5c8
Update time tests
hsteptoe 26cbcdf
Reuse _as_pandas_coord()
hsteptoe a7ce983
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 61b801a
Remove Series conversion
hsteptoe 071d07f
Remove option for copy
hsteptoe 2c20e87
Merge branch 'main' into better-pandas-conversion-issue-4526
hsteptoe 9bbada5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] e9d5d53
Merge branch 'SciTools:main' into better-pandas-conversion-issue-4526
hsteptoe 1df3072
First go at adding aux coords
hsteptoe 2c2ce69
First go at adding global attributes
hsteptoe 1c9fbff
Update doc string
hsteptoe ef55874
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 4f5ed98
Fix for time based AuxCoords
hsteptoe 4fb7631
Minor misc fixes
hsteptoe 332e260
Fix copy issue
hsteptoe eba020b
Fix black weirdness and add copy tests
hsteptoe 04d11a6
Fix conflicts
hsteptoe ce03290
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] abc8437
Add attributes test
hsteptoe 5785977
Name fixes
hsteptoe 3afe27f
Add AuxCoord test
hsteptoe a608e47
Improved aux coord indexing
hsteptoe 553417b
Blacking
hsteptoe 81d60ca
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a8efb0f
Preserve index on aux coord merge
hsteptoe f6e0f48
Simplify adding AuxCoords
hsteptoe 07d6d9b
Add assertRaises test for attributes
hsteptoe 8301caa
Better dim coord making logic
hsteptoe 03c3ee9
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 2afbe32
Updates to docstring
hsteptoe 08b61b5
Merge branch 'better-pandas-conversion-issue-4526' of github.com:hste…
hsteptoe 54c7300
Handle multidim AuxCoords
hsteptoe 0740273
Add handling for AuxCoords + scalar coord info
hsteptoe 329c2b1
Fix STASH attribute handling
hsteptoe 958ed28
Merge branch 'pandas_ndim' into better-pandas-conversion-issue-4526
hsteptoe c7a941f
Merge branch 'better-pandas-conversion-issue-4526' of github.com:hste…
hsteptoe 4551343
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 27b8419
Improve and simplify dim extraction
hsteptoe 6ea4970
Re-fix copy behaviour
hsteptoe 01b983d
Doc updates
hsteptoe c4470a7
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] a927388
Add Series example
hsteptoe 6f5cc5c
Merge branch 'better-pandas-conversion-issue-4526' of github.com:hste…
hsteptoe 4c2b46c
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7e48ee1
What's New update
hsteptoe b929f86
Add `as_series` depreciation warning
hsteptoe 3ac9072
Fix indent
hsteptoe 43c1846
flake8 fixes
hsteptoe bff3e3a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] c46192d
Fix deprecation warning
hsteptoe 8789478
Fix pytest styles
hsteptoe 38efc6b
Fix pytest styles
hsteptoe dcf1b7a
Minor syntax change to list
hsteptoe df7d24f
Update error style
hsteptoe 32917ed
Fix error type
hsteptoe 582ff69
Reinstate copy warning behaviour
hsteptoe eab743a
Add author link
hsteptoe 3b94276
Remove add_global_attribute code
hsteptoe bfe9b77
Further global attribute code removal
hsteptoe f85e284
Add instance checking test
hsteptoe a10449d
Improve _make_dim_coord_list efficiency
hsteptoe 11f324f
Correct list ouput
hsteptoe 31cc25b
Make tests more efficient
hsteptoe 3d1e2f5
Add scalar coordinate test
hsteptoe 78c1bc4
Docstring fixes
hsteptoe 09ed019
Refactor making of aux_coord_list
hsteptoe a544486
Fix type error
hsteptoe 99cb8c5
Add masked array -> nan warning in doc
hsteptoe afcfbef
Consolidate use of `_as_pandas_coord`
hsteptoe 5f995b0
Roll back breaking _make_dim_coord_list changes
hsteptoe a1d30bc
Raise error for Ancillary variables without dims
hsteptoe 5fff6a3
Ancillary variables tweaks
hsteptoe 2fcb9bb
Ancillary variables tests
hsteptoe 4e65380
Split out metadata for consistency with `as_cubes`
hsteptoe ea4502c
Add cell_measure tests
hsteptoe dcf8f63
Docstring fixes
hsteptoe f337c2d
Test kwarg fixes
hsteptoe 897973f
`_make_aux_coord_list` optimisation
hsteptoe b25648e
Refactor metadata merging
hsteptoe 213afb6
Roundabout :issue: fix (remove)
hsteptoe d39b052
Roundabout :issue: fix (re-add)
hsteptoe be4fee8
Docstring typo fixes
hsteptoe eca08e9
Fix doctests
hsteptoe 9432890
origin vs remote fixes
hsteptoe 6b1625d
Update docs/src/whatsnew/latest.rst
hsteptoe 3d5acc4
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 64447f8
Further doctest fixes
hsteptoe 9eff2a5
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.