pandas_exercises
pandas_exercises copied to clipboard
Practice your pandas skills!
My propesed solution for step 11 is: `food.iloc[:, 7][18]` instead of: `food.values[18][7]` Picking an index from a `Series` works much faster than picking it from an `numpy.ndarray` We can first...
Hi These exercises are very useful in practicing pandas for a new beginners like me Thank You
thanks
thanks
Update README.md KAT-2
### Step 16: we could not get the mean from all of the columns in order_group (some of them are string), so we need to select column 'revenue' first and...
Improvements: 1) Fixed an issue where Continent NA is being interpreted as NaN by Pandas read_csv() 2) Fixed answer 6 to enable pandas to calculate the mean by including only...
### Issue In `03_Grouping/Alcohol_Consumption/Exercise_with_solutions.ipynb`, Step 6 (`drinks.groupby('continent').mean()`) raises a `TypeError` in modern pandas versions (e.g., 2.x) due to attempting to compute the mean of the non-numeric `country` column. ### Fix...