Python Code snippets

Spark Python

Convert string to date in Python / Spark

This code snippet shows how to convert string to date.

View detail
Spark Python

Write and read parquet files in Python / Spark

Parquet is columnar store format published by Apache. It's commonly used in Hadoop ecosystem. There are many programming language APIs that have been implemented to support writing and reading parquet files. 

View detail
Python

Read and parse JSON in Python

JSON is commonly used in modern applications for data storage and transfers. Pretty much all programming languages provide APIs to parse JSON. 

View detail