Skip to main content

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')

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


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.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

XamPy-0.1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file XamPy-0.1.1.tar.gz.

File metadata

  • Download URL: XamPy-0.1.1.tar.gz
  • Upload date:
  • Size: 3.1 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

Hashes for XamPy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 88c02e2943b1e41c9667dd8dc6bedb2c2a0c40b75baf45f5123a69128f496c99
MD5 a8a33045d0b59afb8f21d4d163f93fdb
BLAKE2b-256 feda4e8ec2f0fad2fd7df4b9350d0749e2a6075921f28448dc7b9983a265b4fc

See more details on using hashes here.

File details

Details for the file XamPy-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: XamPy-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 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

Hashes for XamPy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 beabde8445bcce4a4693651589161c806bc87533165e63e7b3e5397fa6358579
MD5 5939122d40b93270942205174088cee5
BLAKE2b-256 c31ea9e4656a91b52ff2b290503b298683d35329e2d85fc64ac62c175f8cb699

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page