Answers
Chapter 1
- The stages are data loading, data transforming, and data viewing.
- You can’t use a Python dictionary as a data source. Only pandas DataFrames are recognized by Power BI as allowed data sources.
- You can’t use an R list as a data source. Only R data frames are recognized by Power BI as allowed data sources.
- In the case of both the Python script and R script, the name of the variable that contains the transformation data obtained up to the previous step is dataset.
- You must drag the fields you want to use in your script to the Values area.
- You must refresh the data in order to re-run a Python or R script added as a Power Query step (either in the loading phase or in the transforming phase) – or set a Page Refresh property for ...
Get Extending Power BI with Python and R - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.