CST383 - Week 2
CST383 Week 2 This week we learned about Pandas, a data analysis Python library that makes working with data tables much easier. It can make use of NumPy if needed, specifically for functions like mean(). I have had some trouble with remembering Pandas syntax. I know to use df['x'] to obtain a Series named 'x', then df[df[x]] to obtain the whole Dataframe named 'x'. Once we got to aggregation, I was also unsure when to use 'groupby' and when to use 'aggregate'. One more thing that was difficult for me to get right was how to use conditions correctly in selecting data. One of the most helpful articles to understand this better was the user guide to Pandas. Along with this, I also found a nice cheat sheet on the Pandas home page for remembering specific syntax. Here is the link to it. I think I would need a lot more specific examples in the lecture to understand the syntax better and when to apply them.