@@ -1054,33 +1054,6 @@ def open(
1054
1054
dataset : An instance of ADSDataset
1055
1055
(or)
1056
1056
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")
1084
1057
"""
1085
1058
if npartitions :
1086
1059
warnings .warn (
0 commit comments