A Data Science Package written in python.
Project description
XamPy
Links
Information
XamPy is a Data Science Package written in Python.
Features
- Simplifying the process of analyzing data
- User-Friendly command based sripting package
Packages Used
XamPy uses a number of open source projects to work properly:
- Pandas - Data manipulation tool for python
- Numpy - awesome tool for matrix/array mathmatics
- MatPlotLib - tool for graphing in python
Installation
pip install xampy
or
pip3 install xampy
Example Use cases
Reading in data from file path
import xampy as xp
path = 'C:\Users\User\Documents\Data\data.csv'
# using makeData() to read in data
data = xp.makeData(path)
# quick statistics and summary of the data at hand
xp.showInfo(data)
# removing white space from column names and insert an underscore
data = xp.renameCols(data,' ','_')
# splitting the data into numerical and nonnumerical sections
numerical,categorical = xp.dataTypeSplit(data)
# Counting nulls in the dataframe, prints the number of missing vals in the DF
xp.CountMissing(data)
# example column money (float) has missing values
data = xp.meanFill(data,'money')
# example column Gender (Binary or text) has missing values
data = xp.modeFill(data,'Gender')
- eq=equal
- gte=greater than equal to
- lte=less than equal to
- lt = less than
- gt = greater than
FOR STRINGS WE USE 'eq', for any numerical data we can use any comparrison #operator
males = xp.SubSetDf(data,'Gender','Male','eq')
females = xp.SubSetDf(data,'Gender','Female','eq')
Contributors and Contributions
IF YOU ARE A CONTRIBUTOR AND ARE NOT LISTED PLEASE EMAIL Max Paul or submit a new issue.
- Max Paul
- Lead Contributor/Founder
- Bachelor Of Science In Data Science from Bryant Unversity.
- Software engineer by day for TJX.
License
MIT
Free Software, Hell Yeah!
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
XamPy-0.1.2.1.tar.gz
(3.9 kB
view details)
Built Distribution
File details
Details for the file XamPy-0.1.2.1.tar.gz
.
File metadata
- Download URL: XamPy-0.1.2.1.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b20a58d6003abdedfd76024f6fa797a92b1c2f409013ade7e5041ad5e037116 |
|
MD5 | b5be61647b067b05c50b0c3047731908 |
|
BLAKE2b-256 | 8a2a58c839387da2e65d4775a682d3f713a5a60abe3185b8197cd8ea6478de71 |
File details
Details for the file XamPy-0.1.2.1-py3-none-any.whl
.
File metadata
- Download URL: XamPy-0.1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfb57aab0e9483a8f337faf9510a87303ec69a94c316b2313ec6b818d2e6abbb |
|
MD5 | f2aa037fce2ab275b4c8b4484fa1a986 |
|
BLAKE2b-256 | 7fa00c82a91b3bdf0404d89fade2ae0d73aff8579d3be3f93ff3bdb959779737 |