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-rorc:
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")
df_pivot.head()
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.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77e9cd75dfbaa61660c538571327ccb0c836a24d75e261a88f4814399bfcc8e7 |
|
MD5 | a83f10514809ce107a4b93ba0eb39a36 |
|
BLAKE2b-256 | 84821072b1bdff7367360c92310623b2939f9fe70463380c075900e66c9a7235 |
Close
Hashes for spark_gaps_date_rorc_tools-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe85df4efb90934fbfd84a5f9f24672c2957012a478f11ec1f0d9c8407ae8c41 |
|
MD5 | 32ee166dcc7a21cc4d3b8a58bfb7cf93 |
|
BLAKE2b-256 | e4ae6455d277fd62b3e156b6b223a4490982a892888961c70718741c6c88717a |