DOC: How to use storage_option param here to integrate with GCP bucket? 
State: closed

- [x] closes #42066 
- [ ] [Tests added and passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#writing-tests) if fixing a bug or adding a new feature
- [x] All [code checks passed](https://pandas.pydata.org/pandas-docs/dev/development/contributing_codebase.html#pre-commit).
- [ ] Added an entry in the latest `doc/source/whatsnew/vX.X.X.rst` file if fixing a bug or adding a new feature.


Labels:
name: Docs
name: IO Data
description: IO issues that don't fit into a more specific label

Comments:
Hi @MarcoGorelli, I altered a few files, but there are still a few that offer a brief description of the storage options, as shown below.
Please let me know if these files need to be corrected as well.


https://github.com/pandas-dev/pandas/blob/c24a3c8bb1f7148a1c8e1a9876d11f3b82bf40e5/pandas/io/formats/xml.py#L85-L87
https://github.com/pandas-dev/pandas/blob/c24a3c8bb1f7148a1c8e1a9876d11f3b82bf40e5/pandas/io/excel/_xlrd.py#L20-L21
https://github.com/pandas-dev/pandas/blob/c24a3c8bb1f7148a1c8e1a9876d11f3b82bf40e5/pandas/io/excel/_pyxlsb.py#L28-L29
https://github.com/pandas-dev/pandas/blob/c24a3c8bb1f7148a1c8e1a9876d11f3b82bf40e5/pandas/io/excel/_openpyxl.py#L541-L542
https://github.com/pandas-dev/pandas/blob/c24a3c8bb1f7148a1c8e1a9876d11f3b82bf40e5/pandas/io/excel/_odfreader.py#L26-L27
https://github.com/pandas-dev/pandas/blob/c24a3c8bb1f7148a1c8e1a9876d11f3b82bf40e5/pandas/io/xml.py#L101-L103
> Hi @MarcoGorelli, I altered a few files, but there are still a few that offer a brief description of the storage options, as shown below. Please let me know if these files need to be corrected as well.

If possible, it might be great to share the doc-strings between all of these methods. I think we already have shared docs for `storage_options`:

```py
from pandas.util._decorators import doc
from pandas.core.shared_docs import _shared_docs

@doc(storage_options=_shared_docs["storage_options"])
def some_function():
    """
    {storage_options}
    """
```
I shared the doc-strings over all of the methods, with the exception of the _base file, which isn't a function.

https://github.com/pandas-dev/pandas/blob/0a7507d1b32b53e68340296421499a2763527f26/pandas/io/excel/_base.py#L275-L283


Hello, @twoertwein. Could you please assist me in determining what I am doing incorrectly?
> I shared the doc-strings over all of the methods, with the exception of the _base file, which isn't a function.

I think you can replace the section with `{storage_options}` and then add the decorator here https://github.com/pandas-dev/pandas/blob/0a7507d1b32b53e68340296421499a2763527f26/pandas/io/excel/_base.py#L425
> Hello, @twoertwein. Could you please assist me in determining what I am doing incorrectly?

What are you having trouble with? Some tests sometimes randomly fail, the faillures do not seem related to your changes.
> What are you having trouble with? Some tests sometimes randomly fail, the faillures do not seem related to your changes.

Thank you : )
I had previously added `{storage options}` to the base file, but it failed several tests, so I redo the changes. 
let me change and push it again. 
Hello, @twoertwein. Please take a look at the adjustments I made.
Hey @purna135 - did you try building this locally? I think it'd be helpful if you could post screenshots of the amended docstrings
Yes I have built this locally and bellow is the screanshot of amended docstrings.

![image](https://user-images.githubusercontent.com/42216008/154071230-b1014741-6813-4560-aaac-4028f3d86d59.png)

Should I share a screencap of the part where I replaced `{...}` with `{{...}}` to repair the unescaped braces error?
Thank you so much for your support and guidance, @twoertwein; as a newbie, it was extremely helpful.