提交 a8b0ba06 编写于 作者: P PyCaret

updated .gitignore and datasets.py

上级 9a7842d3
......@@ -8,6 +8,7 @@ catboost_info
/nb_test.ipynb
/nb_test2.ipynb
/app.py
/cli_app.py
/logo.png
/mlruns
/Results.html
......
......@@ -3,7 +3,7 @@
# License: MIT
def get_data(dataset, save_copy=False, profile = False):
def get_data(dataset, save_copy=False, profile=False, verbose=True):
"""
......@@ -33,6 +33,9 @@ def get_data(dataset, save_copy=False, profile = False):
profile: bool, default = False
If set to true, a data profile for Exploratory Data Analysis will be displayed
in an interactive HTML report.
verbose: bool, default = True
When set to False, head of data is not displayed.
Returns:
--------
......@@ -75,6 +78,7 @@ def get_data(dataset, save_copy=False, profile = False):
display(pf)
else:
display(data.head())
if verbose:
display(data.head())
return data
\ No newline at end of file
return data
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册