Commit 9f0f0b0e authored by Didier Voisin's avatar Didier Voisin
Browse files

translation of most of part2 done; still lacking trend and distributions ;...

translation of most of part2 done; still lacking trend and distributions ; exported wind and weather into p3
parent 4eeab502
......@@ -215,15 +215,15 @@
##### Not necessarily obvious from this initial exploration, but the first line contains columns titles, and the following lines contain the data for each of those columns. This We want now to enter that into a `DataFrame`, which is one of the data structure provided by pandas. The other one being a `Series`.
For a quick description, see :
- the cheatsheet *basic for pandas* : http://datacamp-community-prod.s3.amazonaws.com/dbed353d-2757-4617-8206-8767ab379ab3
- the first page of [advanced cheatsheet](./aide/Enthought-Python-Pandas-Cheat-Sheets-1-8-v1.0.2.pdf)
- the first page of [advanced cheatsheet](../aide/Enthought-Python-Pandas-Cheat-Sheets-1-8-v1.0.2.pdf)
What makes this data structure so nice is its similarity to a nicely composed spreadsheet: each column and each row have names, and data are naturally index by row and column...
Some useful commands (also look into the *datacamp cheatsheet*, or `pd.read_csv?`, or the first page [advanced cheatsheet](./aide/Enthought-Python-Pandas-Cheat-Sheets-1-8-v1.0.2.pdf):
Some useful commands (also look into the *datacamp cheatsheet*, or `pd.read_csv?`, or the first page [advanced cheatsheet](../aide/Enthought-Python-Pandas-Cheat-Sheets-1-8-v1.0.2.pdf):
- `yourdataframe = pd.read_csv(filename`, which accepts some optional parameters, such as:
- sep= : to indicate the character used as separator
- header= : to tell which line contains the column names
- skiprows= : gives a list of rows to ignore
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment