Skip to content

A fast, powerful, flexible and easy to use open source data analysis and manipulation tool written in Rust

License

Notifications You must be signed in to change notification settings

Big-Bytes-Labs/fisher-rs

Repository files navigation

fisher-rs

Build Status Crates.io License

fisher-rs

fisher-rs is a Rust library that brings powerful data manipulation and analysis capabilities to Rust developers, inspired by the popular pandas library in Python. It aims to provide an intuitive and efficient way to work with structured data, making it easier to perform data wrangling, transformation, and analysis tasks in Rust projects.

fisher-rs is named in honor of Ronald A. Fisher, a pioneering statistician whose groundbreaking contributions have significantly shaped the field of statistics and data analysis. Fisher's innovative methodologies and concepts, including analysis of variance, maximum likelihood estimation, and the Fisher transformation, have played a vital role in modern statistical practices. Similarly, our library seeks to provide Rust developers with a set of tools inspired by Fisher's ideas, enabling them to efficiently manipulate and analyze data within the Rust programming ecosystem. Just as Fisher's work laid the foundation for statistical analysis, we hope fisher-rs will become an indispensable tool for data enthusiasts, researchers, and developers working with Rust.

Features

  • DataFrame: A two-dimensional, size-mutable, and heterogeneous data structure.
  • Series: A one-dimensional labeled array, capable of holding any data type.
  • Data Alignment: Automatic data alignment during operations for hassle-free analysis.
  • Powerful Data Manipulation: Perform filtering, grouping, aggregation, and more with ease.
  • Input/Output Support: Read and write data from/to various formats, such as CSV and JSON.

Getting Started

To use fisher-rs, you'll need Rust installed on your system. Add this library to your project by including it as a dependency in your Cargo.toml:

[dependencies]
fisher = "0.1.0"

Then, you can start using the library in your code:

use fisher_rs::prelude::*;

fn main() {
    // Create a DataFrame
    let mut df = DataFrame::new();
    df.add_column("name", Series::new(vec!["Alice", "Bob", "Charlie"]));
    df.add_column("age", Series::new(vec![25, 30, 22]));

    // Perform data manipulation
    let filtered = df.filter(df.column("age").gt(25));

    // Display the result
    println!("{}", filtered);
}

For more examples and detailed usage, check out the documentation.

Contributing

Contributions are welcome! If you'd like to contribute to fisher-rs, please follow the contribution guidelines.

License

This project is licensed under the MIT License.

About

A fast, powerful, flexible and easy to use open source data analysis and manipulation tool written in Rust

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages