Open PeterHamfelt opened 3 months ago
When adding a new empty column, it's important to fill it with NaN values instead of resorting to "filler" values such as zeros or empty strings. This approach maintains the functionality of methods like isnull or notnull.
References https://github.com/joshlk/pandas_style_guide?tab=readme-ov-file#empty-columns
When adding a new empty column, it's important to fill it with NaN values instead of resorting to "filler" values such as zeros or empty strings. This approach maintains the functionality of methods like isnull or notnull.
References https://github.com/joshlk/pandas_style_guide?tab=readme-ov-file#empty-columns