Generalised indexing

  • Using square brackets to index multidimensional array: X[<Indeces>];
  • Indeces: Index[,Index]+;
  • Index: {number|array|slice|mask|names};
  • Advanced indexing operatos similar to Pandas. E.g. .where, .isin, .query.
  • Attaching an index (flat or hierarchical) to a dimention;
  • Backends: Numpy, Pandas, H5Py

Numpy

References

  1. Basic Numpy indexing

Pandas

References

  1. Indexing and selecting data

RLang

  • Differentiation between vectors, matrices, lists and data frames;
  • Dollar sign operator - $;
  • Slicing and striding support, masks, negative indexing.
  • Extended operators: which, %in%, match.

References

  1. Indexing in R

PyTorch

  • Similar to Numpy

References

  1. Tensor indexing API