Goticunty's Avatar

Goticunty

@sugardeydem.bsky.social

(they/she) Boyn't. Hyperpop princess. Degenerate beauty queen. 1% Data science content, 99% shitpost.

18 Followers  |  22 Following  |  17 Posts  |  Joined: 22.11.2023  |  1.6211

Latest posts by sugardeydem.bsky.social on Bluesky

If you want to get all of them just dount use iloc. If you want to get the first for each id, group by and aggregate with a lambda that filters and takes the first instance

28.11.2023 14:56 — 👍 0    🔁 0    💬 0    📌 0

Me da gusto saber que no soy la única persona a la que el iphone le autocorrige "voy" como "voyager" aunque esté desactivado el autocorrect.

24.11.2023 15:59 — 👍 1    🔁 0    💬 1    📌 0
Preview
chnnxyz - Overview Your personal data science saviour. chnnxyz has 33 repositories available. Follow their code on GitHub.

I know there's no DMs here but you can find contact info on my github too github.com/chnnxyz

24.11.2023 15:08 — 👍 1    🔁 0    💬 1    📌 0

You're welcome. Feel free to hit me up any time with questions on R or Python (specially python, my R is kind of rusty lol) and I will most likely be able to help.

24.11.2023 15:06 — 👍 1    🔁 0    💬 1    📌 0

filter(): add as many boolean rules as you want. commas work as AND statements
group_by(): pick one or more variables to group, then operate on them with summarise() or agg

24.11.2023 14:58 — 👍 1    🔁 0    💬 1    📌 0

I have some notes but they are in spanish but here is a summary.
select(): grab only the columns passed as arguments or removed if passed as negative
mutate(): create a new column, it can be a function of other columns (see lapply, etc)

24.11.2023 14:57 — 👍 1    🔁 0    💬 1    📌 0

Econometrics dudes be like "oh yes i can predict the future with a linear regression" and then get an R^2 of 0.5.

24.11.2023 14:51 — 👍 0    🔁 0    💬 0    📌 0

also might be too late for the reply since tweet was two days ago but
d1 = df[df['col_a']=='event_a'].iloc[0]['date']
d2 = df[df['col_b']=='event_b'].iloc[0]['date']
then just make d1 and d2 into datetimes if they are strings and subtract or use timedelta.

24.11.2023 14:48 — 👍 1    🔁 0    💬 2    📌 0

While I think R is absolute trash in terms of complexity and memory management. I vouch for tidyverse against pandas any single day. It is indeed less intuitive in the beginning because nobody is used to the functional programming paradigm, but I take %>% over chaining methods any day.

24.11.2023 14:45 — 👍 1    🔁 0    💬 1    📌 0

And frankly, if you have a plausible idea where to even begin on the problem “how do we teach a LLM object permanence” then congratulations, you are now the most brilliant AI researcher on the planet.

23.11.2023 19:45 — 👍 4    🔁 1    💬 1    📌 1

Also it seems that since 2.13 we can just pip install tensorflow github.com/tensorflow/t...

24.11.2023 00:55 — 👍 0    🔁 0    💬 0    📌 0

Tensorflow-macos has more recent updates on pip, for starters, and will install the metal api on apple silicon. Dont quote me on this last part because tgere's zero documentation bur i think it installs and manages deps for apple silicon and intel accordingly

24.11.2023 00:45 — 👍 0    🔁 0    💬 1    📌 0

tf-metal came a bit after precompiled binaries in conda-forge. also, it is recommended to instead pip install tensorflow-macos

24.11.2023 00:29 — 👍 0    🔁 0    💬 0    📌 0

Prolly gonna use this account mostly to ramble about mathematics/science topics so feel free to follow if interested or unfollow if boring.

24.11.2023 00:17 — 👍 0    🔁 0    💬 0    📌 0
Preview
Statisticians issue warning over misuse of P values - Nature Policy statement aims to halt missteps in the quest for certainty.

Classical statistics make absolutely no sense to me and people are giving P values too much power and there is absolutely nothing new to the fact that people have no clue about what they actually mean.

www.nature.com/articles/nat...

23.11.2023 23:31 — 👍 0    🔁 0    💬 0    📌 0

I feel personally attacked. ℏ is also 1 btw.

22.11.2023 05:13 — 👍 0    🔁 0    💬 0    📌 0

First impressions on bluesky:
- Feeds are insanely useful and make the experience fully customizable
- Bluesky is super developer-friendly and that is neat
- Place is hella empty, at least from a perspective of the LatAm community. Can't find even 20 of the people I follow on twitter.

22.11.2023 05:02 — 👍 1    🔁 0    💬 1    📌 0

Hello bluesky. Ni perra idea de quien de las personas a las que sigo Del Otro Lado está aquí.

22.11.2023 04:49 — 👍 3    🔁 0    💬 1    📌 0

@sugardeydem is following 20 prominent accounts