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
* added align, broadcast,merge, concatenate, combine
* examples added
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* changes made
* add changes
* .
* .
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* changes done
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
* Update doc/user-guide/terminology.rst
Co-authored-by: Tom Nicholas <[email protected]>
---------
Co-authored-by: Tom Nicholas <[email protected]>
Lazily-evaluated operations do not load data into memory until necessary.Instead of doing calculations
226
+
right away, xarray lets you plan what calculations you want to do, like finding the
227
+
average temperature in a dataset.This planning is called "lazy evaluation." Later, when
228
+
you're ready to see the final result, you tell xarray, "Okay, go ahead and do those calculations now!"
229
+
That's when xarray starts working through the steps you planned and gives you the answer you wanted.This
230
+
lazy approach helps save time and memory because xarray only does the work when you actually need the
231
+
results.
232
+
233
+
labeled
234
+
Labeled data has metadata describing the context of the data, not just the raw data values.
235
+
This contextual information can be labels for array axes (i.e. dimension names) tick labels along axes (stored as Coordinate variables) or unique names for each array. These labels
236
+
provide context and meaning to the data, making it easier to understand and work with. If you have
237
+
temperature data for different cities over time. Using xarray, you can label the dimensions: one for
238
+
cities and another for time.
239
+
240
+
serialization
241
+
Serialization is the process of converting your data into a format that makes it easy to save and share.
242
+
When you serialize data in xarray, you're taking all those temperature measurements, along with their
243
+
labels and other information, and turning them into a format that can be stored in a file or sent over
244
+
the internet. xarray objects can be serialized into formats which store the labels alongside the data.
245
+
Some supported serialization formats are files that can then be stored or transferred (e.g. netCDF),
246
+
whilst others are protocols that allow for data access over a network (e.g. Zarr).
247
+
248
+
indexing
249
+
:ref:`Indexing` is how you select subsets of your data which you are interested in.
250
+
251
+
- Label-based Indexing: Selecting data by passing a specific label and comparing it to the labels
252
+
stored in the associated coordinates. You can use labels to specify what you want like "Give me the
253
+
temperature for New York on July 15th."
254
+
255
+
- Positional Indexing: You can use numbers to refer to positions in the data like "Give me the third temperature value" This is useful when you know the order of your data but don't need to remember the exact labels.
256
+
257
+
- Slicing: You can take a "slice" of your data, like you might want all temperatures from July 1st
258
+
to July 10th. xarray supports slicing for both positional and label-based indexing.
0 commit comments