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

Lesson Contribution - starting with data

Talishask opened this issue · comments

I'm a member of The Carpentries Core Team and I'm submitting this issue on behalf of another member of the community. In most cases, I won't be able to follow up or provide more details other than what I'm providing below.


I have a suggestion on the Data Analysis and Visualization in Python for Ecologists (https://datacarpentry.org/python-ecology-lesson/02-starting-with-data/index.html) specifically on the lesson "starting with data" where we now have to import the data we will be working on to python.

I think it would be helpful to add how different paths are in different operating systems for example when one is using windows to import the data in python they would have a code that looks something like:
pd.read_csv("C:\Users\iminathi\Download\portal-teachingdb-master\surveys.csv") which may slightly differ for different windows versions
and for linux it would be something like:
pd.read_csv("/home/iminathi/Downloads/portal-teachingdb-master/surveys.csv").

I think this will be beneficial because it can be a bit confusing when you are hosting a workshop and still learning so when there are students with different os and encounter an error in this you aso get a little bit confused as an instructor if you are not an expert yourself,this once happened to me in my first workshop and lot of time was wasted trying to figure out what the problem is since I was still learning python as well.