Data Science at Nushell
A rigorous, Nushell-first open curriculum for end-to-end data science in the Linux terminal. Featuring polyglot pipeline integration with Python, R, and specialized CLI machine learning engines inside a reproducible Docker environment.
English Edition
The English release of the curriculum, adapted with standard international computational statistics terminology. Ideal for English-speaking courses and global practitioners.
Spanish Edition
The original Spanish edition (Ciencia de Datos en Nushell). Complete 10-chapter curriculum with code examples, pipelines, and exercises.
Quickstart with Docker (`dsin`)
Every pipeline, script, and code block in the curriculum is 100% verified to run reproducibly inside the standalone kurokirasama/dsin:latest Docker container with pre-configured Nushell plugins, dataset mount points, and modeling engines.
Curriculum Structure
-
Chapter 1IntroductionThe terminal as a scientific laboratory, the Nushell structured data paradigm, and reproducible environments.
-
Chapter 2Software InstallationThe standalone
dsinDocker container, interactive setup, and environment verification. -
Chapter 3Nushell Fundamentals and Data StructuresTerminal introduction, shells vs. Nushell, strings, lists, records, tables, cell paths,
ttteditor, and Git. -
Chapter 4Programming and Creating Command-Line ToolsCustom commands (
def,export def), flags, strong typing, modules, Google Maps API, and R/Python integration. -
Chapter 5Data AcquisitionHTTP requests (
http get), decompression, Excel spreadsheets (.xlsx), SQLite databases (query db), and REST APIs. -
Chapter 6Data Cleaning and TransformationNative Nushell filtering, structural mutations, tabular reshaping, and the high-performance Polars plugin.
-
Chapter 7Exploratory Data Analysis and VisualizationDescriptive statistics (
math,polars summary), polyglot scripts (.R/.py), and in-terminal plotting withtimg. -
Chapter 8Serial and Parallel Data PipelinesSerial batching (
each), native concurrency (par-each), and GNUparallelorchestration. -
Chapter 9Polyglot Data ModelingDimensionality reduction (PCA, t-SNE, UMAP), clustering (K-Means/Hierarchical/DBSCAN/PAM), regression (VW, LightGBM, DuckDB OLS), and classification including neural networks (
ml-benchmark,skll,Rscript,python3→ Nushell tables). -
Chapter 10Conclusion: The Command Line as a Data Intelligence LaboratoryOSEMN synthesis in typed shells, software engineering rigor in statistical workflows, out-of-core and zero-copy Apache Arrow architectures, and production field guidelines.
Citation
If you cite or reference this work in research, teaching, or technical documentation, please use the corresponding citation:
Gómez Guzmán, L. (2026). Data Science at Nushell. https://kurokirasama.github.io/data_science_at_nushell/
Gómez Guzmán, L. (2026). Ciencia de datos en la terminal Linux con Nushell. https://kurokirasama.github.io/data_science_at_nushell/es/