Skip to main content
Where should I put the file so that I can using python to read csv file in machine learning?
Hi Lingzhi,
you can put the file anywhere on the ML Workbench. Typically, you would put it into the home folder. You can either drag the file into the file explorer on the left, or upload using the upload button:

Hope this helps
Nicolas
Thanks very much for your help! One more question, may I read a flat file from sharepoint or website or any way I can upload the file into the ML workbench automatically? Currently, we are uploading the flat file manually every week.
Hi @Lingzhi,
if the service you are pulling the data from offers an API, it should be possible. You can then use a service-specific python library (if they offer one), or use the requests library to execute requests to the service.
For downloading from a website, you can use a web scraping library in python (or execute a simple wget).
It is important that the service that you pull the data from is accessible from the Workbench, which might not be the case if it is inside your corporate network.
Best
Nicolas
we are in Office365 sharepoint but could not find package office365 or sharepy in Machine learning. Do you have any sample? Thanks very much!
Hi @Lingzhi,
you can install packages via pip and conda in the ML Workbench.
Best
Nicolas
Thank you Nicolas ! Tried to use sharepy and got authorization error, it should be access issue

Reply