pre_process_str (pyleoclim.utils.lipdutils.pre_process_str)

pyleoclim.utils.lipdutils.pre_process_str(word)[source]

Pre-process a string for capitalized letters, space, and punctuation

Parameters

string (str) – A string from which to strip capitals, spaces, and other characters

Returns

res – A string with capitalization, spaces, and punctuation removed

Return type

str