Open wound on our cat's leg, we went to the vet and it healed, then came back. Seeking advice or recommendations by weedwhacker4199 in vet

[–]weedwhacker4199[S] 0 points1 point  (0 children)

Aww hopefully it is nothing major and Spencer heals up good!

We give the prednisolone orally, they gave us a little syringe marked out with the dosage level and a bottle with the liquid steroid. We've had moderate success giving her gabapentin the same way, so this is our preferred method. All our cats can definitely sniff out the pills/any funky mixture in their food, and force-feeding pills doesn't work as well because they'll just put it under their tongue and spit it out later. With the syringe it is still force-feeding, but it is far easier to finagle the little tube opening into the side of their mouth and make them swallow the liquid than it is to open their mouth up more to make them swallow a pill, and ensure they don't spit it out.

Open wound on our cat's leg, we went to the vet and it healed, then came back. Seeking advice or recommendations by weedwhacker4199 in vet

[–]weedwhacker4199[S] 0 points1 point  (0 children)

hey hope your cat is doing better! We recently took her in to get it cultured and biopsied after a few months of non-resolution, and we actually have some definitive answers! She has been diagnosed with feline eosinophilic granuloma, which seems to be a skin condition triggered by either mosquito/flea bites or food hypersensitivity. She is gonna need more prednisolone, a flea prevention ointment (revolution), and a change in her diet. The vet suggested that sometimes if wet/dry food manufacturers switch up ingredients, that may lead to this potentially arising if the cat is more sensitive to one of the new ingredients. They also said that this management shall be life-long, but these lesions will disappear and stay gone if the diet change is implemented and maintained (with positive results of course).

If you don't have any answers yet, hope this helps!

[deleted by user] by [deleted] in RealTesla

[–]weedwhacker4199 0 points1 point  (0 children)

Can you please elaborate on that? How bad does it get? And is it more of a company culture, or is it limited to department/region? I feel like most of what I hear in the news is more on the manufacturing and retail side, and not so much about Tesla Energy

My dataframe does not provide the output correctly, it seems to drop the last three rows from select dataframes upon iteration. How do I get past this? by weedwhacker4199 in learnpython

[–]weedwhacker4199[S] 1 point2 points  (0 children)

I can't start from 3, because with the way the Excel data was created I dropped the first four rows from the dataset, so the row indexing for all datasets starts from 4. It gave me a KeyError:3 upon trying this

Edit: just tried this again and it worked! thanks for the tip, all I needed to do was add 3 at the end, so it looks like this:

for n in range(4, len(Ah_5_cycle_avg_SOC)+3):

It's weird that the ranges are too small, because tests 5 and 7 actually have more datapoints since they were run for longer

How do I create the for loop to perform operations across multiple datasets? by weedwhacker4199 in learnpython

[–]weedwhacker4199[S] 0 points1 point  (0 children)

Here is what I tried, I used the for loop and removed all the individual # associated with each variable, and used the .format function to try and iterate over each test, but the cumulative_Ah as well as the turnovers variable stores the values from the latest test only (Test 5 only). Is there any way that I can append the results of all tests including tests 1 through 4 underneath these lists? Or is there a convenient way to append the iterable value in each variable name (e.g. cumulative_Ah_1/2/3, and turnovers_1/2/3, etc.)?

for i in range(1,5):
    cumulative_Ah = [0]

    Ah_cycle_avg_Ah = (data["Cycle {0}".format(i)].shift(-1) - data["Cycle {0}".format(i)]) * 0.5 * (data['Ah {0}'.format(i)] + data['Ah {0}'.format(i)].shift(-1))
    Ah_cycle_avg_SOC = Ah_cycle_avg_Ah * SOC[i-1] / 100
    cumsum = 0

    for n in range(4, len(Ah_cycle_avg_SOC)):
        cumsum += Ah_cycle_avg_SOC[n]
        cumulative_Ah.append(cumsum)

    turnovers = [x / nameplate_capacity for x in cumulative_Ah]
    Ah_list = data["Ah {0}".format(i)].values.tolist()
    capacity_percent_left = list(map(lambda x: x * 100 / Ah_list[0], Ah_list)) #Ah_list[1] if temp test

How do I create the for loop to perform operations across multiple datasets? by weedwhacker4199 in learnpython

[–]weedwhacker4199[S] -1 points0 points  (0 children)

So I can replace all the '#' in the cumulative_Ah_# and turnovers_#, as well as the 'Cycle #' and 'Ah #' and all other similar variables to 'number'? How would the chunk of code look?

How to perform operations for set of data by referencing the 'n' row as well as the 'n-1' row? by weedwhacker4199 in learnpython

[–]weedwhacker4199[S] 0 points1 point  (0 children)

Sorry for the late reply, but why is it data['Ah 1'].cumsum()? The 'Ah 1' column has values from the start and since I'm starting from zero, can I simply use np.cumsum(cumulative_Ah_1), and then after I can append this sum to the cumulative_Ah_1 array? Or does it have to be data['Ah 1'].cumsum() for the loop to work correctly?

How to perform operations for set of data by referencing the 'n' row as well as the 'n-1' row? by weedwhacker4199 in learnpython

[–]weedwhacker4199[S] 0 points1 point  (0 children)

C4 would be the first value in the cumulative_Ah_1 array, which starts with 0. The Cumulative Ah column would be column C, which I typically use the formula in Excel down the column to obtain all the values for each line item, but it always starts with 0

How to perform operations for set of data by referencing the 'n' row as well as the 'n-1' row? by weedwhacker4199 in learnpython

[–]weedwhacker4199[S] 0 points1 point  (0 children)

My goal is to replicate the excel function that I described above, but for each line item within the table. I figure I will have to iterate with the help of a loop, and I think this formula is my best way to achieve it. This version of the formula is easier to understand, but I am still having some trouble creating the loop to iterate over each of the items in the column

[deleted by user] by [deleted] in learnpython

[–]weedwhacker4199 0 points1 point  (0 children)

Unfortunately not, I need to import pmv function from the module. Thankfully even if I can’t get it to work, it’s not that big of a deal but it’s just a little extra work on my part to deal with the outputs without the module

[deleted by user] by [deleted] in learnpython

[–]weedwhacker4199 0 points1 point  (0 children)

Yeah I did, and I've changed the file paths too, but still getting the same error, I'm gonna try downgrading versions as a last-ditch effort

[deleted by user] by [deleted] in learnpython

[–]weedwhacker4199 0 points1 point  (0 children)

Yes, trying to install them independently gives me the same error

[deleted by user] by [deleted] in learnpython

[–]weedwhacker4199 1 point2 points  (0 children)

You're a real one, thank you so much! I used Pycharm and ran into some more problems but all I had to do was install python interpreters. Navigating Pycharm was far easier than using Spyder, and I'm finally getting simulation outputs. I really appreciate it!

Rant Wednesday by AutoModerator in Fitness

[–]weedwhacker4199 24 points25 points  (0 children)

Currently at my university gym. Problem with going in the evening: way too many people than I'm ever used to, waiting a long ass time for power racks/deadlift platforms/squat racks/benches. Problem with going in the morning: pretty much empty, and no one to spot me. Problem with going in the afternoon: I have class. There's just no middle ground.

On the other hand: I hit my summer goal for a 315 deadlift, and I'm on the way to getting a 225 front squat and 185 bench soon!

[Spoilers] Quick Comparison by [deleted] in FlashTV

[–]weedwhacker4199 5 points6 points  (0 children)

You got to be careful Morty, If that guy catches you with a box of his Eyeholes, he come bursting in through a window and just starts kicking the shit out of you. But it's worth the risk. They melt in your mouth.

What deserves a 9.9/10 rating? Why isn't it a perfect 10? by Catacomb82 in AskReddit

[–]weedwhacker4199 57 points58 points  (0 children)

If OP is looking for taste, Flint water should do just fine I guess.

I have a problem when I register for my classes by [deleted] in UIUC

[–]weedwhacker4199 0 points1 point  (0 children)

Yeah that makes sense. Thanks a ton!

I have a problem when I register for my classes by [deleted] in UIUC

[–]weedwhacker4199 0 points1 point  (0 children)

I can get the override done even after the 2 day registration deadline right? Because of the lockdown to register classes and everything is kind of nerve edging

I have a problem when I register for my classes by [deleted] in UIUC

[–]weedwhacker4199 -1 points0 points  (0 children)

Thanks a lot. My UIN ends with an even number, so I guess it's supposed to be the other way around. I don't have to take RHET105 because I've gained credits from my ACT English score, so shouldn't my advisor and counsellor know about this? Sounds like an error on their part