@ambv pdb -p
???
REALLY?
I think I just died and went to #pythonista heaven :)
(Also WOW do I wish I had that feature when I worked at AMZN. Can't tell you how many times I had to try and debug a deeply embedded process running positively GNARLY enterprise Python code!)
We’re very excited to be kicking off 2025 with an exciting announcement… PyCon UK is back, and we’re moving to a brand-new location!
After several fantastic years in Cardiff, the 2025 conference is heading up north. We’re thrilled to announce that PyCon UK 2025 will be held in Manchester from the 19th to the 22nd of September 🗓️
Expect a full program of talks, workshops, and sprints for all Pythonistas. We look forward to seeing you there! 🐍
I just stumbled on the following #Python code
if not (3 <= len(sys.argv) <= 4):
Which I find quite confusing (or even revolting)
Additionally I think it is wrong as the program takes exactly 2 arguments.
So
if ( len(sys.argv) != 3):
would have been far easier to understand.
Nevertheless, can a #Pythonista please explain me the pattern?
From other programming languages I would have expected it to fail miserably because the evaluation order would have created something like
(3 <= len(sys.argv) )<= 4)
where the first part would evaluate to true or false which both are likely smaller than 4
Hello Pythonistas,
Hope to see you all in meet up again!
Our next meet-up will be on Wednesday, November 6,2024.
Join us, have a chat, and learn more featutes of aider.chat by Jane Ooi & Timothy Downs and arithmetic trading in Python by Adolfo Villalobos.
Book your spot at https://www.meetup.com/melbourne-python-user-group/events/304091942/?utm_medium=referral&utm_campaign=announceModal_savedevents_share_modal&utm_source=link and join us at 5:30 pm on Wednesday, November 6 at Judo Bank, in the Queen and Collins Building, Level 26/376-390 Collins St, Melbourne VIC 3000, Australia.
#Python #Pythonmeet-up #Pythonista
The last tool on the list is another allrounder 🚀
📦 summarytools (by Dominic Comtois)
I’m a visual person and I like to “see” my data. With a combination of two commands from {summarytools} that’s easy and you get a descriptive overview in your viewer pane in your IDE.
🔗 https://github.com/dcomtois/summarytools
---------------------
Looking for more #rstats packages for #EDA? Check out this blog post: https://bit.ly/eda-in-rstats
#pythonista? A series is coming soon!
The next #rstats package comes with a full suite of functions to wrangle your data 🛠️
📦 SmartEDA (by Dayanand Ubrangala and others)
I like to use a powerful function to get a brief overview of the data - if you’re looking for more, it can also generate a standardized #HTML report for you.
🔗 https://daya6489.github.io/SmartEDA/
---------------------
Looking for more #rstats packages for #EDA? Check out this blog post: https://bit.ly/eda-in-rstats
#pythonista? A series is coming soon!
Exploratory analysis on any input data describing the structure and the relationships present in the data. The package automatically select the variable and does related descriptive statistics. Analyzing information value, weight of evidence, custom tables, summary statistics, graphical techniques will be performed for both numeric and categorical predictors.
Hello Pythonistas,
Hope to see you all in meet up again!
Our next meet-up will be on Wednesday, October 2.
Join us, have a chat, and learn more about migrating COBOL data to PostgreSQL using Python and Django by Alan and Knowledge Graphs and GNNs by Mohammad.
👉 Book your spot-https://www.meetup.com/melbourne-python-user-group/events/303495628/?eventOrigin=group_upcoming_events and join us at 5:30 pm on Wednesday, October 2 at Judo Bank, in the Queen and Collins Building, Level 26/376-390 Collins St, Melbourne VIC 3000, Australia.
#Python #Pythonmeet-up #Pythonista
I like the next one because without creating full-blown plots, you get visuals. How cool is that?
📦 skimr (by Elin Waring and others)
As you can see in the screenshot, calling skimr::skim() gives you a wealth of descriptive statistics - all readily accessible in your console.
🔗 https://docs.ropensci.org/skimr/
---------------------
Looking for more #rstats packages for #EDA? Check out this blog post: https://bit.ly/eda-in-rstats
#pythonista? A series is coming soon!
A simple to use summary function that can be used with pipes and displays nicely in the console. The default summary statistics may be modified by the user as can the default formatting. Support for data frames and vectors is included, and users can implement their own skim methods for specific object types as described in a vignette. Default summaries include support for inline spark graphs. Instructions for managing these on specific operating systems are given in the "Using skimr" vignette and the README.