معرفی شرکت ها


bigninja-0.0.3


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

pyspark helpers
ویژگی مقدار
سیستم عامل -
نام فایل bigninja-0.0.3
نام bigninja
نسخه کتابخانه 0.0.3
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Ivan Gavryliuk
ایمیل نویسنده aloneguid@outlook.com
آدرس صفحه اصلی https://github.com/aloneguid/bigninja
آدرس اینترنتی https://pypi.org/project/bigninja/
مجوز Apache-2.0
# bigninja [![PyPI](https://img.shields.io/pypi/v/bigninja)](https://pypi.org/project/bigninja/) ![PyPI - License](https://img.shields.io/pypi/l/bigninja) PySpark helpers to maximise data engineer productivity. Follow [pain-driven development](https://deviq.com/practices/pain-driven-development) technique. ## Setup After `pip install bigninja` start using it by ```python from bigninja import * ``` BigNinja works by adding extension methods to Spark's DataFrame class. All the methods start with `bn_` prefix to avoid conflicts with built-in methods. ## DataFrame ### `.bn_select(*pattern: str), .bn_drop(*pattern: str)` Select/drop columns using a wildcard pattern i.e. `df.wc_select("co*")` returns columns starting with *co*. For instance: - `bn_select("ci*")` will select columns starting with `city`. - `bn_select("id*", "ci*")` with select both columns starting with `id` and `ci` and so on. ### `.bn_display()` Is like `.show()` but `truncate` is set to `False` and arrays and structs are transformed to JSON so that you can read it. ### `.bn_union(df: DataFrame)` Unions DataFrames, even if number of columns, their names and types don't match, by creating an overlap of columns from both datasets and filling missing values with null. ## Etc - Inspired by [quinn]([MrPowers/quinn: pyspark methods to enhance developer productivity 📣 👯 🎉 (github.com)](https://github.com/MrPowers/quinn)). Most ideas are initially taken from there.


نحوه نصب


نصب پکیج whl bigninja-0.0.3:

    pip install bigninja-0.0.3.whl


نصب پکیج tar.gz bigninja-0.0.3:

    pip install bigninja-0.0.3.tar.gz