Skip to main content

Improved tools for data scientists

Project description

bring-order

GitHub Actions codecov GitHub

The BringOrder tool is aimed at guiding data scientists with their analysis using custom widgets inside Jupyter Notebook.

The first step is to import and prepare data for analysis, and to identify data limitations. If the data set is loaded from a CSV file, BringOrder checks automatically if the variables are normally distributed and offers an option to check if selected variables are independent.

After the data preparation phase, there are two analysis paths that the user can choose from: hypothesis testing or explorative analysis. Testing a hypothesis includes summarizing theory for context, formulating the hypotheses, running some analysis code, and drawing a conclusion.

The explorative analysis starts with stating preconceptions and ends with evaluating the analysis with respect to those preconceptions. In between, the user should run some analysis code and write some notes about their observations. To help the user with writing code, BringOrder provides the possibility to use OpenAI's ChatGPT inside Jupyter Notebook through an API connection.

As a result, BringOrder produces a structured notebook where all the steps are documented in Markdown. The user also has the option to save a PowerPoint presentation template of the analysis and to export the notebook to a PDF file.

Documentation

Installation

Installation from PyPi

Linux

  • If you don't have Jupyter Notebook installed, install it with
    pip install notebook
  • If you don't have ipywidgets installed, install it with
    pip install ipywidgets
  • If you have an old version of ipywidgets installed, upgrade it with
    pip install --upgrade ipywidgets
  • Install bring-order extension:
    pip install bring-order

Windows

  • If you don't have PIP installed, it is recommended to use Anaconda environment

  • Install Anaconda with Anaconda download

  • Use Anaconda Powershell prompt instead of regular Powershell or Command prompt

  • Install bring-order extension:

    pip install bring-order

MacOS

  • If you don't have ipywidgets installed, install it with
    python3 -m pip install "ipywidgets"
  • If you have an old version of ipywidgets installed, upgrade it with
    python3 -m pip install --upgrade ipywidgets
  • Install bring-order extension:
    python3 -m pip install "bring-order"

Usage

  • Open Jupyter Notebook with
    jupyter notebook
  • In Jupyter Notebook execute
    from bring_order import BringOrder
    BringOrder()

A more detailed user manual can be found in the User Guide

Development and Testing

Links to development documentation

Architecture

Testing report

Suggestions for improvements

Dependencies

  • Clone the project and install dependencies in the main folder
    poetry install
  • Navigate to main folder and go to the virtual environment
    poetry shell

Testing

Run unit tests

    pytest tests

or use Invoke

    invoke tests

or generate Covegare report

    invoke coverage

Run style check

    pylint bringorder

or use Invoke

    invoke lint

Run robot tests

    ./run_robot_tests.sh

or use Invoke

    invoke robottests

Run pylint, unit tests, and robot tests at once

invoke alltests

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bring_order-1.0.1.tar.gz (12.8 MB view details)

Uploaded Source

Built Distribution

bring_order-1.0.1-py3-none-any.whl (12.8 MB view details)

Uploaded Python 3

File details

Details for the file bring_order-1.0.1.tar.gz.

File metadata

  • Download URL: bring_order-1.0.1.tar.gz
  • Upload date:
  • Size: 12.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bring_order-1.0.1.tar.gz
Algorithm Hash digest
SHA256 95501f4d950feafc72fb8ee8df20faf1fffa2f5a48b39da8a6c59f436eeaa335
MD5 9c538acbc96dfd18406cbc9a51da60b8
BLAKE2b-256 3a3b6ee6b8d84c952363a3d48c1e5f75caa7308f05268323eac1ec2fe220b6ed

See more details on using hashes here.

File details

Details for the file bring_order-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: bring_order-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 12.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for bring_order-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 58c2c5ae8bfa877e221d2f75a84a092a9f16c84e6149bf4cf497333819bcbe0a
MD5 699afe08389b5d4de2e5a56a29d861e4
BLAKE2b-256 262eaf24e9bb031ad65c2ce30430bc5ad58b3395d298036bfa163f7653689099

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page