Posts by paulochf • 171 points
2 posts
-
3
votes2
answers120
viewsA: Table grouping
A simple strategy is to create a count column of ratings greater than 0, sort the table using this new column as a criterion, and then dispense with it. For this, the code below solves import pandas…
-
1
votes1
answer1641
viewsA: Matplotlib python normalize y-axis
After reorganizing a little the code for a more intuitive order (creation of the figure, configuration of it then) and removing the assignments that were disturbing (ex: ax1 = plt.grid(axis='y',…