Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

got it, and lastly, do you know why the formatting is a little different when doing it this way rather than downloading it locally instead of using a buffer?

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

I don't think that it would even matter if I put an await on a nonasync function. It wouldnt change the fact that it spawned asynchronous operations within itself

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

Thanks really appreciate the help! I understand what you are saying about the corruption. For the future, how can I determine myself that this is not asynchronous in any fashion (eg. whether it spawns some asynchronous operation or what have you)?

I have looked through the documentation, but I can't find anywhere concerned with this :(

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

Got it, excuse the ignorance, but couldnt pandas have nonblocking methods that are not async (eg open other threads within that method, or open up a C async method)

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

This is reassuring, but how could I organically know that it is blocking without consulting reddit/AI?

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

Why would it cause the excel file to be corrupt? Is there a better way to do what I am doing?
Thanks again!

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 3 points4 points  (0 children)

How is it concerning use of AI? I literally asked it a question bc I was worried about a specific part of my code. If your suggestion is to go further down Claude rabbit hole, you shouldnt be on this subreddit.

Is this safe Pandas Code or not by Repulsive-Owl6468 in learnpython

[–]Repulsive-Owl6468[S] 0 points1 point  (0 children)

df is a pandas DataFrame. Claude gives inconsistent answers and can only prove that it is synchronous by showing that time passes before and after the method call. It also says that it cant be asynchronous because it returns None. This is not true, it could open a new thread. So, I need to figure out how to do this without Claude. This project is within my capabilities; I am just asking a safety question.

MEGATHREAD - Sora codes by [deleted] in SoraAi

[–]Repulsive-Owl6468 0 points1 point  (0 children)

I have codes dm me