show_query
show_query(__data, simplify=False)
Print the details of a query.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
__data |
A DataFrame of siuba.sql.LazyTbl. |
required | |
simplify |
Whether to attempt to simplify the query. |
False |
|
**kwargs |
Additional arguments passed to specific implementations. |
required |
Source code in siuba/dply/verbs.py
@pipe_no_args
@singledispatch2((DataFrame, DataFrameGroupBy))
def show_query(__data, simplify = False):
"""Print the details of a query.
Parameters
----------
__data:
A DataFrame of siuba.sql.LazyTbl.
simplify:
Whether to attempt to simplify the query.
**kwargs:
Additional arguments passed to specific implementations.
"""
print("No query to show for a DataFrame")
return __data