You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: design_notes/flexible_indexes_notes.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ An `XarrayIndex` subclass must/should/may implement the following properties/met
71
71
- a `data` property to access index's data and map it to coordinate data (see [Section 4](#4-indexvariable))
72
72
- a `__getitem__()` implementation to propagate the index through DataArray/Dataset indexing operations
73
73
-`equals()`, `union()` and `intersection()` methods for data alignment (see [Section 2.6](#26-using-indexes-for-data-alignment))
74
-
- Xarray coordinate getters (see [Section 2.2.4](#224-implicit-coodinates))
74
+
- Xarray coordinate getters (see [Section 2.2.4](#224-implicit-coordinates))
75
75
- a method that may return a new index and that will be called when one of the corresponding coordinates is dropped from the Dataset/DataArray (multi-coordinate indexes)
76
76
-`encode()`/`decode()` methods that would allow storage-agnostic serialization and fast-path reconstruction of the underlying index object(s) (see [Section 2.8](#28-index-encoding))
77
77
- one or more "non-standard" methods or properties that could be leveraged in Xarray 3rd-party extensions like Dataset/DataArray accessors (see [Section 2.7](#27-using-indexes-for-other-purposes))
Copy file name to clipboardExpand all lines: doc/user-guide/pandas.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,7 +120,7 @@ Particularly after a roundtrip, the following deviations are noted:
120
120
121
121
- a non-dimension Dataset ``coordinate`` is converted into ``variable``
122
122
- a non-dimension DataArray ``coordinate`` is not converted
123
-
- ``dtype`` is not allways the same (e.g. "str" is converted to "object")
123
+
- ``dtype`` is not always the same (e.g. "str" is converted to "object")
124
124
- ``attrs`` metadata is not conserved
125
125
126
126
To avoid these problems, the third-party `ntv-pandas <https://github.com/loco-philippe/ntv-pandas>`__ library offers lossless and reversible conversions between
0 commit comments