spark_gaps_date_rorc_tools
Project description
spark_gaps_date_rorc_tools
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
New features v1.0
BugFix
- choco install visualcpp-build-tools
Reference
- Jonathan Quiza github.
- Jonathan Quiza RumiMLSpark.
- Jonathan Quiza linkedin.
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
Built Distribution
Close
Hashes for spark_gaps_date_rorc_tools-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c266f0d3cc582f3a8a7e2af1643cacc3366a114a9fd88df8435b862922c30791 |
|
MD5 | 04e854b808db446d2dd06e6f84b3b364 |
|
BLAKE2b-256 | 01e7a32fa02eac393d51e71747d009a2ebb93f297d985668048db41399e75faf |
Close
Hashes for spark_gaps_date_rorc_tools-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03d6561045a8b364e3142053748fe68178f162ecc70f967183014b4a4ce17169 |
|
MD5 | 26437cfe1f7fb86e3d98e311ce26693a |
|
BLAKE2b-256 | d23c6e0d75fddcace29c2d6bab60bb1ae25471dc25ebba30c4a41301b6b45196 |