We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Nell'Usare Python nell'editor di Power Query ho inserito:
import pandas as pd
completedData = dataset.fillna(method='backfill', inplace=False)
dataset["completedValues"] = completedData["SMI missing values"]
Ho installato correttamente pandas
Quando premo ok viene visualizzato il seguente errore:
DataSource.Error: ADO.NET: Þỳτћŏņ ѕсяїрť эřŗоŗ. <pi>Traceback (most recent call last): File "C:\Users\Gianmario\PythonScriptWrapper_8c79fbbc-ec3a-4777-9692-8612321e0081\PythonScriptWrapper.PY", line 2, in <module> import os, pandas, matplotlib ModuleNotFoundError: No module named 'matplotlib' </pi> Dettagli: DataSourceKind=Python DataSourcePath=Python Message=Þỳτћŏņ ѕсяїрť эřŗоŗ. <pi>Traceback (most recent call last): File "C:\Users\Gianmario\PythonScriptWrapper_8c79fbbc-ec3a-4777-9692-8612321e0081\PythonScriptWrapper.PY", line 2, in <module> import os, pandas, matplotlib ModuleNotFoundError: No module named 'matplotlib' </pi> ErrorCode=-2147467259 ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeException |
L'esempio lo scaricato dal seguente link: https://learn.microsoft.com/it-it/power-bi/connect-data/desktop-python-in-query-editor |
Solved! Go to Solution.
ModuleNotFoundError: No module named 'matplotlib'
Your Python setup is incomplete. You need to install pandas and matplotlib libraries.
Grazie moltissime.
Ho installato IN PYTHON la libreria mancante
Nel mio caso: C:\Users\Gianmario\AppData\Local\Programs\Python\Python310\Scripts
Il percorso per raggiungere la sottodirectory dipende dalla cartella dove l'utente ha installato python sul PC. Sulla riga di comandi digito:
pip install matplotlib
Avevo intuito che l'errore era dovuto alla mancanza della libreria.
Grazie moltissime
ModuleNotFoundError: No module named 'matplotlib'
Your Python setup is incomplete. You need to install pandas and matplotlib libraries.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 63 | |
| 38 | |
| 34 | |
| 22 |