Giter Club home page Giter Club logo

scdf's Introduction

ctrldf

Documentation · Report a Bug · Demo . Request Feature · Send a Pull Request

Controller DF

A python library which creates a simple and easy to use data frame controller. Using this library, along with streamlit and minimal (included) code, anyone can spin up a web app which allows you to control, manipulate and display a data set quickly and easily.

Demo

  • Quick column metrics

  • Rapid column filter

  • Instant type based column widgets

Installation

$ pip install streamlit-controllerDF

Getting started

After you pip install the module

Batteries included method:

Quick start
  • Copy the included test_code.py contents
  • test_code here click me
  • Create a new python file and paste the contents of test_code.py into it
  • Name the file something you like and then:
$ streamlit run your_project.py 
  • Drag and drop csv file
  • Enjoy!

Batteries excluded method:

Module only
import streamlit_controllerDF as sc
  • see documentation for usage

Documentation

class streamlit_controllerDF.Widgets(dataframe, omit_columns=list())

Parameters:

  • dataframe: A pandas data frame
  • Two-dimensional, size-mutable, potentially heterogeneous tabular data.
  • omit_columns: A list of column names to be excluded
  • The column names must be exact

Example

import streamlit_controllerDF as sc
import pandas as pd

mydf = pd.read_csv('mycsv.csv')

ctrldf = sc.Widgets(mydf,omit_columns=['Engine_Size', 'Year'])

method streamlit_controllerDF.Widgets.metrics()

Parameters:

  • None

Example

import streamlit_controllerDF as sc
import pandas as pd

mydf = pd.read_csv('mycsv.csv')

ctrldf = sc.Widgets(mydf,omit_columns=['Engine_Size', 'Year'])

ctrldf.metrics()

Limitations

  • This library is currently limited to support only files under 20MB
  • Due to browser limitations only 12000 rows of data can be viewed at a time

To Do

This library is the base of a much larger project.

  • Create a chart method which will populate various charts automatically
  • Create a model method which will populate various ML models automatically
  • Add support for automated api data import
  • Add support for relational and non relational data bases
  • Add support for automated queries
  • Add support for big data
  • Create large file size detection and implement chunking automatically
  • Migrate from Pandas to Dask
  • After Dask migration remove file size limitation

Thank you for viewing my project sincerely

scdf's People

Contributors

joshjetson avatar

Stargazers

 avatar

Watchers

 avatar

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.