« first day (3097 days earlier)      last day (1852 days later) » 

10:01 PM
@roganjosh case in point: we used to track students' absence and whatnot in google docs. It's quite natural to leave a note on an entry saying "late 5 minutes" or "absent with notice", etc. I'd hate for that to be stuck in a separate column, having to look up items there.
 
Then I'm really confused because I can't see how that's possibly easier to search than having a "late_by" column that defaults to 0 and you just type the number in there
Then you just sum the column, or do a vlookup on the student with an array formula an add up all their lateness
 
Because it's not something I search by. It's something I might want to check when I look at the row of absences. And this was just an example, the point is any kind of free-form notes might be appropriate for various reasons, and having them stuffed in a separate column is just not feasible in some cases.
you're presuming that the contents of a note are compatible with something numerical
 
So are you?
 
it's just too much of a presumption in my opinion
@roganjosh I'm...presuming by not making such an assumption? :P
 
That note only conveys text. It cannot be used in any categorical form in Python. I'm not suggesting changing the text in any way, only putting it in a place that it might be also used in another way
 
10:06 PM
If I had to guess I'd say that most notes aren't categorical-compatible
 
The question was pulling that data into a df - where should notes go?
I understand your point btw :)
 
The notes are lost. The question was pulling data into python in general, with an additional remark about notes and colouring in defense of using crappy excel :P
 
Then they'd have to be happy with losing the notes once in Python I guess.
but there might be a reason to keep such things, such as an automated transfer from an excel to googlesheets, which I set up ages ago
 
ugh, sounds like a mess
 
using gspread. That would require notes to be columns
 
10:09 PM
Can't you just do that with requests or something, without having to import into python? Sounds way too fragile.
 
You can do pretty fantastic things with gspread
Poll the spreadsheet every 2 secs, cross-reference with your DB (CSV/watever) and write back answers
This is really cool for people that just want to work with spreadsheets and won't (can't) depart from that model
 
*glare*
 
In this case, I've seen people have a spreadsheet, pull out a calculator and multiply two columns, then type results in. It is not a happy place, but you can't always expect people to transition.
 
just today I saw a spreadsheet where someone computed an average by first creating a sum cell, then dividing it by the number of items...with hard-wired denominator
 
the Google access required for gspread (at least , last I used it), makes 2-second polling of a sheet perfectly reasonable and free
You won't overstep the rate limits. I had it running 24/7. You could probably pull down to /sec polling and writing. Sometimes it's the best middle-ground
 
10:16 PM
sounds like a workaround
 
IIRC you don't watch South Park
 
yup
only one I've seen was the first movie and Sexual Harassment Panda
 
It was the result of a "How do I reach these kiiiids" moment
But really, if you get bored, gspread is a pretty awesome tool
It's worth faffing around with
 
I can't imagine being so bored to try playing with spreadsheets
 
Not even while waiting for your Brownian Motion models to have all molecules be in both sectors?
 
wim
10:20 PM
@WayneWerner you working for salt stack ?
how far away is py 3.6 support
kinda urgent since that will be system python in rhel8
 
@roganjosh how could I be bored then?
 
This is True
 
yeah... go molecules
 
In one of the really early spreadsheet programs, Visicalc, IIRC, a friend & I spent an afternoon setting it up to calculate Conway's Game of Life. :)
 
10:26 PM
@coldspeed my money is on N65JhszJHUnkn87 making it across the line twice
 
@AndrasDeak Gone
 
yup, thanks
 
absolutely riveting
"N65JhszJHUnkn87" is as random as it gets... did you actually type that out, or generate? :P
 
.... Not gonna lie, I was gonna generate but just mashed :P
I cba working out how long the name needs to be with characters to uniquely identify each particle :P
 
@roganjosh That's in the ballpark for a number of the order of magnitude of Avogadro's number, assuming your encoding just uses letters & digits.
 
10:32 PM
1 mol should be good IIRC Andras' setup correctly. Probably buys me some breathing room,
 
I fear we have a mole
 
10:57 PM
cbg
 

« first day (3097 days earlier)      last day (1852 days later) »