Spaces:
Running
Running
Arts-of-coding
commited on
Update dash_plotly_QC_scRNA.py
Browse files- dash_plotly_QC_scRNA.py +6 -2
dash_plotly_QC_scRNA.py
CHANGED
@@ -26,8 +26,12 @@ mountpount=os.environ['AZURE_MOUNT_POINT'],
|
|
26 |
accountkey=os.environ['AZURE_STORAGE_ACCESS_KEY'],
|
27 |
accountname=os.environ['AZURE_STORAGE_ACCOUNT'],
|
28 |
|
29 |
-
|
30 |
-
|
|
|
|
|
|
|
|
|
31 |
#abfs = AzureBlobFileSystem(account_name=accountname,account_key=accountkey)
|
32 |
|
33 |
#df = df.rename({"__index_level_0__": "Unnamed: 0"})
|
|
|
26 |
accountkey=os.environ['AZURE_STORAGE_ACCESS_KEY'],
|
27 |
accountname=os.environ['AZURE_STORAGE_ACCOUNT'],
|
28 |
|
29 |
+
filepath = 'az://bucket-name/df_test_predicate_pushdown.parquet'
|
30 |
+
|
31 |
+
storage_options={'account_name': accountname, 'account_key': accountkey,'anon': False}
|
32 |
+
azfs = AzureBlobFileSystem(**storage_options )
|
33 |
+
|
34 |
+
df = pl.read_parquet(filepath,storage_options=storage_options)
|
35 |
#abfs = AzureBlobFileSystem(account_name=accountname,account_key=accountkey)
|
36 |
|
37 |
#df = df.rename({"__index_level_0__": "Unnamed: 0"})
|