GithubHelp home page GithubHelp logo

klaerik / downcast Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deepak7376/downcast

0.0 1.0 0.0 41 KB

Reduce the pandas dataframe size automatically.

License: MIT License

Python 100.00%

downcast's Introduction

Downloads Downloads Downloads

downcast

Reduce the pandas dataframe size automatically.

This is the test perform on Jena dataset.

Installation

OS X , Windows & Linux:

pip install downcast

Usage example

This package is used the reduce the dataframe size without affecting the values. It find the max and min value in dataframe columns, based on these values it downcast the datatypes of that columns.

from downcast import reduce
import pandas as pd

# load your dataframe
df = pd.read_csv("PATH")
# reduce the size of dataframe
df = reduce(df) 

Development setup

For local development setup

git clone https://github.com/deepak7376/downcast
cd downcast
pip install -r requirements.txt

Release History

  • 0.0.8
    • CHANGE: added downloads stats
  • 0.0.7
    • CHANGE: Readme fixed
  • 0.0.6
    • CHANGE: Tested version
  • 0.0.5
    • CHANGE: work in progress

Meta

Deepak Yadav โ€“ @imdeepak_dky โ€“ [email protected]

Distributed under the MIT license. See LICENSE for more information.

https://github.com/deepak7376/downcast/blob/master/LICENSE

Contributing

  1. Fork it (https://github.com/deepak7376/downcast/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

References

https://www.kaggle.com/anshuls235/time-series-forecasting-eda-fe-modelling

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.