Skip to main content

Tool to automate data scientist daily work

Project description

Data Tranformation package

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 your-package-name

And then use it in your python.py file:

from dataTransformationBertas import * - to import all functions.

If you need them seperately:

from dataTransformationBertas import transpose2d from dataTransformationBertas import window1d from dataTransformationBertas import convolution2d

Example

from datatransformations import transpose2d

test = transpose2d ([
    [1, 2, 3],
    [4, 5, 6],
    [7, 8, 9]
])
print (test)
from datatransformations 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 datatransformations import convolution2d
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.2.0.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.2.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: datatransformationsbertas-0.2.0.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.2.0.tar.gz
Algorithm Hash digest
SHA256 d59c1edd3c41c9055381ebf33c39e86cc6fa85ea7f16ab8d76d1c60925223cb7
MD5 45bc071d91b4c0b406147888a3e7826e
BLAKE2b-256 8c4b2496c889ecd1869cc757a3c2304b6cae55e8d6987296bebd7480c64e2c07

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for datatransformationsbertas-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cbc6c363d4be890bdcf6e2bcc0a325ac56dcb7eb6d536a16a148d2bfbff29ae5
MD5 cbf10461478bf5f5ffba85335b1eea9c
BLAKE2b-256 b31b8a8f55ee13ce3480b9f4004bbae0f8f212f373299fb4d47e44c303d0cffc

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