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
Dillinger 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
from xampy 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')
if we want to seperate the data into genders 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')
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.0.tar.gz
(3.1 kB
view hashes)
Built Distribution
XamPy-0.1.0-py3-none-any.whl
(4.4 kB
view hashes)