GithubHelp home page GithubHelp logo

wireservice / agate Goto Github PK

View Code? Open in Web Editor NEW
1.2K 41.0 153.0 2.49 MB

A Python data analysis library that is optimized for humans instead of machines.

Home Page: https://agate.readthedocs.io

License: MIT License

Python 77.55% Jupyter Notebook 22.45%

agate's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

agate's Issues

Table.group

Should output an dict of tables

Should take a function name that returns a grouping key

Table.remove_column

Should have a way to create a new table from a subset of columns of an existing table. What is the API for this? What is it called? subset? part? subtable?

Table.find

Find the first row that satisfies the criteria

Table.rank

Table.rank(self, func)

func returns a value, these values are compared to generate a rank IntColumn.

Optional sort_by_rank param?

Tests failing due to float precision issues

FAIL: test_median (tests.test_columns.TestFloatColumn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/onyxfish/src/journalism/tests/test_columns.py", line 191, in test_median
    self.assertEqual(self.table.columns['two'].median(), 2.805)
AssertionError: 2.8049999999999997 != 2.805

======================================================================
FAIL: test_sum (tests.test_columns.TestFloatColumn)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/onyxfish/src/journalism/tests/test_columns.py", line 177, in test_sum
    self.assertEqual(self.table.columns['two'].sum(), 10.71)
AssertionError: 10.709999999999999 != 10.71

Column.frequency

Stubbed as freq, but should be spelled. Returns a dict, I guess? Or a Table?

Append columns to Table

How should this work? Operator overloading? Function call? What sort of validation do we need?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.