Skip to content

Commit f72411e

Browse files
committed
Updated pr.
1 parent 6c5c634 commit f72411e

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

ads/dataset/helper.py

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1054,33 +1054,6 @@ def open(
10541054
dataset : An instance of ADSDataset
10551055
(or)
10561056
dataset_with_target : An instance of ADSDatasetWithTarget
1057-
1058-
Examples
1059-
--------
1060-
>>> ds = DatasetFactory.open("/path/to/data.data", format='csv', delimiter=" ",
1061-
... na_values="n/a", skipinitialspace=True)
1062-
1063-
>>> ds = DatasetFactory.open("/path/to/data.csv", target="col_1", prefix="col_",
1064-
... skiprows=1, encoding="ISO-8859-1")
1065-
1066-
>>> ds = DatasetFactory.open("oci://bucket@namespace/path/to/data.tsv",
1067-
... column_names=["col1", "col2", "col3"], header=0)
1068-
1069-
>>> ds = DatasetFactory.open("oci://bucket@namespace/path/to/data.csv",
1070-
... storage_options={"config": "~/.oci/config",
1071-
... "profile": "USER_2"}, delimiter = ';')
1072-
1073-
>>> ds = DatasetFactory.open("/path/to/data.parquet", engine='pyarrow',
1074-
... types={"col1": "ordinal",
1075-
... "col2": "categorical",
1076-
... "col3" : "continuous",
1077-
... "col4" : "float64"})
1078-
1079-
>>> ds = DatasetFactory.open(df, target="class", sample_max_rows=5000,
1080-
... positive_class="yes")
1081-
1082-
>>> ds = DatasetFactory.open("s3://path/to/data.json.gz", format="json",
1083-
... compression="gzip", orient="records")
10841057
"""
10851058
if npartitions:
10861059
warnings.warn(

0 commit comments

Comments
 (0)