digitalcourage.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Diese Instanz wird betrieben von Digitalcourage e.V. für die Allgemeinheit. Damit wir das nachhaltig tun können, erheben wir einen jährlichen Vorausbeitrag von 1€/Monat per SEPA-Lastschrifteinzug.

Server stats:

816
active users

#Py

1 post1 participant0 posts today

Sorry for a Python beginner question -- to import a csv to a pandas Series,

1.
Is it true that this is deprecated:

pd.read_csv("location.csv", squeeze=True)

And should be use something like this:

pd.read_csv("location.csv", usecol=[0])

2.
How can I know which pandas version an ipynb file is using? -- the first code runs in the tutorial video but mine got an error.

3.
How can I know if something is deprecated or changed?

#python#py#pandas

I'm several decades familiar with many, many programming languages, but have about a half-dozen that I'd consider *daily driver* languages. #python is not one of them.

I'm writing a lil' thing in #py, and have to keep looking up what modules to include for basic things... and every single time, the answer is exactly what I would have intuited.

"What would I call my datetime module if I were me? I'd call it *datetime*." It's *datetime*.

"If I wanted today's date, I'd want 'date.today()'". Yup.

I guess that's why it's so widely recommended as a starter language. Not starter because it's lacks advanced features, but because it lacks unnecessary confusion!

I should probably do a #introduction

Hiya! My name is Vixey, I go by She/Her, and I recently moved from mastodon.social, mostly because I was curious to see what other instances were like 😅
I like:
- Making/listening to #music
- #art
- 3D modeling
- Pretending I know how to code (#python, #JavaScript starting to learn other languages too)
- Voice Acting
- 5 million other various interests lol
- #dnd

Various hashtags:
#programming #dev #js #py #WebDev

Client i use: elk.zone/

ElkElkA nimble Mastodon web client