We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07f204b commit 4da97d9Copy full SHA for 4da97d9
ads/dataset/dataset_accessor.py
@@ -0,0 +1,10 @@
1
+from typing import Tuple
2
+import pandas as pd
3
+from ads.dataset import progress
4
+from ads.dataset.dataset import ADSDataset
5
+from ads.dataset.dataset_with_target import ADSDatasetWithTarget
6
+
7
+@pd.api.extensions.register_dataframe_accessor("ads")
8
+class ADSDatasetAccessor:
9
+ def __init__(self, pandas_obj):
10
+ self._obj = pandas_obj
0 commit comments