Replies: 2 comments
|
Hey! Had the same issue. The problem is that used_range is read-only in the SDK — no .patch() on it by design. The workaround is to use range_with_address() instead, which does have .patch(): Two things to keep in mind: the column letter hack (chr(ord('A') + n_cols - 1)) breaks past column Z — if you need wider sheets, you'll need a proper column index to letter converter. Also make sure values contains only JSON-serialisable types (strings, ints, floats) — pandas NaN will throw. |
0 replies
|
Thank you for replay and your code, but I have again problem with .patch: range_with_address_request_builder.py which msgraph-sdk version do you use ? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I working on wraper to this library and I have a problem to .patch information to DriveItem
There is no problem with getting values from DriveItem to Pandas.DataFrame:
but with current version of msgraph-sdk lib, 1.55 - there is no .patch() in .used_range
so I m looking for an example of: _set_df_async
Thank you.
All reactions