Last active
May 9, 2023 23:30
-
-
Save tommydangerous/98f14bcbef5d73aac7c284d3d0662cba to your computer and use it in GitHub Desktop.
Revisions
-
tommydangerous revised this gist
May 9, 2023 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,8 +6,8 @@ def load_data(*args, **kwargs): dt = DeltaTable( 's3://mage-demo-public/magic-energy/1337', storage_options={ 'AWS_ACCESS_KEY_ID': '...', 'AWS_SECRET_ACCESS_KEY': '...', }, ) return dt.to_pandas() -
tommydangerous created this gist
May 9, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,13 @@ from deltalake import DeltaTable @data_loader def load_data(*args, **kwargs): dt = DeltaTable( 's3://mage-demo-public/magic-energy/1337', storage_options={ 'AWS_ACCESS_KEY_ID': 'AKIAZ4SRK3YKRLA66XKN', 'AWS_SECRET_ACCESS_KEY': '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', }, ) return dt.to_pandas()