Skip to content

Commit

Permalink
Merge pull request #7 from cmmorrow/2.0.0
Browse files Browse the repository at this point in the history
2.0.0
  • Loading branch information
cmmorrow committed Jan 1, 2018
2 parents 82e2edc + c2d04b3 commit f0d425a
Show file tree
Hide file tree
Showing 91 changed files with 8,552 additions and 3,519 deletions.
4 changes: 3 additions & 1 deletion .cache/v/cache/lastfailed
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
{}
{
"sci_analysis/test/test_groupcorrelation.py::MyTestCase::test_pearson_correlation_different_alpha": true
}
81 changes: 24 additions & 57 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ sci_analysis/.idea/.name

sci_analysis.egg-info/top_level.txt

.idea/.name

.idea/.name

.idea/.name

.idea/.name

sci_analysis/.idea/encodings.xml

.idea/encodings.xml
Expand All @@ -38,64 +30,39 @@ sci_analysis/.idea/vcs.xml

sci_analysis/.idea/workspace.xml

build/lib/sci_analysis/__init__.py

build/lib/sci_analysis/analysis/__init__.py

build/lib/sci_analysis/analysis/analysis.py

build/lib/sci_analysis/data/__init__.py

build/lib/sci_analysis/data/data.py

build/lib/sci_analysis/data/vector.py

build/lib/sci_analysis/graphs/__init__.py

build/lib/sci_analysis/graphs/graph.py

build/lib/sci_analysis/old/scianalysis.py

build/lib/sci_analysis/operations/__init__.py
build/*

build/lib/sci_analysis/operations/data_operations.py

build/lib/sci_analysis/test/__init__.py

build/lib/sci_analysis/test/test.py

dist/sci_analysis-1.3.2-py2-none-any.whl

dist/sci_analysis-1.3.2.tar.gz

dist/sci_analysis-1.3.3.tar.gz
dist/*

*.whl

dist/sci_analysis-1.3.4.tar.gz

*.pyc

*.pyc

*.xml

sci_analysis/test/.coverage

*.pyc

.tox/*

sci_analysis/test/images/*.png

dist/sci_analysis-1.4.1.tar.gz

dist/sci_analysis-1.4.1.tar.gz

dist/sci_analysis-1.4.2.tar.gz

dist/sci_analysis-1.4.1.tar.gz

dist/sci_analysis-1.4.1.tar.gz

dist/sci_analysis-1.4.2.tar.gz
build_distro.sh
setup.cfg.old
build/lib/sci_analysis/test/test_analyze.py
build/lib/sci_analysis/test/test_anova.py
build/lib/sci_analysis/test/test_correlation.py
build/lib/sci_analysis/test/test_data_operations.py
build/lib/sci_analysis/test/test_equalvariance.py
build/lib/sci_analysis/test/test_graph_boxplots.py
build/lib/sci_analysis/test/test_graph_histo.py
build/lib/sci_analysis/test/test_graph_scatter.py
build/lib/sci_analysis/test/test_groupstatistics.py
build/lib/sci_analysis/test/test_kruskal.py
build/lib/sci_analysis/test/test_kstest.py
build/lib/sci_analysis/test/test_linregress.py
build/lib/sci_analysis/test/test_mannwhitney.py
build/lib/sci_analysis/test/test_normtest.py
build/lib/sci_analysis/test/test_statistics.py
build/lib/sci_analysis/test/test_ttest.py
build/lib/sci_analysis/test/test_twosampleks.py
build/lib/sci_analysis/test/test_vector.py
.DS_Store
build/lib/sci_analysis/test/test_linregress.py
42 changes: 24 additions & 18 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,28 @@
sudo: required
language: python
python:
- "2.7"
- "3.5"
- '2.7'
- '3.5'
- '3.6'
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- "sleep 3"
- "sudo apt-get install libatlas-base-dev gfortran"
- "mkdir $HOME/.matplotlib"
- "echo 'backend: TkAgg' > $HOME/.matplotlib/matplotlibrc"
# command to install dependencies
install:
# - "pip install numpy"
- "pip install scipy"
- "pip install pandas"
- "pip install matplotlib"
- "pip install six"
- "pip install pytest"
# command to run tests
script: py.test
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sleep 3
- sudo apt-get install libatlas-base-dev gfortran
- mkdir $HOME/.matplotlib
- 'echo ''backend: TkAgg'' > $HOME/.matplotlib/matplotlibrc'
install:
- pip install scipy
- pip install pandas
- pip install matplotlib
- pip install six
- pip install pytest
- pip install pytest-pep8
- pip install pytest-cov
- pip install coveralls
script: py.test --cov=sci_analysis --cov-report term-missing
after_success:
- coveralls
notifications:
slack:
secure: 1oz2HBPjjnU8d1H25SptO9061qah1vVu/zsE8uhWYCTsDPWBXhPIN732AtT2NmXMIQwB7fMBRTDv6jmGBpmMZc7FZcL9gC106LrHBip7np3LeogFBerGaC4T1NcwX3rNmZP34pUxpkk34Wrg+EbeGGk4ufevC3yOZqn2PXw6vXz1+169PcYFFmeaQUnloBY1cP5dZ9+N01XFL1lXjdUxwL9dqlTESz2r1i1cV5JMxTQxXA3SkDERzjmNCasvVWXCMWT6i1HDTDZXNAHBhMUHXtM579qJt4fLB7B83Fn3sxyVunPmcSU62GBZ3WbUPUtqmpnjAYAB45S+KaNExL72fXl9fFqfjcR2Sj7njQnMDQc6B4MwQi/yzm8TAaK0gZPSxCIB1IwP4vn6o+Tzugrsi0niH4R9TzgoBmrVA64d1x9zVrklYk3ze162NxHaFefqbTbBPulF+5xHCeR/lBZfAsKoEJoyCBBpot04e4tbIHAtgqiMPyv5kMICU3F6pBbNsoSuTb0Oju9yoGERQvS2xSn/dvhRd6A4qvOWPwV4oEXgR6z9Eb0PH/utAdCfO7cLGs55ynTCPOW5lnUn+jGQqhWL/ojtlPJUBwviELMgImqlUfhXtMpk7M7wDICWXN/jZXwhK0DW49JJq6yUaAq0WhABfdt416kz0o0+cDowM5k=
35 changes: 0 additions & 35 deletions README

This file was deleted.

28 changes: 21 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,39 @@
# sci-analysis
An easy to use python based data exploration and analysis tool by Chris Morrow
An easy to use and powerful python-based data exploration and analysis tool

## Current Version:
1.4 --- Released August 19, 2016
2.0 --- Released December 31, 2017

[![PyPI](https://img.shields.io/pypi/v/sci_analysis.svg)](https://pypi.python.org/pypi/sci_analysis)
[![PyPI](https://img.shields.io/pypi/format/sci_analysis.svg)](https://pypi.python.org/pypi/sci_analysis)
[![PyPI](https://img.shields.io/pypi/pyversions/sci_analysis.svg)](https://pypi.python.org/pypi/sci_analysis)
[![Build Status](https://travis-ci.org/cmmorrow/sci-analysis.svg?branch=master)](https://travis-ci.org/cmmorrow/sci-analysis)
[![Build Status](https://travis-ci.org/cmmorrow/sci-analysis.svg?branch=2.0.0)](https://travis-ci.org/cmmorrow/sci-analysis)
[![Coverage Status](https://coveralls.io/repos/github/cmmorrow/sci-analysis/badge.svg?branch=2.0.0)](https://coveralls.io/github/cmmorrow/sci-analysis?branch=master)

### What is sci-analysis?
sci-analysis is a python package for quickly performing statistical data analysis. It provides a graphical representation of the supplied data as well as the statistical analysis. sci-analysis is smart enough to determine the correct analysis and tests to perform based on the shape of the data you provide, as well as how the data is distributed.

Currently, sci-analysis can only be used for analyzing numeric data. Categorical data analysis is planned for a future version. The three types of analysis that can be performed are histograms of single vectors, correlation between two vectors and one-way ANOVA.
The types of analysis that can be performed are histograms of numeric or categorical data, bivariate analysis of two numeric data vectors, and one-way analysis of variance.

### What's new in sci-analysis version 1.4?
### What's new in sci-analysis version 2.0?

In version 1.4, sci-analysis was re-written to be more pythonic and to support python 3. A ton of new graphing options have been added histograms, scatter plots and oneway plots. Histograms can now display an accompanying cumulative distribution plot and fit lines to a specified distribution can be displayed on both the histogram and cumulative distribution plot. Scatter plots can now overlay density contour lines and display boxplot borders. Boxplots have been revamped and are now overlayed on top of a kernel density estimation, which provides a much better representation of distribution density. New tests have been added for comparing two distributions -- Student's T Test for normally distributed data, the Mann Whitney U Test for non-parametric data and the two-sample Kolmogorov-Smirnov Test for small non-parametric samples. The Kolmogorov-Smirnov Test has been added for determining goodness-of-fit to a specified distribution as well.
* In version 2.0, the code base was re-factored to use pandas as the internal data structure instead of numpy. This change shouldn't have a noticeable effect, but should lead to faster releases moving forward.
* Categorical data is now supported by passing in a single array of string values to the ```analyze``` function.
* Multiple scatter plots can now be shown on the same graph by passing in a *groups* argument.
* Oneway analysis can now be performed on stacked data by passing in all the data to the ```analyze``` function and an array of the corresponding groups using the *groups* argument.
* The function ```analyse``` was added as an alias to ```analyze```.

### Getting started with sci-analysis
The documentation on how to install and use sci-analysis can be found here:

http://sci-analysis.readthedocs.io/en/latest/
[http://sci-analysis.readthedocs.io/en/latest/](http://sci-analysis.readthedocs.io/en/latest/)


### Requirements
* Packages: pandas, numpy, scipy, matplotlib, six
* Supports python 2.7, 3.5 and 3.6

Bugs can be reported here:

[https://github.com/cmmorrow/sci-analysis/issues](https://github.com/cmmorrow/sci-analysis/issues)

56 changes: 56 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
============
sci-analysis
============

An easy to use and powerful python-based data exploration and analysis tool

---------------
Current Version
---------------

2.0 --- Released December 31, 2017

.. image:: https://img.shields.io/pypi/v/sci_analysis.svg
:target: https://pypi.python.org/pypi/sci_analysis
.. image:: https://img.shields.io/pypi/format/sci_analysis.svg
:target: https://pypi.python.org/pypi/sci_analysis
.. image:: https://img.shields.io/pypi/pyversions/sci_analysis.svg
:target: https://pypi.python.org/pypi/sci_analysis
.. image:: https://travis-ci.org/cmmorrow/sci-analysis.svg?branch=2.0.0
:target: https://travis-ci.org/cmmorrow/sci-analysis
.. image:: https://coveralls.io/repos/github/cmmorrow/sci-analysis/badge.svg?branch=2.0.0
:target: https://coveralls.io/github/cmmorrow/sci-analysis?branch=2.0.0

What is sci-analysis?
---------------------

sci-analysis is a python package for quickly performing statistical data analysis. It provides a graphical representation of the supplied data as well as the statistical analysis. sci-analysis is smart enough to determine the correct analysis and tests to perform based on the shape of the data you provide, as well as how the data is distributed.

The types of analysis that can be performed are histograms of numeric or categorical data, bivariate analysis of two numeric data vectors, and one-way analysis of variance.

What's new in sci-analysis version 2.0?
---------------------------------------

* In version 2.0, the code base was re-factored to use pandas as the internal data structure instead of numpy. This change shouldn't have a noticeable effect, but should lead to faster releases moving forward.
* Categorical data is now supported by passing in a single array of string values to the ``analyze`` function.
* Multiple scatter plots can now be shown on the same graph by passing in a *groups* argument.
* Oneway analysis can now be performed on stacked data by passing in all the data to the ``analyze`` function and an array of the corresponding groups using the *groups* argument.
* The function ``analyse`` was added as an alias to ``analyze``.

Getting started with sci-analysis
---------------------------------

The documentation on how to install and use sci-analysis can be found here:

http://sci-analysis.readthedocs.io/en/latest/

Requirements
------------

* Packages: pandas, numpy, scipy, matplotlib, six
* Supports python 2.7, 3.5 and 3.6

Bugs can be reported here:

https://github.com/cmmorrow/sci-analysis/issues

0 comments on commit f0d425a

Please sign in to comment.