On this page:
Datasets:   Dataframes and Matrices
9.3

Datasets: Dataframes and Matrices🔗ℹ

datasets contributors

Work in progress. This manual covers basic dataset loading and format conversion. The explanations and worked examples are still being expanded.

datasets brings small, attributed datasets into Racket programs. Start with load-iris or choose a dataset with load-dataset. The default result is a Polars dataframe; tables, matrices, and data-frame objects are available through the same loading interface.

The Guide is a practical introduction with evaluated examples. The Reference defines the loaders, selection rules, and conversion procedures. For the complete dataset catalog and the lightweight table API, see Datasets Core.

    1 Guide

      1.1 Installation and a first dataset

      1.2 Discovering datasets and selecting columns

      1.3 Grouping categorical data

      1.4 Handling missing observations

      1.5 Preparing a numeric matrix

      1.6 Using mutable data-frame objects

      1.7 Interpreting counts and time series

      1.8 Using core data in another package

    2 Reference

      2.1 Dataset loaders

        2.1.1 Named loaders

      2.2 Value representations

      2.3 Polars conversion

      2.4 Matrix conversion

      2.5 Data-frame conversion

    Index