Skip to main content

Access datastore uri with fsspec

Project description

Filesystem interface to Azure Machine Learning defined URIs

Getting started

This package can be installed using:

pip install azureml-fsspec

Examples

Accepted uri format is Azure Machcine Learning defined datastore uri: azureml://subscriptions/([^/]+)/resourcegroups/([^/]+)/workspaces/([^/]+)/datastores/([^/]+)/paths/([^/]+)

# load parquet file to pandas
import pandas
df = pandas.read_parquet('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.parquet')

# load csv file to pandas
import pandas
df = pandas.read_csv('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.csv')

# load parquet file to dask
import dask.dataframe as dd
df = dd.read_parquet('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.parquet')

# load csv file to dask
import dask.dataframe as dd
df = dd.read_csv('azureml://subscriptions/{sub_id}/resourcegroups/{rs_group}/workspaces/{ws}
                          /datastores/workspaceblobstore/paths/myfolder/mydata.csv')

Release History

0.1.0b1

Features Added

  • Initial public preview release of FileSystem for Azure Machine Learning defined datastore uri

0.1.0b2

Features Added

  • Fix release notes

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

azureml_fsspec-0.1.0b2-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file azureml_fsspec-0.1.0b2-py3-none-any.whl.

File metadata

File hashes

Hashes for azureml_fsspec-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3bab8a9b3c078b530f2f2f7e82681e37811884a31b2cc129dfbf1ed1515ed80
MD5 1341d2b0d7b52860896a9a7212b53825
BLAKE2b-256 0aaeed20ce55044b5dcfb221eb3eb1b111dd61432b7bba36de956b5ee146fbaf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page