Skip to main content

Tool to automate data scientist daily work

Project description

Data Tranformation package

https://pypi.org/project/dataTransformationsBertas/

This is a data transformation package to automate daily data scientist tasks.

The package contains: Transpose, Time Series Windowing and Cross-Correlation funcitons.

To use them download the package

pip install dataTransformationsBertas

And then use it in your python.py file:

from datatransformationsbertas import * - to import all functions.

If you need them seperately:

from datatransformationsbertas import transpose2d from datatransformationsbertas import window1d from datatransformationsbertas import convolution2d

Example

from datatransformationsbertas import transpose2d

test = transpose2d ([
    [1, 2, 3],
    [4, 5, 6],
    [7, 8, 9]
])
print (test)
from datatransformationsbertas import window1d
input_array = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
size = 3
shift = 2
stride = 1
print(window1d(input_array, size, shift, stride))
from datatransformationsbertas import convolution2d
import numpy as np
input_matrix = np.array([[1, 2, 3],
                         [4, 5, 6],
                         [7, 8, 9]])

kernel = np.array([[1, 0, 1],
                   [0, 1, 0],
                   [1, 0, 1]])

print(convolution2d(input_matrix, kernel))

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

datatransformationsbertas-0.7.4.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

datatransformationsbertas-0.7.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file datatransformationsbertas-0.7.4.tar.gz.

File metadata

  • Download URL: datatransformationsbertas-0.7.4.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.0 Darwin/23.2.0

File hashes

Hashes for datatransformationsbertas-0.7.4.tar.gz
Algorithm Hash digest
SHA256 b313d155c56bcfd6df4234736c8c7f6404e3702e7347bf34c78c6f78cb6e3681
MD5 f1d9131b1c92879bed55050c6e29c06b
BLAKE2b-256 33d5d429439a81c7eabf64a83e6a7021a43afdb83ee6bfe0fb82f35f788a7e5f

See more details on using hashes here.

File details

Details for the file datatransformationsbertas-0.7.4-py3-none-any.whl.

File metadata

File hashes

Hashes for datatransformationsbertas-0.7.4-py3-none-any.whl
Algorithm Hash digest
SHA256 058b7efa86452859f801dc48643edeccb21c8d053401110e4287e4c135cf6601
MD5 2e029ec42e8bea6a2bd4cfc525348433
BLAKE2b-256 f0fc2eaa4a8ab7ea11e11432e8f1e9bc3c0a3d20a073972009892e67c09b035b

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