ankane / ruby-polars
Blazingly fast DataFrames for Ruby
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing ankane/ruby-polars in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler viewRuby Polars 🔥 Blazingly fast DataFrames for Ruby, powered by Polars Installation Add this line to your application’s Gemfile: Getting Started This library follows the Polars Python API. You can follow Polars tutorials and convert the code to Ruby in many cases. Feel free to open an issue if you run into problems. Reference • Series • DataFrame • LazyFrame Examples Creating DataFrames From a CSV From Parquet From Active Record From JSON From Feather / Arrow IPC From Avro From Iceberg (experimental, requires iceberg) From Delta Lake (experimental, requires deltalake-rb) From a hash From an array of hashes From an array of series Attributes Get number of rows Get column names Check if a column exists Selecting Data Select a column Select multiple columns Select first rows Select last rows Filtering Filter on a condition And, or, and exclusive or Operations Basic operations Rounding Logarithm Exponentiation Trigonometric functions Hyperbolic functions Summary statistics Grouping Group Works with all summary statistics Multiple groups Combining Data Frames Add rows Add columns Inner join Left join Encoding One-hot encoding Conversion Array of hashes Hash of series CSV Parquet JSON Feather / Arrow IPC Avro Iceberg (experimental) Delta Lake (experimental) Numo array Types You can specify column types when creating a data frame Supported types are: • boolean - • decimal - • float - , , • integer - , , , , • unsigned integer - , , , , • string - , , • temporal - , , , • nested - , , • other - , , , Get column types For a specific column Cast a column Visualization Add Vega to your application’s Gemfile: And use: Supports , , , , , and plots Group data Stacked columns or bars Plot a series Supports , , and plots History View the changelog Contributing Everyone is encouraged to help improve this project. Here are a few ways you can help: • Report bugs • Fix bugs and submit pull requests • Write, clarify, or fix documentation • Suggest or add new features To get started with development: