Comments (8)
Started rewrite of these chapters. I'm thinking of simplifying the pandas-input
chapter -- I don't know if there is any reason we should introduce reading data from the internet and reading data from your computer as separate things. They use the same function.
Thoughts?
from book.
I already went through pandas-input.md for a re-write just before I taught it -- but by all means do another pass at it and make things even better!
I am fairly strongly against separating reading in files from the internet and your computer. Doing it in this way allows us to separate the issues regarding what the pd.read_*
functions do from understanding how modern filesystems work. I've found that both are significant issues for students to understand, so breaking them up in this way is quite helpful.
from book.
Oops: I meant to say I'm against combining those sections
from book.
What are your thoughts on reorganizing it? To me it feels natural to introduce a DataFrame
and its methods prior to describing the read_*
functions. My plan would be to do something along the lines of
- First look at dataframes (includes some of the properties etc...)
- Operating on dataframes (includes creating new variables etc...)
- Dataframe methods (cover a few of the methods -- Mostly just to encourage them to explore the
. + <T>
stuff) - Data Input
- Reading from internet
- Reading from computer
- APIs
- Examples
from book.
It might even make sense to break that into 1, 2, and 3 into a pandas-intro
chapter and then do 4 and 5 in a pandas-input
chapter -- I like short(ish) chapters and I feel like this one is a bit of a mouthful.
from book.
That's a great question.
I also felt it was a bit strange to have the read methods before the data frame properties and working with variables section. However, the argument in favor of how things are now is that in order to talk about those methods you need a DataFrame and by far the most common way studnets will get DataFrames in their code is by using the read_*
methods.
If you would like to reorganize and don't think it would be too much effort to implement, maybe you could do it and open it as a PR. I could take a look at the finished product and give a more specific review at that point. I don't want to create extra work, but this approach is the "least risky" in my opinion. (Also, I suspect that I will like the shorter chapters approach anyway, so ex ante I anticipate merging the PR)
from book.
K. I'll work up some changes and update you (with a PR) once I'm ready.
from book.
Addressed by #22 (review)
from book.
Related Issues (13)
- fix gitbook adress HOT 2
- First function example should return something
- Pandas time series chapter HOT 2
- Question: should we introduce pandas_datareader in pandas-input.md? HOT 3
- Packing imports and conda/pip HOT 2
- Add link
- Pre-term revisions (Fall 2016)
- List comprehension: false claim HOT 2
- typo in Matplotlib Fundamentals
- Ipython Notebooks vs Jupyter Notebooks HOT 3
- Jupyter Lab
- Int v Float
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 book.