Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
closed
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
closed
3mo ago
Hey! I worked on the plotnine guide ( https://plotnine.org/guide/ ). Always interested to hear what people find hard to understand about plotnine, or what they wish there were more of (e.g. examples, guide pages, api ref
2.
▲
by
closed
1y ago
I have used numpy, but don't understand what it has to do with dataframe apis Take two examples of dataframe apis, dplyr and ibis. Both can run on a range of SQL backends because dataframe apis are very similar to SQL DML apis. Moreove
3.
▲
Data Validation Libraries for Polars (2025 Edition)
(posit-dev.github.io)
2 points
by
closed
1y ago
|
0 comments
4.
▲
by
closed
2y ago
I think it's often a syntax convenience. For example, Polars and Pandas both have DataFrame.pipe(...) methods, that create the same effect. But it's a bit cumbersome to write. Here's a comparison: * Method chaining: `df.pipe(
5.
▲
by
closed
2y ago
I think piping and method chaining are a little bit different. Piping generally chains functions, by passing the result of one call into the next (eg result is first argument to the next). Method chaining, like in Python, can't do this
6.
▲
by
closed
2y ago
Sounds like this study (published in 2008): "The space between us: stereotype threat and distance in interracial contexts" It mentions being run at Stanford, and was pretty popular (Claude Steele discussed in his book Whistling Vi
7.
▲
by
closed
2y ago
It's neat to see tablets discussed in the context of modern tools. I recently helped edit an article for Great Tables[1] that discusses the history of tables like this, and recently Hannes mentioned a protocuniform tablet in his duckdb
8.
▲
by
closed
2y ago
This is an interesting case, since the pigeon study is about what happens when the underlying process is random. But if the shape drawing process isn't random, I think the author's experience of feeling unable to articulate the ru
9.
▲
by
closed
2y ago
As someone who did statistics and psychology, I'm very surprised by this take, for a few reasons: 1. Many of the early pioneers in statistics were psychologists. 2. The econ x psych connection is strong (eg econometrics and psychometri
10.
▲
by
closed
2y ago
From a more applied angle, a book like "10 steps to complex learning" might be helpful. I come from a similar cog psych background as the Bjork Lab, so am a big fan of their research, but books like 10 steps come from instructiona
11.
▲
by
closed
2y ago
Hey one of the co-maintainers of Great Tables, along with Rich Iannone, here! I just wanted to say that Rich is the only software developer I know, who when asked to lay out the philosophy of his package, would give you 5,000 years of histo
12.
▲
The Dashboard
(mchow.com)
1 points
by
closed
2y ago
|
0 comments
13.
▲
by
closed
3y ago
I got into embroidery as a break from software engineering. Then, I got into machine embroidery and found myself running inkstitch in a docker container and submitting GitHub issues. Whoops! Can't speak highly enough of the inkstitch m
14.
▲
by
closed
3y ago
Another hint that it's a deliberately lackluster example is that it violates a rule given in the article: don't use character names.
15.
▲
by
closed
3y ago
People questioning the headline are missing the point of the underlying article. The underlying study is not about just rate of learning, but rate of learning under favorable conditions . The article describes where the data comes from: &g
16.
▲
by
closed
3y ago
Having had the great pleasure of refactoring a few python libraries, I've had to encouraged people to switch away from inheritance. You often get a ton of methods / attributes on the child class, which gets hard to keep tabs on. Y
17.
▲
by
closed
3y ago
It seems like this is a lot of the strategy behind pitching things as epics. If tweaks interact to produce considerable satisfaction / delight, then bundling them together keeps focus on what big thing happens when they're all com
18.
▲
by
closed
4y ago
Hey, I maintain a tool called siuba that converts pandas methods to SQL, including for duckdb! * duckdb example: https://siuba.org/guide/workflows-backends.html#duckdb * supported methods: https://siuba.org&
19.
▲
by
closed
4y ago
The issue is that sometimes a function can take a type that is an optional dependency, so you don't want to import it unless you are type checking. (And some types are defined in the typeshed so only exist to be imported during type ch
20.
▲
by
closed
4y ago
One interesting thing about R examples is their outputs tend to be bigger. I think this is in direct contrast to python docstrings, where outputs are very concise--because you manually include the output for doctest. I wonder if a challenge
21.
▲
by
closed
4y ago
Yeah, it runs over pandas or sql databases! Here's an example querying sql: https://siuba.readthedocs.io/en/latest/intro.html#Working-wi... You can use the verbs collect() and show_query() like in dbplyr. If
22.
▲
by
closed
4y ago
This is a minor point, but I'm cantonese and aware it can be written. (This is why I linked to a tool to segment written cantonese :).
23.
▲
by
closed
4y ago
Hey--I maintain a port of dplyr to python, called siuba[1]! Right now it supports a decent number of verbs + SQL generation. I tried to break down why R users find pandas difficult in an RStudioConf talk last year[2]. Between siuba and tool
24.
▲
by
closed
4y ago
As a person learning cantonese, pycantonese and cantonese.sheik.co.uk were so helpful! The trickiest thing to explain to people is that Cantonese is a diaglossika. It's spoken, but to write you would use mandarin. So there aren't
25.
▲
by
closed
4y ago
I tried the clock example and it worked, but I needed to wait maybe 30 seconds after page load..
26.
▲
by
closed
4y ago
For some reason, I can't see this linked anywhere on the site, but there is an examples page: https://pyscript.net/examples/ (This was presented today as a pycon keynote talk!)
27.
▲
by
closed
4y ago
FWIW extreme groups (e.g. using upper and lower quartiles) is well understood in its inflation of effect size (there are even formulas to correct this, given an extreme groups design). It's definitely related to ecological fallacy in t
28.
▲
by
closed
5y ago
I used numpy a lot for my PhD research, and think you're right, in the sense that things could have been much more numpy array centric (just like how in R the dataframe is a tiny structure around arrays). There are a lot of problems yo
29.
▲
by
closed
5y ago
Author of the post and siuba here. I'm pretty interested in exploring supporting polars as a backend, and if it works well supporting versions of the SQL backends that translate to SQL based on the polars method API :). (I haven't
30.
▲
by
closed
5y ago
Author here--happy to answer questions :) Siuba has come a long way since I wrote this, and now can optimize for fast grouped operations!: * https://github.com/machow/siuba * https://siuba.readthedocs.io
More ›