Skip to main content

spark_gaps_date_rorc_tools

Project description

spark_gaps_date_rorc_tools

Github License Updates Python 3 Code coverage

spark_gaps_date_rorc_tools is a Python library that implements get gaps dates

Installation

The code is packaged for PyPI, so that the installation consists in running:

pip install spark-gaps-date-rorc-tools 

Usage

wrapper take gaps dates

config.yaml
===========
  conf:
    t_psan_test:
      table_path: "/data/master/psan/data/t_psan_test/"
      supplies : [
          "/data/master/psan/data/t_ksag_test/",
          "/data/master/psan/data/t_psan_test/"
      ]
    t_kctk_cust_rating_atrb:
      table_path: ""
      supplies : []



example1: file.py
=================
from spark_gaps_date_rorc_tools import show_gaps_date
df_pivot = show_gaps_date(spark=spark,
                          config_path_name="config.yaml",
                          table_rorc=["t_psan_xxx"]
                          hdfs_uri="hdfs://pedaaslive.scmx2p100.isi",
                          filter_date_initial="202101",
                          filter_date_final="202112")

Spark Style Dataframe: file.py
==============================                     
df_pivot.show2(limit=10)



Pandas Style Dataframe: file.py
==============================                 
df_pivot2 = df_pivot.toPandas()                      
df_pivot2.show2()

License

Apache License 2.0.

New features v1.0

BugFix

  • choco install visualcpp-build-tools

Reference

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

spark_gaps_date_rorc_tools-0.2.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

spark_gaps_date_rorc_tools-0.2.2-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file spark_gaps_date_rorc_tools-0.2.2.tar.gz.

File metadata

File hashes

Hashes for spark_gaps_date_rorc_tools-0.2.2.tar.gz
Algorithm Hash digest
SHA256 cc3fe95ccfb7a8565882e7ad13ce5916e62d82bfc8f9d7c338668fc3b7b2c5dd
MD5 ea85f91790450b1c87fc1e4de95843ad
BLAKE2b-256 a09b37ce5ebe92f218d8b95f6e43ef11f42db29d8965313bbc7ea3479ac138c7

See more details on using hashes here.

File details

Details for the file spark_gaps_date_rorc_tools-0.2.2-py3-none-any.whl.

File metadata

File hashes

Hashes for spark_gaps_date_rorc_tools-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6723faa2cb5207b29bbe65d4d3ecf376e9dd7f2bfe47f6ddc576414646073b07
MD5 6debe89b26140e34d1b531f1c2034b79
BLAKE2b-256 7ef99b4158e8d810a99525328b871b0366f116ae51fa34a9989c38923dde39f2

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