Skip to main content

This package provides fundamental operation on reshaping dataframes for Keras LSTM input

Project description

This is a tool used to reshape dataset in pandas for Keras LSTM model

This module provides a single function that converts a multivariate time series dataframe into a supervised learning - style dataframe by flattening and shifting each series along a given lagging period. For example, when one tries to use keras on a 2-D tensor of shape (total_time_steps, num_features), it's required to reshape the tensor into a 3-D tensor of input_shape (num_features, time_steps, batch_size)

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

lstm_reshaper-0.3.0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

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

lstm_reshaper-0.3.0-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

Details for the file lstm_reshaper-0.3.0.tar.gz.

File metadata

  • Download URL: lstm_reshaper-0.3.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.60.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for lstm_reshaper-0.3.0.tar.gz
Algorithm Hash digest
SHA256 230700edf25d41a4897aed0dd752ef57751bb07f11d711d0cbe5638c2056572b
MD5 ab86af0fe74cc1c80cce4487b7eab499
BLAKE2b-256 65958db98438b102662ef8b5639dcbaa6608b4d44ea2d90502727ac7bf28f4a6

See more details on using hashes here.

File details

Details for the file lstm_reshaper-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: lstm_reshaper-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 1.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.2 tqdm/4.60.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.9

File hashes

Hashes for lstm_reshaper-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7bbeff4a8639ac9f0c64a51ae81619ea9ec2ae07018ecea349c3e1914d954d08
MD5 b766246b8624340dfedbe77365a334f8
BLAKE2b-256 4446c00310a99bb5122af942481de694ad1a4bae8285a71026dd5ca0fd8d5a2b

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