Skip to main content
eberribeiro
Seasoned ⭐️
Seasoned ⭐️
March 28, 2023
Solved

Hands on with Data Science Course Jupyter Notebook error #2

At the JPY Notebooks in the Hands on with Data Science Course I had a problem with the execution of the notepad and I managed to fix it by changing the attribute related to the dataframe.


“Data_processing_and_analysis_for_IDA_course.ipynb”
____________________________________

# Plot flow rate vs pressure on a scatter plot

# Instead of using plt.scatter(dps1["3695151197573416|average"],dps1["622801209626283|average"]) use the bellow line of code

plt.scatter(dps1["pi:160182|average"],dps1["pi:160697|average"])

plt.xlabel('Flow rate')

plt.ylabel('Pressure')

__________________________________

Sofie Haug
Cognite Academy Instructor
March 30, 2023

Thank you so much for your feedback on this as well! We’ll make an update of the course, and thank you for also finding a solution for it!

Sofie, Cognite Academy

Sofie | Cognite Academy

1 reply

Sofie Haug
Expert ⭐️⭐️⭐️⭐️
Cognite Academy Instructor
March 30, 2023

Thank you so much for your feedback on this as well! We’ll make an update of the course, and thank you for also finding a solution for it!

Sofie, Cognite Academy

Sofie | Cognite Academy