The input column name in query contains special characters · Issue #27017 · pandas-dev/pandas (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@solivehong

Description

@solivehong

The input column name in pandas.dataframe.query() contains special characters.
I saw the change in 0.25, but still have . \ / 等问题
And main problem is that I can't restore these characters after converting them to "_" , which is a very serious problem.

I have an idea

input: pandas.dataframe Intermediate processing: x2E(Hex)-> like pandasx2Edataframe(Add backslashes after processing the data) ->pandas\x2Edataframe output pandas\x2Edataframe