0 votes
131k views
closed with the note: Answered
by datalab (20.7k points)
closed by 1 | 131k views

1 Answer

+1 vote

If you are running a Jupyter notebook server on your own machine, then you can access any file on your file system. E.g.:

import pandas as pd
df = pd.read_csv('/home/you/bar/foo.csv')

If you are working with a notebook on Data Lab's notebook server, you can upload a local file to your notebook space, by clicking (from a notebook view) on "File/Open...", and in the following "dashbord" view on the "Upload" button in the upper right corner.

No​te that this is only suitable for relatively small files! The current limit (set by the notebook server) is 25 MB.

If you need to upload larger files, please use the Data Lab command line client to upload the file(s) to your vospace.

by robnik (1.0k points)
edited by 5

419 questions

435 answers

440 comments

638 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.

Categories