<gh_stars>1-10
import datafaucet as dfc
from datafaucet.decorators import add_method

from pyspark.sql import DataFrame

# monkey patching: try to limit to a minimum

# 2 methods and 3 attributes in total
# df.save, df.datafaucet
# df.rows, df.cols, df.data

DataFrame.save = dfc.io.save

@add_method(DataFrame)
def datafaucet(self):
    print('datafaucet', dfc.__version__)

from .rows import *
from .cols import *
from .data import *