Filter by source
All sources GoCardless 6194 PubNub: 2474 Vercel 1664 Ariya Hidayat 849 Serverless 849 Jake Trent 816 Drew DeVault 784 Nic Raboy 734 SitePoint 629 Neon 504 Supabase 435 Shopify 432 Soundcloud 409 Databricks 396 Real Python 394 Johannes Brodwall 378 Jeremy Kun 327 Laravel 296 PostHog 294 Twilio 259 Graham King 257 MapTiler 257 Carlos Becker 252 Scott Johnson 250 Cloudflare 244 Lea Verou 244 Matt Aimonetti 231 Atomic Object 218 Andrew Bancroft 214 Nvidia 210 Stanko Tadić 189 Lerner Consulting 188 Stack Overflow 183 Freek Van der Herten 182 The Daily WTF 168 Raymond Chen 165 Trivago 159 GitHub Old 155 Discord 140 Dan Luu 137 WyeWorks 134 Swizec Teller 133 Una Kravets 132 Auth0 129 Codrops 126 OCTO Technology 123 Reginald Braithwaite 121 Android 119 Jane Street 119 Hostinger 118 Radek Pazdera 118 Warp 114 AWS 110 Antirez 110 Thoughtbot 105 Cerner 103 AdRoll 102 Changelog 101 Jake Wharton 101 Nelson Elhage 98 Martin Fowler 96 dbt Labs 95 Ilija Eftimov 94 Marek Majkowski 94 Docker 87 .NET 86 Finn.no 86 Nick Desaulniers 86 Hayden James 84 Marcelo Rinesi 84 Nordic APIs 82 Timescale 82 Toptal 82 Luciano Mammino 80 Sentry 79 Wingify 78 Jessie Frazelle 77 Monica Dinculescu 77 Matt Warren 76 Drivy 75 Jan Lelis 75 T.J. Maher 74 Paweł Chudzik 73 Kotlin 69 Ebay 68 Mykhailo Kozik 68 Axel Rauschmayer 64 Mozilla Release 64 Evil Martians 63 Confluent 62 Tania Rascia 60 0xADADA 59 Jake Yesbeck 59 Khan Academy 59 Tailscale 59 Dean Hume 57 RoseHosting 56 SurveyMonkey 53 jOOQ 53 Sam Saffron 51 Facebook AI Research 48 Monstermuffin 48 Huon Wilson 45 Philip Walton 45 Dennis Felsing 44 HackerEarth 44 Rust 44 The Pragmatic Engineer 44 Fly.io 43 Josh Sherman 42 Stripe 42 Gleb Bahmutov 41 Robin Ward 41 Philipp Oppermann 40 Armin Ronacher 36 Daniel Doubrovkine (dB.) 36 Alex Russell 35 Grab 35 Addy Osmani 34 Airbnb 34 Pinterest 34 Tumblr 33 8th Light 32 Joe Nelson 32 Brandwatch 31 Palantir 31 Bartlomiej Filipek 30 Domenico Luciani 30 Lazarus Lazaridis 30 Pamela Fox 30 Evan Miller 29 IPFS 29 Vanilla Java 29 Evan Hahn 28 Jonathan Snook 28 PagerDuty 28 Ruslan Spivak 28 Dereuromark 27 Okta 27 Petr Mitrichev 27 Red 27 GitHub 26 Julia Evans 26 Mozilla Hacks 26 Bad Concurrency 25 CSC - IT Center For Science - Cloud Team 25 GameChanger 25 Guido van Rossum 25 Jay Fields 25 Jeff Preshing 25 Life Plus Linux 25 Mark Seaborn 25 Oona Räisänen 25 Srinivas Tamada 25 Stephen Colebourne 25 Steve Yegge 25 Criteo 24 Eli Bendersky 24 Kogan.com 24 Squarespace 24 Dropbox 23 Crystal 22 Elegant Code 22 Babbel 21 Blundell's Android Tutorials 21 Gusto 21 HomeAway 21 Netflix 21 Dave Cheney 20 David Walsh 20 Erlang Solutions 20 Guardian 20 Justin Weiss 20 Michael Herman 20 Miguel Quinones 20 Mike Ash 20 Ole Begemann 20 Paul Irish 20 Robert C. Martin 20 Stefan Parker 20 Target 20 Wilfred Hughes 20 Yahoo 20 Instacart 19 Jeff Atwood 19 Spotify 19 Thumbtack 19 Aaron Patterson 18 Arkency 18 Nikola Brežnjak 18 The Coded Self 18 Chris Wellons 17 Jerry Gamblin 17 Matthew Green 17 Wealthfront 17 Filippo Valsorda 16 Medium 16 Postmark 16 RocksDB 16 Stack Abuse 16 Yegor Bugayenko 16 Zach Holman 16 Amit Merchant 15 Bigcommerce 15 Blender 15 Edward Faulkner 15 High Scalability 15 Housing.com 15 Hypriot 15 Jacopo Tarantino 15 John Wittenauer 15 Lambda the Ultimate 15 Localytics 15 Microsoft Python 15 Robin Wilson 15 Slack 15 Advanced Web Machinery 14 Grofers 14 Helpshift 14 HubSpot 14 OLX 14 REA Group 14 Rob Allen 14 Vlad Mihalcea 14 Bootstrap.com 13 Feedzai 13 Grafana 13 Indeed 13 Lyft 13 Michael Crump 13 Nextdoor 13 Scott Hanselman 13 Strava 13 Bazaarvoice 12 Canva 12 Henrik Warne 12 Jon Skeet 12 Mary Rose Cook 12 Nicolas Liochon 12 Novoda 12 Steve Bellovin 12 Abu Ashraf Masnun 11 Badoo 11 Deliveroo 11 Eric Lippert 11 Haptik 11 Hashrocket 11 JobTeaser 11 Kevin Burke 11 Marco Pivetta 11 New York Times 11 OpenDNS 11 Paypal 11 Ramon Fried 11 RisingStack 11 Small Improvements 11 VNGRS 11 Vinted 11 Zendesk 11 Alan Storm 10 Appnexus 10 Artsy 10 BBC 10 Benchling 10 Bill the Lizard 10 Bohops 10 Brendan Eich 10 Brendan Gregg 10 Brujo Benavides 10 Clever 10 Curalate 10 Daily JS 10 Daily Tech Video 10 Daniel Schmidt 10 Dot Dev (.dev) 10 Dragan Djuric 10 Eddie Smith 10 Eric Elliot 10 Erik Runyon 10 Evan Jones 10 Federico Cargnelutti 10 Findmypast 10 Flickr 10 Freeletics 10 GoSquared 10 Groupon 10 Harry's 10 Henrik Lau Eriksson 10 High Scalability 10 Hootsuite 10 Idontgetoutmuch's Weblog 10 Itamar Turner-Trauring 10 Jamis Buck 10 Jesal Gadhia 10 Joel Spolsky 10 Juan Treminio 10 Junior Grossi 10 Kirill Shevchenko 10 Larry Land 10 Matt Cutts 10 Matt Might 10 Mesosphere 10 Miro Cupak 10 Miro 10 NSHipster 10 Nick Craver 10 Ofer Zelig 10 Panorama Education 10 Pat Shaughnessy 10 Piotr Pasich 10 Pony Foo 10 Postman 10 ReactJS News 10 Regular Geek 10 Remind 10 RetailMeNot 10 Riot Games 10 Schakko 10 Skyscanner 10 Stitch Fix 10 Teamwork 10 Tikhon Jelvis 10 Tinder 10 Transferwise 10 TrueCar 10 Undocumented Matlab 10 Universe 10 UpGrad 10 VTS 10 Wojtek Gawroński 10 XING 10 Yammer 10 Yifan Lu 10 Zolmeister 10 eFounders 10 Josh Haberman 9 Nate Berkopec 9 Wemake.services 9 Mike Fogus 8 Ian Hummel 7 Ilya Grigorik 6 K. Harrison 6 Sensible 6 James Long 5 Thomas Young 5 Edgar Aroutiounian 4 Avenue Code 3 Bandcamp 3 James Hague 3 Raymond Hettinger 3 Algolia Anders Aarvik Ariejan de Vroom Asana Atlassian Bjørn Johansen Blake Erickson Bryan Cantrill Capgemini Chen Hui Jing Chien Tran Cloudera Cloudsmith CockroachDB Code with style! CodeName One Codelitt Codeship Commercetools Credit Karma Crowdfire Deezer DoorDash Dragan Gaic Engine Yard Entelo Envato Envoy Eventbrite Federico Tomassetti Figma GIPHY Galois Go GoDaddy Guilherme Rodrigues Hashnode Heroku Honeybadger Honeycomb IMVU Ievgen Kuzminov Instagram Jobandtalent John Resig Jonathan Dekhtiar Just Eat Kinvolk Kolosek Kyle Kingsbury LINE Linear LiveRamp Liveblocks Made Tech Marc Plano-Lesay Microsoft Edge Moove-it Mozilla Automation Team NPR Apps Nicolai Parlog (CodeFX) Oursky Oxide Computer Paul Lewis Peter Norvig Peter Steinberger Peteris Krumins PicCollage PlanetScale Prezi PullReview Rachel Kroll Radim Řehůřek Ray Wenderlich React Native Render Retool Schibsted Tech Polska Sharethis Sketch Sky Betting & Gaming Soshace Speedledger Sqreen Square Stackshare Swift Swiggy Takipi Temporal Turso Vena Solutions VersionEye Wayfair William Kennedy Zed Zendesk(old) theScore
188 articles Visit blog →

151. Pandas datetime rounding: dt.floor, dt.ceil, and dt.round (lernerpython.com)

Want to round Python Pandas datetimes? You have 3 options: – dt.floor — earlier– dt.ceil – later– dt.round — nearest For example: The post Pandas datetime rounding: dt.floor, dt.ceil, and dt.round appeared first on LernerPython.

152. Pandas dt.normalize: Setting datetime times to midnight (lernerpython.com)

Want to set the time on a Python Pandas series of datetimes to midnight? Use dt.normalize: You get back series of datetime values, but all times are 00:00:00. The post Pandas dt.normalize: Setting datetime times to midnight appeared first on LernerPython.

154. Convert Unix timestamps to datetime in Pandas with pd.to_datetime (lernerpython.com)

Want to convert an integer Python Pandas column from Unix time to datetime? Use pd.to_datetime, passing the int column and the “unit” keyword argument, set to “s” (seconds): If the […] The post Convert Unix timestamps to datetime in Pandas with pd.to_datetime appeared first on LernerPython.

156. Pandas to_period: Finding which period contains a datetime (lernerpython.com)

Want to find which time period contains a Python Pandas datetime? Use to_period: This returns a Pandas “Period” object, useful (among other things) for checking if two dates are within […] The post Pandas to_period: Finding which period contains a datetime appeared first on LernerPython.

159. `★ Insight ─────────────────────────────────────` (lernerpython.com)

Use dt.day_of_week to get the day number from a Python Pandas datetime series. But is 0 Sunday or Monday? Or not used at all? Better: Use the day_name method: Good […] The post `★ Insight ─────────────────────────────────────` appeared first on LernerPython.

160. Pandas .dt accessor: Extracting year, hour, and day_of_week (lernerpython.com)

Want to grab a part of datetime value in a Python Pandas data frame column? Use “dt”: day_of_week returns an integer, where 0 is Monday and 6 is Sunday. The post Pandas .dt accessor: Extracting year, hour, and day_of_week appeared first on LernerPython.

161. pandas read_csv date parsing: Using the date_format keyword (lernerpython.com)

Reading a CSV into Python Pandas, and parse_dates doesn’t recognize the format? Pass the date_format keyword arg: All strftime codes work! The post pandas read_csv date parsing: Using the date_format keyword appeared first on LernerPython.

162. Take agentic coding to the next level (lernerpython.com)

If you’re like me, then you’ve lately been exploring agentic coding, having AI write code on your behalf. What will be the impact on our work developing software? On hiring? […] The post Take agentic coding to the next level appeared first on LernerPython.

163. Pandas parse_dates: Reading CSV date columns as datetimes (lernerpython.com)

Reading a CSV into Python Pandas, and want a column to be treated as datetime values? Use parse_dates: Bonus: The PyArrow engine often (not always) parses columns that look like […] The post Pandas parse_dates: Reading CSV date columns as datetimes appeared first on LernerPython.

164. pd.to_datetime: Converting a pandas string column to datetimes (lernerpython.com)

Want to take a Python Pandas series of strings, and get datetime values? Use pd.to_datetime: Notice: It’s not a method! It’s a top-level pd function. Specify a non-standard “format” with […] The post pd.to_datetime: Converting a pandas string column to datetimes appeared first on LernerPython.

166. Python strptime vs. strftime: Parsing versus formatting dates (lernerpython.com)

Having a tough time remembering Python strptime vs. strftime? – The “p” (strptime) is for parsing, getting a datetime from a string– The “f” (strftime) is for formatting, getting a […] The post Python strptime vs. strftime: Parsing versus formatting dates appeared first on LernerPython.

167. Python string to datetime: Parsing dates with strptime (lernerpython.com)

Want to parse a Python string into a datetime? Use strptime, passing (a) the string and (b) the date format specification: Both return datetime.datetime(2026, 4, 1, 0, 0) The post Python string to datetime: Parsing dates with strptime appeared first on LernerPython.

173. pandas date_range: Creating a DatetimeIndex with freq (lernerpython.com)

Generate a Python Pandas DatetimeIndex of datetime values, specifying the frequency, by passing freq and a code: This returns a 184-element DatetimeIndex with evenly-spaced datetime values in that period. The post pandas date_range: Creating a DatetimeIndex with freq appeared first on LernerPython.

174. pd.date_range: Evenly spaced Pandas dates with periods (lernerpython.com)

Generate a Python Pandas DatetimeIndex of datetime values with pd.date_range: This returns a 10-element series with evenly-spaced datetime values in that period. The post pd.date_range: Evenly spaced Pandas dates with periods appeared first on LernerPython.

175. Pandas datetime filtering: Rows before now with pd.Timestamp.now() (lernerpython.com)

Have a Python Pandas series with datetime values, and want all those until now? Compare with pd.Timestamp.now(): This returns the rows from df where the “when” column is before now. The post Pandas datetime filtering: Rows before now with pd.Timestamp.now() appeared first on LernerPython.

176. Pandas .str.contains: Finding and filtering rows by substring (lernerpython.com)

Want to check whether a Python Pandas series contains another string? Use .str.contains: This returns a boolean series, whose index matches that of df. Keep only those rows containing ‘a’: The post Pandas .str.contains: Finding and filtering rows by substring appeared first on LernerPython.

177. Python keyword-only parameters: Setting default values (lernerpython.com)

Keyword-only parameters in a Python function can have a default: Now call it: Remember: parameters with defaults come *after* those without. The post Python keyword-only parameters: Setting default values appeared first on LernerPython.

178. Python keyword-only parameters: Using * and *args in def (lernerpython.com)

Any Python function parameters after *args are keyword-only: Want to give k a value? Use a keyword argument: Don’t need *args? Just use *, and k is keyword only: The post Python keyword-only parameters: Using * and *args in def appeared first on LernerPython.

179. Type hints for *args in Python: Annotate the element type (lernerpython.com)

How to annotate *args in Python? Just set the elements’ type; we know it’s a tuple: Normally, tuples contain different types. In args, we assume all values have the same […] The post Type hints for *args in Python: Annotate the element type appeared first on LernerPython.
Type to search HN and engineering blog articles
Press Escape to close  |  ↑↓ to navigate  |  Enter to open