Forum Discussion
Cannot convert numpy type object to spark type
Hi Anonymous
I followed the tutorials without experiencing any error. Instead of entering codes manually, I downloaded and imported notebooks from microsoft/fabric-samples · GitHub. You can try running these notebooks and see if they work. Ensure that you need to attach the same lakehouse you used in the other parts of this series.
For the error you encountered, you can check the output of the previous code cell of the problem code. At the same time make sure that the attached lakehouse is correct. "df_test" is a table created in Tutorial Part 3.
Best Regards,
Jing
If this post helps, please Accept it as Solution to help other members find it. Appreciate your Kudos!
Thank you for taking time to reply to my question. I followed the same steps exactly as you mentioned in your reply. Downloaded the notebooks from GitHub, followed the sequence of steps as mentioned in tutorial, no changes to note book code, all steps ran absolutely fine until this particular cell as mentioned in my initial question. Any more insights as to what is causing this error and how to resolve it?