Giter Site home page Giter Site logo

wireservice / agate Goto Github PK

View Code? Open in Web Editor NEW
1.2K 1.2K 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 Introduction

wireservice

Name Badges
agate Docs CI Coverage Lint PyPI PyPI downloads
agate-charts Docs CI Coverage Lint PyPI PyPI downloads
agate-dbf Docs CI Coverage Lint PyPI PyPI downloads
agate-excel Docs CI Coverage Lint PyPI PyPI downloads
agate-lookup Docs CI Coverage Lint PyPI PyPI downloads
agate-remote Docs CI Coverage Lint PyPI PyPI downloads
agate-sql Docs CI Coverage Lint PyPI PyPI downloads
agate-stats Docs CI Coverage Lint PyPI PyPI downloads
csvkit Docs CI Coverage Lint PyPI PyPI downloads
leather Docs CI Coverage Lint PyPI PyPI downloads
proof Docs CI Coverage Lint PyPI PyPI downloads

agate's People

Contributors

castorf avatar chrislkeller avatar dotlambda avatar eads avatar ejmurra avatar fgregg avatar flother avatar ghisvail avatar jamim avatar jheasly avatar jpmckinney avatar lcorbasson avatar mickaobrien avatar milafrerichs avatar nbedi avatar onyxfish avatar palewire avatar paulfitz avatar r0f1s avatar r0fls avatar rdmurphy avatar sandyp avatar scottgigante avatar skorasaurus avatar taurusolson avatar thejefflarson avatar timgates42 avatar tonypapousek avatar tylerfisher avatar wpdavis avatar

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

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?

Table.find

Find the first row that satisfies the criteria

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?

Append columns to Table

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

Table.rank

Table.rank(self, func)

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

Optional sort_by_rank param?

Table.group

Should output an dict of tables

Should take a function name that returns a grouping key

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.