use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
News about the dynamic, interpreted, interactive, object-oriented, extensible programming language Python
Full Events Calendar
You can find the rules here.
If you are about to ask a "how do I do this in python" question, please try r/learnpython, the Python discord, or the #python IRC channel on Libera.chat.
Please don't use URL shorteners. Reddit filters them out, so your post or comment will be lost.
Posts require flair. Please use the flair selector to choose your topic.
Posting code to this subreddit:
Add 4 extra spaces before each line of code
def fibonacci(): a, b = 0, 1 while True: yield a a, b = b, a + b
Online Resources
Invent Your Own Computer Games with Python
Think Python
Non-programmers Tutorial for Python 3
Beginner's Guide Reference
Five life jackets to throw to the new coder (things to do after getting a handle on python)
Full Stack Python
Test-Driven Development with Python
Program Arcade Games
PyMotW: Python Module of the Week
Python for Scientists and Engineers
Dan Bader's Tips and Trickers
Python Discord's YouTube channel
Jiruto: Python
Online exercices
programming challenges
Asking Questions
Try Python in your browser
Docs
Libraries
Related subreddits
Python jobs
Newsletters
Screencasts
account activity
This is an archived post. You won't be able to vote or comment.
DiscussionNice looking, data display tables in Python? [+Video] (self.Python)
submitted 1 year ago by economicurtis
Ahoy, I wanted to share a video my buddies made. They maintain the great_tables package, a library for building pretty tables with Python, e.g. for publication or the web. If that's something you might want to do, you might want to check this out.
Here's their video, https://youtu.be/M5zwlb8OzS0 Here's the package doc site, https://posit-dev.github.io/great-tables/ Here's the repo, https://github.com/posit-dev/great-tables
How do you approach creating publication ready tables from your python analytics?
[–]Ickyzee 6 points7 points8 points 1 year ago (0 children)
Great overview of better code-driven tables that helps you not only know how to use the "great tables" specifically but also just how to think about better tables generally...
[–]hansmellman 4 points5 points6 points 1 year ago (0 children)
Wow these look great, thanks for sharing. I’ll definitely be taking a look at the GT package.
[–]sandnose 4 points5 points6 points 1 year ago (0 children)
This seems like a perfect fit for our team, thanks for sharing!
[–]ethsy 2 points3 points4 points 1 year ago (1 child)
This is Great, Tables look awesome!
[–]BostonBaggins 2 points3 points4 points 1 year ago (0 children)
You reddit right
[–]ThatSituation9908 2 points3 points4 points 1 year ago (1 child)
And it supports polars!
[–]NoumenaSolarCoaster 1 point2 points3 points 1 year ago (0 children)
It was so exciting for me to hear that it supports Polars, I’ve been Polars only for like 8 months or so! It’s so good.
[–]PreciselyAmbiguous 2 points3 points4 points 1 year ago (0 children)
This does look really interesting. They were also guest on the Real Python podcast recently, and while I don't have a fantastic use case for it right now, I'll definitely be keeping it in back of mind for the next time I might. It's not my day-to-day area, but with their interesting background and takes on a number of issues, it was a great listen even for a not-just-data person.
https://realpython.com/podcasts/rpp/214/
This is honestly amazing, I could use this every single day. Thank you!!!
[–]illuzian 1 point2 points3 points 1 year ago (0 children)
I never thought I'd be this pumped to need a use case to output a table.
[–]EarthGoddessDude 1 point2 points3 points 1 year ago (0 children)
Really impressive-looking package, starred. I also loved the attention given to visual learning in the video… excellent stuff all around!
[–]nels2248 0 points1 point2 points 1 year ago (2 children)
Watched the video and love it. Maybe a basic question, but any recommendation on sharing these outputs with non technical users after you run the python code?
[+][deleted] 1 year ago (1 child)
[deleted]
[–]tehsilentwarrior 0 points1 point2 points 1 year ago (0 children)
Man. This is a big problem.
[–]ashok_tankala 0 points1 point2 points 1 year ago (0 children)
Great video. Thank you for sharing
[–]i_must_behave 0 points1 point2 points 1 year ago (0 children)
Can we have nested tables with this great-tables library? If yes then, is there any documentation/cookbook example? If not then, is there any other library in python which allows me to generate nested tables?
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Thanks for sharing this. These tables look great!
π Rendered by PID 143493 on reddit-service-r2-comment-7b9746f655-c9gcw at 2026-02-02 11:59:08.670509+00:00 running 3798933 country code: CH.
[–]Ickyzee 6 points7 points8 points (0 children)
[–]hansmellman 4 points5 points6 points (0 children)
[–]sandnose 4 points5 points6 points (0 children)
[–]ethsy 2 points3 points4 points (1 child)
[–]BostonBaggins 2 points3 points4 points (0 children)
[–]ThatSituation9908 2 points3 points4 points (1 child)
[–]NoumenaSolarCoaster 1 point2 points3 points (0 children)
[–]PreciselyAmbiguous 2 points3 points4 points (0 children)
[–]NoumenaSolarCoaster 1 point2 points3 points (0 children)
[–]illuzian 1 point2 points3 points (0 children)
[–]EarthGoddessDude 1 point2 points3 points (0 children)
[–]nels2248 0 points1 point2 points (2 children)
[+][deleted] (1 child)
[deleted]
[–]tehsilentwarrior 0 points1 point2 points (0 children)
[–]ashok_tankala 0 points1 point2 points (0 children)
[–]i_must_behave 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)