Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja platforme Fabric, platforme Power BI i jezika SQL. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasOvaj preglednik više nije podržan.
Nadogradite na Microsoft Edge da iskoristite najnovije osobine, sigurnosna ažuriranja i tehničku podršku.
Microsoft Fabric environments provide flexible configurations for running your Spark jobs. Libraries provide reusable code that developers want to include in their work. Except for the built-in libraries that come with each Spark runtime, you can install public and custom libraries in your Fabric environments. And you can easily attach environments to your notebooks and Spark job definitions.
Bilješka
Modifying the version of a specific package could potentially break other packages that depend on it. For instance, downgrading azure-storage-blob
might cause problems with Pandas
and various other libraries that rely on Pandas
, including mssparkutils
, fsspec_wrapper
, and notebookutils
.
You can view the list of preinstalled packages and their versions for each runtime here.
Check more options and best practices of using libraries in Microsoft Fabric: Manage Apache Spark libraries in Microsoft Fabric
Public libraries are sourced from repositories such as PyPI and Conda, which Fabric currently supports.
To add a new public library, select a source and specify the name and version of the library. Alternatively, you can upload a Conda environment specification .yml file to specify the public libraries. The content of the uploaded .yml file is extracted and appended to the list.
Bilješka
The auto-completion feature for library names during adding is limited to the most popular libraries. If the library you want to install is not on that list, you don't receive an auto-completion prompt. Instead, search for the library directly in PyPI or Conda by entering its full name. If the library name is valid, you see the available versions. If the library name is not valid, you get a warning that the library doesn't exist.
Environments support uploading the YAML file to manage multiple public libraries in a batch. The contents of the YAML are extracted and appended in the public library list.
Bilješka
The custom conda channels in YAML file are currently not supported. Only the libraries from PyPI and conda are recognized.
Enter keywords in the search box on the Public Libraries page, to filter the list of public libraries and find the one you need.
To update the version of an existing public library, navigate to your envronment and open the Public libraries or Custom libraries. Choose the required library, select the version drop-down, and update its version.
The trash option for each library appears when you hover over the corresponding row. Alternatively, you can delete multiple public libraries by selecting them and then selecting Delete on the ribbon.
Each public library has various dependencies. The view dependency option appears when you hover over the corresponding row.
Fabric provides the option to export the full public library list to a YAML file and download it to your local directory.
Custom libraries refer to code built by you or your organization. Fabric supports custom library files in .whl, .py, .jar, and .tar.gz formats.
Bilješka
Fabric only supports .tar.gz files for R language. Use the .whl, .py file format for Python language.
You can upload custom libraries from your local directory to the Fabric environment.
The trash option for each library appears when you hover the corresponding row. Alternatively, you can delete multiple custom libraries by selecting them and then selecting Delete on the ribbon.
If clicked, custom libraries download one by one to your local default download directory.
Događaji
M03 31 23 - M04 2 23
Najveći događaj učenja platforme Fabric, platforme Power BI i jezika SQL. 31. mart - 2. april Koristite kod FABINSIDER da uštedite 400 dolara.
Registrirajte se danasObučavanje
Put učenja
Get started with Microsoft Fabric - Training
Explore how to implement data analytics solutions on a single platform with Microsoft Fabric. Integrate, transform, and store data to train AI models and create insightful reports.
Certifikacija
Microsoft Certified: Fabric Data Engineer Associate - Certifications
As a Fabric Data Engineer, you should have subject matter expertise with data loading patterns, data architectures, and orchestration processes.
Dokumentacija
Compute management in Fabric environments - Microsoft Fabric
A Fabric environment contains a collection of configurations, including Spark compute properties. Learn how to configure these properties in an environment.
Manage Apache Spark libraries - Microsoft Fabric
Learn how to manage and use libraries following best practices. A library is a collection of prewritten code that can provide extra functionality.
Create, configure, and use an environment in Fabric - Microsoft Fabric
Learn how to create, configure, and use a Fabric environment in your notebooks and Spark job definitions.