ricklamers / gridstudio

Grid studio is a web-based application for data science with full integration of open source data science frameworks and languages.
GNU Affero General Public License v3.0
8.88k stars 1.5k forks source link

pd.read_csv doesn't work #56

Closed Twopence16 closed 5 years ago

Twopence16 commented 5 years ago

Hi,rick.I fail to use pd.read_csv to load a file in gridstudio though I can load the same file in spyder with same path. Here is error log image.

ricklamers commented 5 years ago

When loading files from disk, note that you are in a separate Docker environment.

In the Python process use: os.chdir("/home/user/...") to set the working directory of the Python process to the right directory.

Currently, file upload to the Docker environment is not working properly. To get the files in the Docker container copy them to the mounted user directory directly. (This is the grid-app/proxy/userdata/ directory).