The input column name in query contains special characters · Issue #27017 · pandas-dev/pandas (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Description
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 pandasx2E
dataframe(Add backslashes after processing the data) ->pandas\x2Edataframe
output pandas\x2Edataframe