I need to find all representations of line breaks to circumvent a problem created by AzureML's designers, which is as follows:
By default (support_multi_line=False), all line breaks,
including those in quoted field values,
will be interpreted as a record break.
Consequently, this design choice is breaking my DF by inflating its records and creating errors in my pipeline.
I have attempted this:
df.replace(to_replace=[r"\\t|\\n|\\r", "\t|\n|\r"], value=["", ""], regex=True, inplace=True)
But it is not working -- line breaks are still being found in my DF -- what else should I be looking for?