Swap columns in a NumPy array
How to swap or reorder columns in a NumPy array, why naive tuple swaps fail, when the result is a view or a copy, and what to check before exporting delimited text.
Practical guides to reversing text, Unicode characters, cleanup, counting and common encodings. Each guide explains a real task, shows an example and links to a tool you can try.
How to swap or reorder columns in a NumPy array, why naive tuple swaps fail, when the result is a view or a copy, and what to check before exporting delimited text.
How Ruby string literals handle escape characters: single vs double quotes, percent literals, heredocs, Unicode escapes, and what survives copying and sharing.
What converting a CSV file to plain text actually changes, when a TXT, tab-delimited or aligned-column version helps, and what can break after copying or sharing.
A practical review of formatting localized dates with toLocaleString: what it changes, how locale and options shape output, copy and accessibility limits, and when plain ISO text is the better choice.
How to turn a Date into localized phrases like "3 days ago" with Intl.RelativeTimeFormat, what the conversion changes, and when an absolute date is the safer choice.
Write an em dash (U+2014) in XML as a literal character or as — or —, avoid the undeclared — error, and check the result with a parser.
How text comparison tools handle passages that were moved rather than rewritten, how to choose between line, word and move-aware comparison, and how to judge whether the results suit your use.
What a CSV to OV2 converter changes, what can be lost on the way, and when to keep a plain CSV of your points of interest instead.
A practical review of converting Gregorian dates to the Solar Hijri (Shamsi) calendar: how conversion works, where leap-year rules differ, and how digits and text direction affect copying and sharing.
Learn what zero-width characters are, why they cause hidden text problems, how to reveal them with search, code and byte views, and how to remove them without breaking meaningful text.
A practical review of formatting JSONL files in Visual Studio Code: what changes, why pretty-printing can break JSON Lines, and how to inspect records safely.
How JPG-to-CSV conversion turns a table image into delimited text, where recognition and structure errors creep in, and how to check the result before you rely on it.