Commit 898566b 1 parent 059ff89 commit 898566b Copy full SHA for 898566b
File tree 2 files changed +21
-2
lines changed
kedro_datasets_experimental/pandas
2 files changed +21
-2
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ class DeltaSharingDataset(AbstractDataset):
38
38
39
39
.. code-block:: pycon
40
40
41
- >>> from kedro_datasets import DeltaSharingDataset
42
- >>> import pandas as pd
41
+ >>> from kedro_datasets_experimental.pandas import DeltaSharingDataset
43
42
>>>
44
43
>>> credentials = {
45
44
... "profile_file": "conf/local/config.share"
Original file line number Diff line number Diff line change
1
+ from kedro_datasets_experimental .pandas import DeltaSharingDataset
2
+
3
+ credentials = {
4
+ "profile_file" : "open-datasets.share"
5
+ }
6
+
7
+ load_args = {
8
+ "limit" : 10 ,
9
+ }
10
+
11
+ dataset = DeltaSharingDataset (
12
+ share = "delta_sharing" ,
13
+ schema = "default" ,
14
+ table = "nyctaxi_2019" ,
15
+ credentials = credentials ,
16
+ load_args = load_args
17
+ )
18
+
19
+ data = dataset .load ()
20
+ print (data )
You can’t perform that action at this time.
0 commit comments