Skip to content

A module for altering datasets formats made on top of Pandas

License

Notifications You must be signed in to change notification settings

TechLearnersInc/rubaialter

Repository files navigation

Rubaialter

A module for altering numerical dataset's formats, made on top of Pandas

https://img.shields.io/badge/build-beta-brightgreen https://img.shields.io/badge/license-MIT-green https://img.shields.io/static/v1?label=Created%20with%20%E2%9D%A4%EF%B8%8F%20by&message=TechLearners&color=red

Introduction

This module is written on top of Pandas to alter a numerical dataset into different formats quickly. From now, alteration of dataset formats is as exciting as writing a poem. So, write a poem and create magic with data, one step faster with this module.

rubaialter is a module that will perform conversions among these .csv ,.xlsx, .xls, .sqlite3 file formats using Pandas under the hood.

Example:

$ rubaialter dataset.xlsx --csv

pip install rubaialter will automatically create an executable script in your Scripts/ folder, so you should be able to simply:

$ rubaialter dataset.csv --xlsx

or even:

$ rubaialter *.csv --xlsx

You can type:

$ rubaialter -h

to obtain the following CLI:

usage: rubaialter.py [-h] [--csv] [--xls] [--xlsx] [--sqlite]
                     [--force] filenames [filenames ...]

A module for altering datasets formats made on top of Pandas

positional arguments:
filenames   .csv, .xls, .xlsx, .sqlite3

optional arguments:
-h, --help  show this help message and exit
--csv       Convert to csv
--xls       Convert to xls
--xlsx      Convert to xlsx
--sqlite    Convert to sqlite3
--force     Enable overwriting