Data
NumPy, pandas and statistics: reading files, formatting numbers, describing distributions.
- Fix UnicodeDecodeError When Reading a CSV File in pandas
Why pd.read_csv raises UnicodeDecodeError: 'utf-8' codec can't decode byte, and how to fix it with the right encoding, BOM handling and UTF-8 conversion.
- How to Suppress Scientific Notation in pandas and NumPy
Stop pandas and NumPy printing floats like 1.2e+09: set_printoptions(suppress=True), display.float_format, option_context, Styler and to_csv.
- Kurtosis in Python: SciPy, pandas and NumPy Explained
Compute kurtosis in Python with scipy.stats.kurtosis, pandas Series.kurt and NumPy. Excess vs Pearson, the bias flag, worked examples and how to interpret it.


