A array based way of dealing with csv files
Project description
coalas
Overview
This aims to be the simplest way of handling CSV files.
I was pissed off with how pandas handled data, so I think I am going to make my own. Also pandas has a data limit of 50MB which is kinda stupid I may also be using it wrong. But anyways this is limited to the ram in your computer so have fun.
Install
pip install coalas
Upgrade
pip install coalas --upgrade
Use
At the begging of your file import the data using the function
from coalas import csvReader as c
c.importData("filename")
c.printAll()
This will bring all the data from your CSV and init them to arrays with that are named after your headers.
Example: If I have a csv file like this:
foo,bar,biz
james,lars,kirk
john,paul,george #sorry ringo
gilmour,barret,waters
after importing the data you will get the arrays:
foo = ['james', 'john', 'gilmour']
bar = ['lars', 'paul', 'barret']
biz = ['kirk', 'george', 'waters']
You can the mutate the state of the arrays with normal python functionality or for more CSV specific functions use the function detailed in the wiki page
Contributing
Thank you for wanting to contribute, please look at the todo file for task that remain unfinished, or audit the code. In general use your rational judgment, don't submit anything malicious or project breaking, I or any maintainers will check. Don't be afraid to do anything radical or delete large swaths of code, take risks and innovate.
The only requirement I will set is that you write a log of your work in the log.md
file. Follow the format. This must be done before and after every session. While this might seem tedious and monotonous, it allows me other to acknowledge the effort you have put it to helping the open source community. It as also fun to go back read anecdotes and relive the pain or jubilation the past.
Thanks
Thanks to @Stelercus for the name, had to change it to coalas
instead of koalas
because koalas
wass already taken
Donate
Eth: 0xc7AfE4114E3b78cB22Ec7EbDA11AD40199a9Cb96
Cardano: addr1q85kef4y4zx4lyxyuq3wgec3nddn53wv6nmydrc6eyx5l47jdatz0hja95dudtxclcjp8ejkthl6hl5xjfregk9lllrs8um6c0
Info
email (business) : me@danielokita.com
twitter : @theArctesian
discord : 0xArctesian#8968
telegram : @TheArctesian
signal : @Arctesian
PSA!!
This project is licensed under GPL-3. If you have a problem with it cry about it. In short, any fork of this project must maintain the license and adhere to the 4 essential freedoms of free software as listed by the FSF.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file coalas-0.0.9.tar.gz
.
File metadata
- Download URL: coalas-0.0.9.tar.gz
- Upload date:
- Size: 17.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 868003256f7072e951911d2d730833758637954990d4b5892394f0b3af5a6080 |
|
MD5 | cf7c68ff00772ec430d186f59912e022 |
|
BLAKE2b-256 | 2d681fdf0267cb75026ca763d9c98adeac8e4a7144aaf255497a1670873897aa |
File details
Details for the file coalas-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: coalas-0.0.9-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 758ecc3b753c2b79efd7cf5250599fedc759727b15bd2c2acfe19f6b99d6ee6e |
|
MD5 | 3d7058f8196cee8e69784e2a72917a76 |
|
BLAKE2b-256 | bd9da5e02b071ddac51bb440d39adabc87e33479162a2a7d800313500927c4e0 |