@Pravalika-randstad - Thanks for the question and using MS Q&A platform.
It looks like the error message is indicating that there is a syntax error in your code. Specifically, it seems that there is an issue with the line where you are attempting to write the data frame to a CSV file.
The error message suggests that there is an unexpected symbol in the code. One possible issue is that you have an extra forward slash in the file path. Try removing the extra forward slash in the file path and see if that resolves the issue.
Here's the corrected code:
df.write.mode("overwrite").csv("abfs://[my-container]@[my-storage-account].dfs.core.windows.net/test/testdata3.csv")
This should write the data frame to a CSV file in the specified location. If you continue to encounter issues, please let me know and I can help you troubleshoot further.
Hope this helps. Do let us know if you any further queries.