result = result.astype(str).apply(lambda x: x.str.encode('ascii', 'ignore').str.decode('ascii'))
const removeEmojis = (text) => {
if (!text) {
return '';
}
return text.replace(/([u2700-u27BF]|[uE000-uF8FF]|uD83C[uDC00-uDFFF]|uD83D[uDC00-uDFFF]|[u2011-u26FF]|uD83E[uDD10-uDDFF])/g, '');
}
result = result.astype(str).apply(lambda x: x.str.encode('ascii', 'ignore').str.decode('ascii'))
const removeEmojis = (text) => {
if (!text) {
return '';
}
return text.replace(/([u2700-u27BF]|[uE000-uF8FF]|uD83C[uDC00-uDFFF]|uD83D[uDC00-uDFFF]|[u2011-u26FF]|uD83E[uDD10-uDDFF])/g, '');
}