Skip to main content

Python library for simplifying slicing science

Project description

Atlantis

Atlantis is a Python library for simplifying programming with Python for data science.

Installation

You can just use pip to install Atlantis:

pip install atlantis

Modules

  • collections helps with working with collections.
  • colour simplifies using colours.
  • ds (datascience) provides tools for:
    • data wrangling,
    • validation,
    • tuning,
    • sampling,
    • evaluation,
    • clustering, and
    • parallel processing of machine learning models.
  • functions manages higher order functions.
  • hash simplifies and standardizes hashing.
  • text makes working with texts and strings easy.
  • time
    • provides methods for interacting with time and date as well as
    • progress bars

collections

This module of the package atlantis helps with working with collections.

flatten

from atlantis.collections import flatten
flatten([1, 2, [3, 4, [5, 6], 7], 8])

returns: [1, 2, 3, 4, 5, 6, 7, 8]

List

This class inherits from Python's list class but implements a few additional functionalities.

from atlantis.collections import List
l = List(1, 2, 3, 4, 2, [1, 2], [1, 2])

Flattening:

l.flatten()
>>> List: [1, 2, 3, 4, 2, 1, 2, 1, 2]

Finding duplicates:

l.get_duplicates()
>>> List: [2, List: [1, 2]]

Note: the list elements of a List automatically get converted to Lists, recursively.

ds (Data Science)

This module provides data science tools for:

  • data wrangling,
  • validation,
  • tuning,
  • sampling,
  • evaluation,
  • clustering, and
  • parallel processing of machine learning models.

KMeans Clustering

I have used the KMeans class from both sklearn and that of pyspark and was frustrated by two problems: (a) even though the two classes do exactly the same thing their interfaces are vastly different and (b) some of the simplest operations are very hard to do with both classes. I solved this problem by creating my own KMeans class that is a wrapper aroung both of those classes and uses the appropriate one automatically without complicating it for the data scientist programmer.

Clustering Optimization

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

atlantis-2021.9.7.tar.gz (109.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlantis-2021.9.7-py3-none-any.whl (163.2 kB view details)

Uploaded Python 3

File details

Details for the file atlantis-2021.9.7.tar.gz.

File metadata

  • Download URL: atlantis-2021.9.7.tar.gz
  • Upload date:
  • Size: 109.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for atlantis-2021.9.7.tar.gz
Algorithm Hash digest
SHA256 924c3a28f50054c7cff2a35d34961b5fa3a0ac34b873b9f785f91b6720484782
MD5 6cd94e5c85581c5adf1aa4fd4401f6ce
BLAKE2b-256 cc6c56a955e942361f95767e50d539d7c424630fedd70332df060ea9d766f837

See more details on using hashes here.

File details

Details for the file atlantis-2021.9.7-py3-none-any.whl.

File metadata

  • Download URL: atlantis-2021.9.7-py3-none-any.whl
  • Upload date:
  • Size: 163.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.9.1

File hashes

Hashes for atlantis-2021.9.7-py3-none-any.whl
Algorithm Hash digest
SHA256 471312ddf1256facfb8f6a75aab1161fc0e13dc95abf1c56629ec6735986f3db
MD5 7f56121599897cdb6a217d51e5e4a329
BLAKE2b-256 162fc73bfaeaf6c34d6a4c90194db4e6c96cb673319fa09bea23b39b4ee24957

See more details on using hashes here.

Supported by

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