datacarpentry / python-ecology-lesson

Data Analysis and Visualization in Python for Ecologists

Home Page:https://datacarpentry.org/python-ecology-lesson

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ep3 feedback

TrungNg opened this issue · comments

Feedback on ep3

  • pandas.read_csv is mostly used and could be introduced more with its options, e.g. index_col and header. An option of "index_col=0" could be useful here.
    If space is a problem, the part of (first) reading and then assigning the read data frame to a variable can be combined into one cell:

surveys_df = pd.read_csv("data/surveys.csv")
surveys_df

  • The output of the first read_csv looks like the index was described but not shown on the Output (probably on purpose). This may be confusing to readers.

Thanks!

@TrungNg Thanks for your feedback. I think we want to keep the introduction of read_csv as simple as possible to minimize the new concepts a reader has to understand.