Comments (3)
You should just use:
data = Table.read_table('07423-0001-Data.csv')
The reason why it's breaking right now is that the Table isn't able to
access https://data8.berkeley.edu/user/andrej/edit/history-connector/07423-0001-Data.csv
by default. Try opening an incognito window and hitting https://data8.berkeley.edu/user/andrej/edit/history-connector/07423-0001-Data.csv.
Because you have to log in, Table.read_table can't read it properly.
You can either do what I suggest above (which reads the file from the
notebook's directory), or use the public URL of your file on Github:
http://data8.org/history-connector/07423-0001-Data.csv
Which you can use like this:
data = Table.read_table('http://data8.org/history-connector/07423-0001-Data.csv')
from connector-instructors.
Thank you all! The code worked -- a miracle!
data = Table.read_table('07423-0001-Data.csv')
data
Thank you all again, and a cautionary note would make sense,
Andrej
from connector-instructors.
My pleasure! Do note that the code above is dependent on where the files
are.
data = Table.read_table('07423-0001-Data.csv')
means: find the file named '07423-0001-Data.csv' in my current directory
and then read it in as a Table. If you move '07423-0001-Data.csv' to a
different folder, that line will break. It won't break if you move both the
notebook and the dataset to a different folder.
As another example, if you have this folder structure:
andrej/
module1/
mynotebook.ipynb
datasets/
07423-0001-Data.csv
module2/
...
Then you'd want the read_table line to look like:
data = Table.read_table('datasets/07423-0001-Data.csv')
ᐧ
On Fri, Jan 22, 2016 at 12:50 AM, AndrejGitHub [email protected]
wrote:
—
Reply to this email directly or view it on GitHub
#13 (comment)
.
Sam Lau
EECS | UC Berkeley | May 2017
(562) 565-4336 | [email protected]
from connector-instructors.
Related Issues (20)
- Please install pysal library HOT 2
- Creating domain-general tutorial notebooks HOT 1
- Integrate some grading infrastructure HOT 1
- Update the README / docs HOT 19
- Update technical information in this repository + moving stuff to a wiki HOT 5
- Removing website materials from connector-instructors master branch HOT 2
- Add a short guide to docker
- Add explanation of the jupyterhub setup
- Update contact information HOT 2
- interact links on datahub not working for me HOT 18
- edits needed on wiki pages HOT 12
- Where do we provide overall info about connector resources HOT 6
- Grading resources HOT 6
- Add links section to Wiki HOT 3
- More guidance re: how to create student notebooks HOT 2
- Make data8.org/connector-instructors redirect to the wiki HOT 3
- Add `nbgrader` as a default package in the cluster HOT 7
- `error: Request Entity Too Large` HOT 8
- Rewrite parts of wiki to make it user intutitive.
- Submit button missing on Jupyter notebook
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connector-instructors.