DP-100 · Question #378
DP-100 Question #378: Real Exam Question with Answer & Explanation
The correct answer is B: mltable.from_delimited_files(). To access and load a registered folder data asset containing a CSV file into a Pandas DataFrame for interactive development, a specific method from the mltable library is required.
Question
You manage an Azure Machine Learning workspace. You have a folder that contains a CSV file. The folder is registered as a folder data asset. You plan to use the folder data asset for data wrangling during interactive development. You need to access and load the folder data asset into a Pandas data frame. Which method should you use to achieve this goal?
Options
- Amltable.from_parquet_files()
- Bmltable.from_delimited_files()
- Cmltable.from_data_lake()
- Dmltable.load()
Explanation
To access and load a registered folder data asset containing a CSV file into a Pandas DataFrame for interactive development, a specific method from the mltable library is required.
Common mistakes.
- D.
mltable.load()is used to load an already defined MLTable object from an MLTable YAML definition file, not to create one directly from raw source files like CSVs in a folder.
Concept tested. Loading delimited data assets into MLTable for Pandas
Topics
Community Discussion
No community discussion yet for this question.