News for hackers. Stuff that matters.

cpcloud

Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @12:26PM (#41392512)
`_` definitely clashes with IPython and Jupyter's use of it.

However, if you import it from Ibis then it ceases to be used as "most recent result" and remains the ibis underscore object (unless of course you explicitly assign it to something else).

Regarding backend compatibility, there are definitely a few kinds of things that we don't currently abstract over. One is regular expression syntax and another is floating point math (e.g., various algebraic properties that are violated that result in slightly different outputs).

Hope you give it a go, and please report issues at https://github.com/ibis-project/ibis.

Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @12:17PM (#41392399)
Sometimes I write data analysis code in R to make myself aware of how it is occasionally possible to have nice things.
Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @12:11PM (#41392335)
Polars' support for SQL is pretty nascent and missing a lot of functionality.

If it were better, we'd use it internally in Ibis for the Polars backend implementation.

If you're going down the mixed SQL, DataFrame API route then Ibis is probably the best solution out there for that.

I work on Ibis, so take what I say with a grain of salt. There may yet be other libraries out that there that have similar functionality.

Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @12:00PM (#41392200)
All great reasons to stick with Pandas. If a thing works for you, then that's one less thing to manage.

Fully agree that if pandas is working for you, then you're better off sticking with it!

Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @11:49AM (#41392085)
Did it get more memory efficient during the time between authoring point 1 and authoring the last point?
Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @11:15AM (#41391651)
We support Polars as a backend.

DuckDB was chosen as the default because Polars was too unstable to be the default backend two years ago.

Re:Farewell Pandas, and thanks for all the fish on Thursday August 29, 2024 @10:51AM (#41391385)
100% this.

We'd love to have a docs contribution that lays this out in detail if you'd be up for it!

Disclaimer: (I lead the project and work on it full time).

Re:Ibis, a federated Wikipedia alternative on Thursday March 14, 2024 @07:53AM (#39702672)
Turns out people like naming things ibis:

- The band: https://www.ebay.com/itm/225562259251

- The hotel chain: https://all.accor.com/brands/ibis.en.shtml

- The anime drawing program: https://ibispaint.com/?lang=en-US

- The beer: https://ibisrice.com/ibis-pale-ale/

- The whatever this is: https://ibis.ibo.org/

- The ibis python library: https://pypi.org/project/ibis-framework/ (disclaimer: I work on this library)

- The ibis python library: https://pypi.org/project/ibis/

- The software for reverse mortgage management: https://www.ibisreverse.com/

- The song: https://www.youtube.com/watch?v=mO-OpFjHRbE

Nice addendum!
I've come to software from the other direction.

1) In neuroscience there's an enormous lack of enthusiasm for software development, even if it makes large parts of a workflow easier. If a poorly written, undocumented piece of code stuck in a file called temp123_final_final_no_really_final.m produces the same output as a higher quality piece of code, no one cares as long as it leads to a publication.

2) You don't need a degree in neuroscience to do neuroscience research, however you'll probably need to take a few basic neuroscience courses to get up to speed depending on what area you're interested in focusing on. It sounds like you're interested in theoretical neuroscience. For that you'll need to take lots of probability and statistics.

3) Make no mistake, your ability to write clean, well documented code will be massively under-appreciated by nearly everyone.

4) As far as division of labor goes, that usually depends on the lab size. The smaller the lab, the more you do. Even in some large labs you have people building software AND doing animal surgeries AND running experiments. There usually isn't a person dedicated to a specific type of labor.

5) To "fiddle" with the brain, you'd have to get into animal research as you can't really do that with people (yet?)

A lab worth checking out is the lab of Gyorgy Buszaki: http://www.buzsakilab.com/

Re:I Am a Bad Developer on Monday May 06, 2013 @10:27PM (#5666226)
Your description of corporate programmer made me laugh.
Re:Ask HN: What is the best Keyboard nowadays? on Friday April 06, 2012 @08:24AM (#3806870)
I'm a huge fan of the Happy Hacking keyboard. Everything feels so close on it, and I always find myself wishing I had one when I have to type on other keyboards for a very long time.
Re:How not to write Python: Part 1 (Courtesy of Adobe) on Thursday March 29, 2012 @09:12PM (#3774023)
LOL. I sometimes wish I was able to write teh codez dis gud.

Google Maps Corner Cases

If you query Google Maps for directions to travel to China from the United States, when you get to northeast Washington state it tells you to kayak across the pacific ocean and head straight: http://imgur.com/Td8Z4. How are these types of corner cases handled in navigation software? Are they hard coded?

( Read More... | no comments | on HN )