Top "Python-unicode" questions

Python distinguishes between byte strings and unicode strings.

pandas.read_excel error when using usecols

I am having some problem in reading data from an Excel file. The Excel file contains column names with unicode …

python pandas python-2.7 python-unicode pandas-datareader
Comparing string and unicode in Python 2.7.5

I wonder why when I make: a = [u'k',u'ę',u'ą'] and then type: 'k' in a I get …

python python-2.7 python-unicode
python charmap codec can't decode byte X in position Y character maps to <undefined>

I'm experimenting with python libraries for data analysis,the problem i'm facing is this exception UnicodeDecodeError was unhandled by user …

python python-3.x unicode nlp python-unicode
Reading russian language data from csv

I have some data in CSV file that are in Russian: 2-комнатная квартира РДТ', мкр Тастак-3, Аносова — Толе би;Алматы 2-комнатная квартира БГР', мкр Таугуль, Дулати (Навои) — Токтабаева;Алматы 2-комнатная квартира ЦФМ', мкр Тастак-2, Тлендиева — Райымбека;Алматы Delimiter …

python csv unicode python-2.x python-unicode
python url unquote followed by unicode decode

I have a unicode string like '%C3%A7%C3%B6asd+fjkls%25asd' and I want to decode this …

url-encoding python-unicode
What's "ANSI_X3.4-1968" encoding?

See following output on my system: [STEP 101] # python3 -c 'import sys; print(sys.stdout.encoding)' ANSI_X3.4-1968 [STEP 102] # […

python python-3.x encoding character-encoding python-unicode
How to "normalize" python 3 unicode string

I need to compare two strings. aa is extracted from a PDF file (using pdfminer/chardet) and bb is a …

python-3.x utf-8 python-unicode
UnicodeDecodeError: 'ascii' codec can't decode byte in 0xc3 in position 304: ordinal not in range(128)

I just left the PC at work (using Python 2.7) and had a script that I was just finishing up (reproduced …

python macos syntax-error python-unicode
Python print unicode list

With the following code lst = [u'\u5de5', u'\u5de5'] msg = repr(lst).decode('unicode-escape') print msg …

python string python-2.7 python-unicode
How can i connect to presto pyhive?

I want to connect presto using pyhive in zeppelin now, I follows about https://github.com/dropbox/PyHive I use …

python python-unicode pyhive