workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev | help | just trying to figure out what went wrong? | 2017-06-27T15:32:33.860898 | Signe | pythondev_help_Signe_2017-06-27T15:32:33.860898 | 1,498,577,553.860898 | 83,303 |
pythondev | help | Determine why some data was missed or not parsed correctly, why communication failed on a device, why an exception occurred. | 2017-06-27T15:33:04.872033 | Meghan | pythondev_help_Meghan_2017-06-27T15:33:04.872033 | 1,498,577,584.872033 | 83,304 |
pythondev | help | Yeah | 2017-06-27T15:33:09.873712 | Meghan | pythondev_help_Meghan_2017-06-27T15:33:09.873712 | 1,498,577,589.873712 | 83,305 |
pythondev | help | I would try using sentry instead of logging | 2017-06-27T15:33:26.880092 | Signe | pythondev_help_Signe_2017-06-27T15:33:26.880092 | 1,498,577,606.880092 | 83,306 |
pythondev | help | it might change your life | 2017-06-27T15:33:30.881403 | Signe | pythondev_help_Signe_2017-06-27T15:33:30.881403 | 1,498,577,610.881403 | 83,307 |
pythondev | help | The worst of them runs as a cron job and downloads a few hundred mb of text from 60 routers. | 2017-06-27T15:33:41.885531 | Meghan | pythondev_help_Meghan_2017-06-27T15:33:41.885531 | 1,498,577,621.885531 | 83,308 |
pythondev | help | I'll take a look, tahnks. | 2017-06-27T15:33:48.887740 | Meghan | pythondev_help_Meghan_2017-06-27T15:33:48.887740 | 1,498,577,628.88774 | 83,309 |
pythondev | help | here is the page: <https://sentry.io/welcome/> | 2017-06-27T15:34:08.895046 | Signe | pythondev_help_Signe_2017-06-27T15:34:08.895046 | 1,498,577,648.895046 | 83,310 |
pythondev | help | but its an Open source project, so you can host it yourself and dont have to use the SaaS | 2017-06-27T15:34:26.901611 | Signe | pythondev_help_Signe_2017-06-27T15:34:26.901611 | 1,498,577,666.901611 | 83,311 |
pythondev | help | Is anyone aware of a standard library utility related to the `ast` module that can extract the source of a function without evaluation? Or more specifically, the ability to trace the execution path to a function without evaluation? | 2017-06-27T15:36:02.935408 | Carlie | pythondev_help_Carlie_2017-06-27T15:36:02.935408 | 1,498,577,762.935408 | 83,312 |
pythondev | help | what are you really looking for? | 2017-06-27T15:37:09.958856 | Signe | pythondev_help_Signe_2017-06-27T15:37:09.958856 | 1,498,577,829.958856 | 83,313 |
pythondev | help | there are various ones for different things | 2017-06-27T15:37:17.962097 | Signe | pythondev_help_Signe_2017-06-27T15:37:17.962097 | 1,498,577,837.962097 | 83,314 |
pythondev | help | if you just want to look at the function, etc, then `inspect` works pretty well | 2017-06-27T15:37:32.967292 | Signe | pythondev_help_Signe_2017-06-27T15:37:32.967292 | 1,498,577,852.967292 | 83,315 |
pythondev | help | > the ability to trace the execution path to a function without evaluation
What does this mean? you want to look and see what the "stack" might look like had the function ran? | 2017-06-27T15:38:50.995281 | Signe | pythondev_help_Signe_2017-06-27T15:38:50.995281 | 1,498,577,930.995281 | 83,316 |
pythondev | help | <@Signe> Right, I'm essentially trying to get the stack without actually executing the code. | 2017-06-27T15:41:17.047910 | Carlie | pythondev_help_Carlie_2017-06-27T15:41:17.047910 | 1,498,578,077.04791 | 83,317 |
pythondev | help | Hello. How in Data Frame Pandas to remove the top line. So the second line became the title? | 2017-06-27T15:41:33.053788 | Georgeann | pythondev_help_Georgeann_2017-06-27T15:41:33.053788 | 1,498,578,093.053788 | 83,318 |
pythondev | help | can you display what your dataframe looks like and what you want it to look like? | 2017-06-27T15:44:13.109929 | Wilber | pythondev_help_Wilber_2017-06-27T15:44:13.109929 | 1,498,578,253.109929 | 83,319 |
pythondev | help | i.e. are you trying to just drop a row? | 2017-06-27T15:44:24.114045 | Wilber | pythondev_help_Wilber_2017-06-27T15:44:24.114045 | 1,498,578,264.114045 | 83,320 |
pythondev | help | <https://stackoverflow.com/questions/31328861/python-pandas-replacing-header-with-top-row>
Thank you, <@Wilber> help me. | 2017-06-27T16:06:40.611254 | Georgeann | pythondev_help_Georgeann_2017-06-27T16:06:40.611254 | 1,498,579,600.611254 | 83,321 |
pythondev | help | `df.to_csv("file_name.csv", sep=',', encoding='utf-8')`
does why is that so
`,a,b,c,d,e,f`
and <http://imgur.com/zDdawCWl.png> this is what I get | 2017-06-27T16:10:47.698350 | Georgeann | pythondev_help_Georgeann_2017-06-27T16:10:47.698350 | 1,498,579,847.69835 | 83,322 |
pythondev | help | not really understanding what the issue is, is it upon export you're getting the indices? | 2017-06-27T16:14:32.778185 | Wilber | pythondev_help_Wilber_2017-06-27T16:14:32.778185 | 1,498,580,072.778185 | 83,323 |
pythondev | help | <@Georgeann> try `df.to_csv("file_name.csv", sep=',', encoding='utf-8', index=False)` | 2017-06-27T16:14:52.785060 | Carlie | pythondev_help_Carlie_2017-06-27T16:14:52.785060 | 1,498,580,092.78506 | 83,324 |
pythondev | help | Thank you very much, guys. I'm happy. | 2017-06-27T16:17:13.834479 | Georgeann | pythondev_help_Georgeann_2017-06-27T16:17:13.834479 | 1,498,580,233.834479 | 83,325 |
pythondev | help | (Y) | 2017-06-27T16:17:50.847746 | Wilber | pythondev_help_Wilber_2017-06-27T16:17:50.847746 | 1,498,580,270.847746 | 83,326 |
pythondev | help | <@Wilber> it <https://en.wikipedia.org/wiki/Thumb_signal> ? | 2017-06-27T16:19:03.874165 | Georgeann | pythondev_help_Georgeann_2017-06-27T16:19:03.874165 | 1,498,580,343.874165 | 83,327 |
pythondev | help | exactly | 2017-06-27T16:20:05.896201 | Wilber | pythondev_help_Wilber_2017-06-27T16:20:05.896201 | 1,498,580,405.896201 | 83,328 |
pythondev | help | <http://imgur.com/ob9JKs8l.png> - reminded | 2017-06-27T16:20:08.897595 | Georgeann | pythondev_help_Georgeann_2017-06-27T16:20:08.897595 | 1,498,580,408.897595 | 83,329 |
pythondev | help | `df = pd.read_html(URL)`
I can not understand, he analyzes the page and looks for a table?
That is what I have used XPath was a mistake? | 2017-06-27T16:22:32.949713 | Georgeann | pythondev_help_Georgeann_2017-06-27T16:22:32.949713 | 1,498,580,552.949713 | 83,330 |
pythondev | help | <@Carlie> thats a really really hard problem. Especially with the dynamicness of python | 2017-06-27T16:23:09.963026 | Signe | pythondev_help_Signe_2017-06-27T16:23:09.963026 | 1,498,580,589.963026 | 83,331 |
pythondev | help | Yeah, I think I'm just going to take a crack a dumbed down approach that just works for simple functions. | 2017-06-27T16:25:21.011516 | Carlie | pythondev_help_Carlie_2017-06-27T16:25:21.011516 | 1,498,580,721.011516 | 83,332 |
pythondev | help | So, `inspect` will give you the source code, then you can keep going down that path | 2017-06-27T16:26:24.034909 | Signe | pythondev_help_Signe_2017-06-27T16:26:24.034909 | 1,498,580,784.034909 | 83,333 |
pythondev | help | <@Georgeann> I believe `read_html` tries to find a `<table>` tag in the HTML, so if you want to load an HTML table into a DataFrame, then that would probably be a good usage instead of trying to extract it yourself with XPath or another XML parsing library. | 2017-06-27T16:31:47.153153 | Carlie | pythondev_help_Carlie_2017-06-27T16:31:47.153153 | 1,498,581,107.153153 | 83,334 |
pythondev | help | Thanks for your help! | 2017-06-27T16:32:20.165138 | Carlie | pythondev_help_Carlie_2017-06-27T16:32:20.165138 | 1,498,581,140.165138 | 83,335 |
pythondev | help | Can anyone help me parse this string? | 2017-06-27T18:52:56.574213 | Staci | pythondev_help_Staci_2017-06-27T18:52:56.574213 | 1,498,589,576.574213 | 83,336 |
pythondev | help | `u'["Create Content"],["Facebook", "Twitter"],["Photography"],One sweet vision'` | 2017-06-27T18:53:06.576328 | Staci | pythondev_help_Staci_2017-06-27T18:53:06.576328 | 1,498,589,586.576328 | 83,337 |
pythondev | help | I'd like to return a list of 3 strings and a list | 2017-06-27T18:53:23.579914 | Staci | pythondev_help_Staci_2017-06-27T18:53:23.579914 | 1,498,589,603.579914 | 83,338 |
pythondev | help | each of the strings can have more than one string, but the last item is always just one string | 2017-06-27T18:53:44.584390 | Staci | pythondev_help_Staci_2017-06-27T18:53:44.584390 | 1,498,589,624.58439 | 83,339 |
pythondev | help | ast.literal_eval fails because the last string item doesn't have quotes | 2017-06-27T18:54:06.588970 | Staci | pythondev_help_Staci_2017-06-27T18:54:06.588970 | 1,498,589,646.58897 | 83,340 |
pythondev | help | <@Staci> show us what you have and we will help you solve the issues you run into | 2017-06-27T19:12:49.811063 | Signe | pythondev_help_Signe_2017-06-27T19:12:49.811063 | 1,498,590,769.811063 | 83,341 |
pythondev | help | This is ugly | 2017-06-27T19:12:59.812933 | Staci | pythondev_help_Staci_2017-06-27T19:12:59.812933 | 1,498,590,779.812933 | 83,342 |
pythondev | help | returning `['Create Content', 'Facebook, Twitter', 'Photography', 'One sweet visio']` atm | 2017-06-27T19:13:48.821979 | Staci | pythondev_help_Staci_2017-06-27T19:13:48.821979 | 1,498,590,828.821979 | 83,343 |
pythondev | help | <@Staci> why don't you do a sequence of tokenization steps with "split()" ? | 2017-06-27T19:13:51.822472 | Levi | pythondev_help_Levi_2017-06-27T19:13:51.822472 | 1,498,590,831.822472 | 83,344 |
pythondev | help | Is it always going to be that format? | 2017-06-27T19:13:57.823555 | Signe | pythondev_help_Signe_2017-06-27T19:13:57.823555 | 1,498,590,837.823555 | 83,345 |
pythondev | help | It's always going to be <list>, <list>, <list>, <string> | 2017-06-27T19:14:55.833920 | Staci | pythondev_help_Staci_2017-06-27T19:14:55.833920 | 1,498,590,895.83392 | 83,346 |
pythondev | help | not exactly sure what you mean when you say tokenization steps | 2017-06-27T19:15:54.845584 | Staci | pythondev_help_Staci_2017-06-27T19:15:54.845584 | 1,498,590,954.845584 | 83,347 |
pythondev | help | <@Levi> ** | 2017-06-27T19:16:12.848778 | Staci | pythondev_help_Staci_2017-06-27T19:16:12.848778 | 1,498,590,972.848778 | 83,348 |
pythondev | help | <@Staci> if this is a string, then you can tell that there is a "],[" motiff that would split it into the logical pieces. | 2017-06-27T19:16:43.854607 | Levi | pythondev_help_Levi_2017-06-27T19:16:43.854607 | 1,498,591,003.854607 | 83,349 |
pythondev | help | You just have to examine it, think, and then act. | 2017-06-27T19:17:07.858884 | Levi | pythondev_help_Levi_2017-06-27T19:17:07.858884 | 1,498,591,027.858884 | 83,350 |
pythondev | help | let me try | 2017-06-27T19:17:20.861291 | Staci | pythondev_help_Staci_2017-06-27T19:17:20.861291 | 1,498,591,040.861291 | 83,351 |
pythondev | help | returns `['Create Content', ('Facebook', 'Twitter'), 'Photography', 'One sweet vision']` | 2017-06-27T19:30:08.000821 | Staci | pythondev_help_Staci_2017-06-27T19:30:08.000821 | 1,498,591,808.000821 | 83,352 |
pythondev | help | I guess I was hoping there was a way to do it more pythonic than this brute force route I took | 2017-06-27T19:31:34.016948 | Staci | pythondev_help_Staci_2017-06-27T19:31:34.016948 | 1,498,591,894.016948 | 83,353 |
pythondev | help | sometimes it just has to be ugly | 2017-06-27T19:32:33.027393 | Levi | pythondev_help_Levi_2017-06-27T19:32:33.027393 | 1,498,591,953.027393 | 83,354 |
pythondev | help | Can anyone see any major drawbacks of having a simple boolean 'can_write` field on a user object for a very limited scope permissions (literally for the forseeable future: read/only and read/write)? We have a different user object per subdomain (not my call) - and rather than porting a whole permissions framework over, to me this seems reasonable | 2017-06-27T20:03:17.342966 | Beula | pythondev_help_Beula_2017-06-27T20:03:17.342966 | 1,498,593,797.342966 | 83,355 |
pythondev | help | well , it's like the 'is_admin' field ,right?,isn't the best choice,but it's fine , i don't see any drawbacks "for a very limited scope permissions" | 2017-06-27T21:16:54.981151 | Rickey | pythondev_help_Rickey_2017-06-27T21:16:54.981151 | 1,498,598,214.981151 | 83,356 |
pythondev | help | I figure that's enough to not lock us in too much if we need more. A simple migration could get us to a more involved permissions model | 2017-06-27T21:41:59.185243 | Beula | pythondev_help_Beula_2017-06-27T21:41:59.185243 | 1,498,599,719.185243 | 83,357 |
pythondev | help | Hi guys. There is one site that returns response in string like: `{"ConsignorName": "first part "second part""}` which should be json. Result should be `{'ConsignorName': 'first part "second part"'}`. And I can't just `json.loads(data)` because it fails with `json.decoder.JSONDecodeError: Expecting ',' delimiter:...`. So I somehow need to cast this string in dict. Maybe u know some easy fast pythonic way to do this? So far I came up with blunt operations with split and check for double quotes inside double quotes and u can see it's already getting boring and I'm gonna stop right here :sweat: | 2017-06-28T05:05:44.281519 | Venita | pythondev_help_Venita_2017-06-28T05:05:44.281519 | 1,498,626,344.281519 | 83,358 |
pythondev | help | It is actually broken JSON, so I'm surprised that it returns it. You can `strip` the { and }, then use `split` on the ":", and you should have the key and the value | 2017-06-28T05:12:48.391252 | Gabriele | pythondev_help_Gabriele_2017-06-28T05:12:48.391252 | 1,498,626,768.391252 | 83,359 |
pythondev | help | Ikr, I was like "how does it even work??" Someone definetaly needs to reformat their data... :sigh: | 2017-06-28T05:17:00.454593 | Venita | pythondev_help_Venita_2017-06-28T05:17:00.454593 | 1,498,627,020.454593 | 83,360 |
pythondev | help | Probably they're not using a json library to generate that output. I guess they're just concatenating strings and hope for the best. | 2017-06-28T05:21:08.516764 | Ruben | pythondev_help_Ruben_2017-06-28T05:21:08.516764 | 1,498,627,268.516764 | 83,361 |
pythondev | help | they can replace unicode quotes after converting it into string | 2017-06-28T05:22:00.530140 | Tresa | pythondev_help_Tresa_2017-06-28T05:22:00.530140 | 1,498,627,320.53014 | 83,362 |
pythondev | help | These people would write `<consignorname><first>Jan<second>de Vries</first></second></consignorname>` if they were to output XML ;-) | 2017-06-28T05:22:31.538099 | Ruben | pythondev_help_Ruben_2017-06-28T05:22:31.538099 | 1,498,627,351.538099 | 83,363 |
pythondev | help | U know the funny thing? They return xml and inside that xml is a string that should represent json. Like wtf :laughing::sweat_smile: | 2017-06-28T05:25:38.586538 | Venita | pythondev_help_Venita_2017-06-28T05:25:38.586538 | 1,498,627,538.586538 | 83,364 |
pythondev | help | I'm surprised `requests` can even parse that | 2017-06-28T05:26:02.592608 | Venita | pythondev_help_Venita_2017-06-28T05:26:02.592608 | 1,498,627,562.592608 | 83,365 |
pythondev | help | I recently scraped an angular website which also did something like that: a response which is a HTML fragment of a page, with a DIV in it that contained JSON. And in that json data was a string field filled with serialized json! It's like a <https://en.wikipedia.org/wiki/Matryoshka_doll> | 2017-06-28T05:33:47.716094 | Ruben | pythondev_help_Ruben_2017-06-28T05:33:47.716094 | 1,498,628,027.716094 | 83,366 |
pythondev | help | Anyway, with a few calls to BeautifulSoup and json.loads() I finally got to the data that was needed. | 2017-06-28T05:34:31.727690 | Ruben | pythondev_help_Ruben_2017-06-28T05:34:31.727690 | 1,498,628,071.72769 | 83,367 |
pythondev | help | At least u had valid json ._. | 2017-06-28T05:35:08.737133 | Venita | pythondev_help_Venita_2017-06-28T05:35:08.737133 | 1,498,628,108.737133 | 83,368 |
pythondev | help | <@Venita> ```def replace(m):
s = m.groups()[0].replace('\"', '\\"')
return ': "{}"'.format(s)
re.sub(r': "([^,}]+)"', replace,'{"first": "aaa "bb"", "ConsignorName": "first part "second part"", "second": ""ddd""}')
``` madskilz :slightly_smiling_face: | 2017-06-28T05:42:10.841798 | Tresa | pythondev_help_Tresa_2017-06-28T05:42:10.841798 | 1,498,628,530.841798 | 83,369 |
pythondev | help | Oh my god... U must be a regex guru! :pray: Thank u so much! | 2017-06-28T05:50:11.961063 | Venita | pythondev_help_Venita_2017-06-28T05:50:11.961063 | 1,498,629,011.961063 | 83,370 |
pythondev | help | urw ^^ though i’m not sure that it can process all cases %) | 2017-06-28T06:08:17.233180 | Tresa | pythondev_help_Tresa_2017-06-28T06:08:17.233180 | 1,498,630,097.23318 | 83,371 |
pythondev | help | Only tangentially Python related, but does anyone know good ways of generating code-related documents offline? I'm struggling with static blog generators like Pelican because trying to coerce Pelican and Pygments and ReStructuredText to cooperate to do what I want is twisting my mind | 2017-06-28T13:56:55.892789 | Gabriele | pythondev_help_Gabriele_2017-06-28T13:56:55.892789 | 1,498,658,215.892789 | 83,372 |
pythondev | help | hmm, not python but have you looked at jekyll? | 2017-06-28T14:01:51.014927 | Patty | pythondev_help_Patty_2017-06-28T14:01:51.014927 | 1,498,658,511.014927 | 83,373 |
pythondev | help | I'm on Windows and Jekyll is a bit awkward on that platform | 2017-06-28T14:03:50.064751 | Gabriele | pythondev_help_Gabriele_2017-06-28T14:03:50.064751 | 1,498,658,630.064751 | 83,374 |
pythondev | help | ah, okay, just thought id toss that one out there | 2017-06-28T14:04:04.070417 | Patty | pythondev_help_Patty_2017-06-28T14:04:04.070417 | 1,498,658,644.070417 | 83,375 |
pythondev | help | sphinx should be able take care of the pygments and ReStructuredText parts. | 2017-06-28T14:13:29.292627 | Johana | pythondev_help_Johana_2017-06-28T14:13:29.292627 | 1,498,659,209.292627 | 83,376 |
pythondev | help | I think my problem is that ReStructuredText is really not that good | 2017-06-28T14:14:30.316275 | Gabriele | pythondev_help_Gabriele_2017-06-28T14:14:30.316275 | 1,498,659,270.316275 | 83,377 |
pythondev | help | If you want more control over the formatting, for instance. Rules like "Multiple successive blank lines are equivalent to a single blank line" make it awkward to introduce whitespace for readability | 2017-06-28T14:15:15.333780 | Gabriele | pythondev_help_Gabriele_2017-06-28T14:15:15.333780 | 1,498,659,315.33378 | 83,378 |
pythondev | help | And if I want to highlight the code, I can do that in blocks via Pygments, but not in literals | 2017-06-28T14:15:52.348305 | Gabriele | pythondev_help_Gabriele_2017-06-28T14:15:52.348305 | 1,498,659,352.348305 | 83,379 |
pythondev | help | i’ve personally started writing my own markdown filters/extensions for things that I need. | 2017-06-28T14:17:14.380074 | Johana | pythondev_help_Johana_2017-06-28T14:17:14.380074 | 1,498,659,434.380074 | 83,380 |
pythondev | help | Not sure if anyone can help, but have a quick question regarding <#C5XHHMXHB|os_windows> , powershell more specifically. | 2017-06-28T14:18:40.413170 | Myong | pythondev_help_Myong_2017-06-28T14:18:40.413170 | 1,498,659,520.41317 | 83,381 |
pythondev | help | <https://pythondev.slack.com/archives/C5XHHMXHB/p1498673610887626> | 2017-06-28T14:18:51.417375 | Myong | pythondev_help_Myong_2017-06-28T14:18:51.417375 | 1,498,659,531.417375 | 83,382 |
pythondev | help | I'd be surprised if that's the case... but is it not working for you? | 2017-06-28T14:19:22.429724 | Beula | pythondev_help_Beula_2017-06-28T14:19:22.429724 | 1,498,659,562.429724 | 83,383 |
pythondev | help | provide** | 2017-06-28T14:19:35.434940 | Myong | pythondev_help_Myong_2017-06-28T14:19:35.434940 | 1,498,659,575.43494 | 83,384 |
pythondev | help | <@Johana> That sounds useful, especially since I've found that both Markdown and reST each only do about 80% of what I want... a different 80%... but unfortunately I only need to do this one piece of documentation then I'll probably never need it again, so it's hard to justify the time expense | 2017-06-28T14:22:16.497992 | Gabriele | pythondev_help_Gabriele_2017-06-28T14:22:16.497992 | 1,498,659,736.497992 | 83,385 |
pythondev | help | <@Myong> I believe powershell requires a path be stated to any executable not in the search path. But, a ./myscript.py is sufficient. | 2017-06-28T14:22:59.515113 | Meghan | pythondev_help_Meghan_2017-06-28T14:22:59.515113 | 1,498,659,779.515113 | 83,386 |
pythondev | help | Or, in this case, .exe | 2017-06-28T14:23:05.517544 | Meghan | pythondev_help_Meghan_2017-06-28T14:23:05.517544 | 1,498,659,785.517544 | 83,387 |
pythondev | help | <@Signe> I showed the lead engineer Sentry. System looks cool, but he thinks we would hit the 20k transactions per day fairly quickly. Do you know of similar systems without limits? | 2017-06-28T14:24:15.545892 | Meghan | pythondev_help_Meghan_2017-06-28T14:24:15.545892 | 1,498,659,855.545892 | 83,388 |
pythondev | help | "Fixed" my documentation problem by hand-editing the HTML and CSS, and planning to use highlight.js to highlight the code blocks. Felt like the static site generators were just giving me extra hoops to jump through, in the end. | 2017-06-28T15:35:04.146050 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:35:04.146050 | 1,498,664,104.14605 | 83,389 |
pythondev | help | Hi, all.
How do I calculate the difference between two dates is best?
The output should only be in months.
The only way I could.
```
In [25]: startDay
Out[25]: datetime.datetime(2017, 6, 1, 0, 0)
In [26]: endDay
Out[26]: datetime.datetime(2017, 1, 1, 0, 0)
In [27]: startDay - endDay
Out[27]: datetime.timedelta(151)
In [28]: different = startDay - endDay
In [29]: different.days//30
Out[29]: 5``` | 2017-06-28T15:35:14.149372 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:35:14.149372 | 1,498,664,114.149372 | 83,390 |
pythondev | help | How do you define months in this context? | 2017-06-28T15:35:38.157887 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:35:38.157887 | 1,498,664,138.157887 | 83,391 |
pythondev | help | <@Gabriele> sorry? | 2017-06-28T15:36:17.171635 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:36:17.171635 | 1,498,664,177.171635 | 83,392 |
pythondev | help | A month is not a fixed unit of time (at least not in the cultures I know of) | 2017-06-28T15:36:38.179095 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:36:38.179095 | 1,498,664,198.179095 | 83,393 |
pythondev | help | I need to know how many months have passed between two dates | 2017-06-28T15:37:20.193134 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:37:20.193134 | 1,498,664,240.193134 | 83,394 |
pythondev | help | If you want the intuitive answer then I think you will just have to check the difference in years and months individually | 2017-06-28T15:37:47.202997 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:37:47.202997 | 1,498,664,267.202997 | 83,395 |
pythondev | help | for example I started it today - June 2017, and the end - June 2016. The difference - 12 months | 2017-06-28T15:39:04.229420 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:39:04.229420 | 1,498,664,344.22942 | 83,396 |
pythondev | help | I think the best way is to pass the Python... | 2017-06-28T15:39:47.244232 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:39:47.244232 | 1,498,664,387.244232 | 83,397 |
pythondev | help | Does this work? `((endDay.year - startDay.year) * 12) + (endDay.month - startDay.month)` | 2017-06-28T15:40:17.254301 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:40:17.254301 | 1,498,664,417.254301 | 83,398 |
pythondev | help | works | 2017-06-28T15:40:52.266621 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:40:52.266621 | 1,498,664,452.266621 | 83,399 |
pythondev | help | Thank you. You are a genius. | 2017-06-28T15:41:41.283478 | Georgeann | pythondev_help_Georgeann_2017-06-28T15:41:41.283478 | 1,498,664,501.283478 | 83,400 |
pythondev | help | You can't use timedelta for this because a span of 30 days is over a month if the span starts on Feb 1st and under a month if the span starts on Jan 1st | 2017-06-28T15:41:43.284293 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:41:43.284293 | 1,498,664,503.284293 | 83,401 |
pythondev | help | no problem | 2017-06-28T15:41:50.286880 | Gabriele | pythondev_help_Gabriele_2017-06-28T15:41:50.286880 | 1,498,664,510.28688 | 83,402 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.