Skip to content

kotamatsuoka/pyspark-testing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyspark-testing

PyPI pyversions GitHub license

pyspark-testing is testing framework for pyspark

Installation

pyspark-testing is available at the PyPI

# PyPI
$ pip install pyspark-testing

Basic Usage

from pyspark_testing import assert_dateframe_equal


def test_sample():
    data = [('sample', 1)]

    left = spark.createDataFrame(data)
    right = spark.createDataFrame(data)

    assert_dataframe_equal(left, right)

License

MIT License (see LICENSE).

About

PySpark Testing Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published