No Image

UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xb0 in position 12: invalid start byte [Troubleshooting : Python]

16 April 2020 admin 0


This kind of error happens because of the text encoding. It could be raised by special characters inside the text to be read. […]

Data visualization : bar plot multiple columns against grouped data of Pandas dataframe

15 April 2020 admin 0

We define our initial dataframe and import all necessary libraries with the following sample code:

First 10 elements of our dataframe: Now we group […]

No Image

Some simple and generic Python functions

7 April 2020 admin 0

Filter a dictionary using dictionary comprehension. E.g.:

Filter Pandas Series only with elements which exist in a dictionary. E.g.:

Replace values of Pandas […]