pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
43.19k stars 17.77k forks source link

DOC: Searching DataFrame.eval( blocks me from the documentation #58955

Open Aloqeely opened 3 months ago

Aloqeely commented 3 months ago

Pandas version checks

Location of the documentation

https://pandas.pydata.org/docs/search.html

Documentation problem

Searching pd.eval( / DataFrame.eval( triggers a security solution which blocks me from the documentation.

I am not sure if this is some sort of code injection protection, but searching for eval( in other docs does not trigger this, so I don't know if there's a security risk to worry about here.

Suggested fix for documentation

It is sensible to search for DataFrame.eval( to see some examples from the docs, no security solution should be triggered.

mroeschke commented 3 months ago

It appears our docs hosted on OVHcloud has Cloudflare enabled, and the search query might be hitting some banned terms https://developers.cloudflare.com/workers/runtime-apis/web-standards/#javascript-standards cc @datapythonista

rhshadrach commented 3 months ago

URL that triggers: https://pandas.pydata.org/docs/search.html?q=DataFrame.eval%28#

tilovashahrin commented 2 months ago

URL should direct to these links instead: pd.eval( : https://pandas.pydata.org/docs/reference/api/pandas.eval.html Dataframe.eval(: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.eval.html

mohita-gakhar commented 1 month ago

take