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
right now you're just assigning the value to `cellref` over and over again
2019-05-07T18:32:32.426000
Maricruz
pythondev_help_Maricruz_2019-05-07T18:32:32.426000
1,557,253,952.426
22,621
pythondev
help
ah crap, your right
2019-05-07T18:32:40.426300
Walton
pythondev_help_Walton_2019-05-07T18:32:40.426300
1,557,253,960.4263
22,622
pythondev
help
OH!
2019-05-07T18:34:58.426500
Walton
pythondev_help_Walton_2019-05-07T18:34:58.426500
1,557,254,098.4265
22,623
pythondev
help
I almost have all the fish!
2019-05-07T18:35:04.426900
Walton
pythondev_help_Walton_2019-05-07T18:35:04.426900
1,557,254,104.4269
22,624
pythondev
help
``` for headers in range(1,4): sheet.cell(row=1, column=headers).value = data[headers] ```
2019-05-07T18:35:47.427700
Maricruz
pythondev_help_Maricruz_2019-05-07T18:35:47.427700
1,557,254,147.4277
22,625
pythondev
help
Nice!
2019-05-07T18:35:52.428000
Maricruz
pythondev_help_Maricruz_2019-05-07T18:35:52.428000
1,557,254,152.428
22,626
pythondev
help
None
2019-05-07T18:36:41.428300
Walton
pythondev_help_Walton_2019-05-07T18:36:41.428300
1,557,254,201.4283
22,627
pythondev
help
So indexes on lists start at 0
2019-05-07T18:36:57.428700
Maricruz
pythondev_help_Maricruz_2019-05-07T18:36:57.428700
1,557,254,217.4287
22,628
pythondev
help
rather than 1
2019-05-07T18:36:59.428900
Maricruz
pythondev_help_Maricruz_2019-05-07T18:36:59.428900
1,557,254,219.4289
22,629
pythondev
help
so you're missing the first entry in your list
2019-05-07T18:37:03.429200
Maricruz
pythondev_help_Maricruz_2019-05-07T18:37:03.429200
1,557,254,223.4292
22,630
pythondev
help
tried that
2019-05-07T18:37:04.429300
Walton
pythondev_help_Walton_2019-05-07T18:37:04.429300
1,557,254,224.4293
22,631
pythondev
help
None
2019-05-07T18:37:19.429700
Walton
pythondev_help_Walton_2019-05-07T18:37:19.429700
1,557,254,239.4297
22,632
pythondev
help
``` for headers in range(0,4): exSheet.cell(row=1, column=headers+1).value = data[headers] ```
2019-05-07T18:37:57.430400
Maricruz
pythondev_help_Maricruz_2019-05-07T18:37:57.430400
1,557,254,277.4304
22,633
pythondev
help
Something like that
2019-05-07T18:37:59.430600
Maricruz
pythondev_help_Maricruz_2019-05-07T18:37:59.430600
1,557,254,279.4306
22,634
pythondev
help
i'll try the +1
2019-05-07T18:38:10.430800
Walton
pythondev_help_Walton_2019-05-07T18:38:10.430800
1,557,254,290.4308
22,635
pythondev
help
this may sound really dumb, is there a way to make this printout start at 1 and not 0? ```print(Fore.BLUE + '\n'.join('{}: {}'.format(*k) for k in enumerate(serials))) ```
2019-05-07T18:39:14.431800
Priscilla
pythondev_help_Priscilla_2019-05-07T18:39:14.431800
1,557,254,354.4318
22,636
pythondev
help
<@Maricruz> the 0,4 with the combo of headers+1 did it!
2019-05-07T18:39:56.432300
Walton
pythondev_help_Walton_2019-05-07T18:39:56.432300
1,557,254,396.4323
22,637
pythondev
help
I have all the fish!
2019-05-07T18:40:01.432500
Walton
pythondev_help_Walton_2019-05-07T18:40:01.432500
1,557,254,401.4325
22,638
pythondev
help
grats :slightly_smiling_face:
2019-05-07T18:40:22.433000
Maricruz
pythondev_help_Maricruz_2019-05-07T18:40:22.433000
1,557,254,422.433
22,639
pythondev
help
<@Marth> <@Krista> Thanks so much for your input. you guys showed me a few variations to ways of thinking
2019-05-07T18:41:25.433800
Walton
pythondev_help_Walton_2019-05-07T18:41:25.433800
1,557,254,485.4338
22,640
pythondev
help
<@Maricruz> thank you. I knew it was SOMETHING. those little nuances of 0,4 index when it doesn't use 0, but yet adding the +1... this isn't covered in books
2019-05-07T18:42:13.434800
Walton
pythondev_help_Walton_2019-05-07T18:42:13.434800
1,557,254,533.4348
22,641
pythondev
help
None
2019-05-07T18:42:56.434900
Walton
pythondev_help_Walton_2019-05-07T18:42:56.434900
1,557,254,576.4349
22,642
pythondev
help
Definitely - being able to read errors is pretty important - it'll come with experience!
2019-05-07T19:03:35.436000
Maricruz
pythondev_help_Maricruz_2019-05-07T19:03:35.436000
1,557,255,815.436
22,643
pythondev
help
<@Priscilla> not dumb cuz I can't figure it out (although I'm pretty python dumb so take that as you will haha)
2019-05-07T19:53:57.437200
Maricruz
pythondev_help_Maricruz_2019-05-07T19:53:57.437200
1,557,258,837.4372
22,644
pythondev
help
Can you post what `Fore.BLUE` is?
2019-05-07T19:54:04.437500
Maricruz
pythondev_help_Maricruz_2019-05-07T19:54:04.437500
1,557,258,844.4375
22,645
pythondev
help
its for the package colorama, it displays command line text colored. in this case colored blue
2019-05-07T19:57:04.438500
Priscilla
pythondev_help_Priscilla_2019-05-07T19:57:04.438500
1,557,259,024.4385
22,646
pythondev
help
yeah I cant find anything on it either
2019-05-07T19:57:20.438900
Priscilla
pythondev_help_Priscilla_2019-05-07T19:57:20.438900
1,557,259,040.4389
22,647
pythondev
help
`enumerate()` can take a `start=1` parameter if you don't want it to begin from 0.
2019-05-07T19:57:42.439400
Sasha
pythondev_help_Sasha_2019-05-07T19:57:42.439400
1,557,259,062.4394
22,648
pythondev
help
hmmm.... i was asking the wrong question i do believe
2019-05-07T20:00:06.440900
Priscilla
pythondev_help_Priscilla_2019-05-07T20:00:06.440900
1,557,259,206.4409
22,649
pythondev
help
thank you sir
2019-05-07T20:00:09.441100
Priscilla
pythondev_help_Priscilla_2019-05-07T20:00:09.441100
1,557,259,209.4411
22,650
pythondev
help
BTW, from a stylistic perspective, I'd recommend avoiding the `*k` pattern you have there. It's correct, but it will throw people off versus explicit `i, ser` variables.
2019-05-07T20:00:18.441300
Sasha
pythondev_help_Sasha_2019-05-07T20:00:18.441300
1,557,259,218.4413
22,651
pythondev
help
If you wanted to skip the first element instead, you can use `serials[1:]`.
2019-05-07T20:00:59.441800
Sasha
pythondev_help_Sasha_2019-05-07T20:00:59.441800
1,557,259,259.4418
22,652
pythondev
help
i wanted `start=1` but i was looking at `serials[1:]` for my solution
2019-05-07T20:02:10.442800
Priscilla
pythondev_help_Priscilla_2019-05-07T20:02:10.442800
1,557,259,330.4428
22,653
pythondev
help
by mistake
2019-05-07T20:02:21.443100
Priscilla
pythondev_help_Priscilla_2019-05-07T20:02:21.443100
1,557,259,341.4431
22,654
pythondev
help
good point on the *k
2019-05-07T20:02:34.443400
Priscilla
pythondev_help_Priscilla_2019-05-07T20:02:34.443400
1,557,259,354.4434
22,655
pythondev
help
Question for the group, why are most Python jobs coupled with Java language jobs? From my perspective - It appears that most of the successful websites can almost eliminate Java except for this huge unreadable obfuscated section of Java. Is Java even used anywhere else other than obfuscation?
2019-05-07T20:27:21.447900
Glenna
pythondev_help_Glenna_2019-05-07T20:27:21.447900
1,557,260,841.4479
22,656
pythondev
help
I haven't observed what you're describing
2019-05-07T20:27:52.448400
Bethany
pythondev_help_Bethany_2019-05-07T20:27:52.448400
1,557,260,872.4484
22,657
pythondev
help
me either
2019-05-07T20:27:57.448600
Hiroko
pythondev_help_Hiroko_2019-05-07T20:27:57.448600
1,557,260,877.4486
22,658
pythondev
help
Right click on <http://google.com|google.com> and this huge blob of unreadable java
2019-05-07T20:28:29.450400
Glenna
pythondev_help_Glenna_2019-05-07T20:28:29.450400
1,557,260,909.4504
22,659
pythondev
help
unless its in a “nice to have” section?
2019-05-07T20:28:31.450600
Hiroko
pythondev_help_Hiroko_2019-05-07T20:28:31.450600
1,557,260,911.4506
22,660
pythondev
help
Is that some kind of convention?
2019-05-07T20:28:52.451500
Glenna
pythondev_help_Glenna_2019-05-07T20:28:52.451500
1,557,260,932.4515
22,661
pythondev
help
its fairly common from my last job hunt
2019-05-07T20:29:26.452200
Hiroko
pythondev_help_Hiroko_2019-05-07T20:29:26.452200
1,557,260,966.4522
22,662
pythondev
help
For web front end?
2019-05-07T20:29:39.452800
Glenna
pythondev_help_Glenna_2019-05-07T20:29:39.452800
1,557,260,979.4528
22,663
pythondev
help
you get the postion requirements, and then a “nice to have” or extras section
2019-05-07T20:29:43.453000
Hiroko
pythondev_help_Hiroko_2019-05-07T20:29:43.453000
1,557,260,983.453
22,664
pythondev
help
I think you might want to rephrase your question, since I’m not sure what you’re asking about
2019-05-07T20:29:58.453400
Hiroko
pythondev_help_Hiroko_2019-05-07T20:29:58.453400
1,557,260,998.4534
22,665
pythondev
help
I am trying to understand why Java is required if the job title is "python developer"
2019-05-07T20:31:32.456400
Glenna
pythondev_help_Glenna_2019-05-07T20:31:32.456400
1,557,261,092.4564
22,666
pythondev
help
Strictly for web front end? Obfuscation? Or Java is just being replaced, so the job posting wants you to have java to convert it to python?
2019-05-07T20:32:49.458700
Glenna
pythondev_help_Glenna_2019-05-07T20:32:49.458700
1,557,261,169.4587
22,667
pythondev
help
sure you're not mixing up Java and Javascript?
2019-05-07T20:33:24.459200
Maricruz
pythondev_help_Maricruz_2019-05-07T20:33:24.459200
1,557,261,204.4592
22,668
pythondev
help
I haven't seen that as far as web dev goes
2019-05-07T20:33:49.460000
Maricruz
pythondev_help_Maricruz_2019-05-07T20:33:49.460000
1,557,261,229.46
22,669
pythondev
help
there’s no pythin in web FE, unless you’re using kivy or brython
2019-05-07T20:34:42.461100
Hiroko
pythondev_help_Hiroko_2019-05-07T20:34:42.461100
1,557,261,282.4611
22,670
pythondev
help
Exactly. Trying to answer my own question
2019-05-07T20:35:13.462300
Glenna
pythondev_help_Glenna_2019-05-07T20:35:13.462300
1,557,261,313.4623
22,671
pythondev
help
if you’re going web frontend, the default language is javascript
2019-05-07T20:35:51.462900
Hiroko
pythondev_help_Hiroko_2019-05-07T20:35:51.462900
1,557,261,351.4629
22,672
pythondev
help
you can use some transpilers from language X to JS, but those have their faults
2019-05-07T20:36:12.463400
Hiroko
pythondev_help_Hiroko_2019-05-07T20:36:12.463400
1,557,261,372.4634
22,673
pythondev
help
What if a stearing committee was formed to influence netscape-mozilla-firefox/chrome outcome?
2019-05-07T20:37:11.465000
Glenna
pythondev_help_Glenna_2019-05-07T20:37:11.465000
1,557,261,431.465
22,674
pythondev
help
I have heard it is difficult to poll for responses on static websites. So many new web 3.0 (like Kodi) dump the browser technology
2019-05-07T20:38:33.467200
Glenna
pythondev_help_Glenna_2019-05-07T20:38:33.467200
1,557,261,513.4672
22,675
pythondev
help
Would it not seem valid if javascript obfuscation is the cutting edge of malware?
2019-05-07T20:39:37.468500
Glenna
pythondev_help_Glenna_2019-05-07T20:39:37.468500
1,557,261,577.4685
22,676
pythondev
help
Would you use kodi for banking if the python bytecode could be certified in some way?
2019-05-07T20:40:47.469800
Glenna
pythondev_help_Glenna_2019-05-07T20:40:47.469800
1,557,261,647.4698
22,677
pythondev
help
I… have no clue what you’re talking about?
2019-05-07T20:42:44.470400
Hiroko
pythondev_help_Hiroko_2019-05-07T20:42:44.470400
1,557,261,764.4704
22,678
pythondev
help
if you’re looking at JS on the page, you’re probably mixing up minified with obfusicated
2019-05-07T20:43:09.471000
Hiroko
pythondev_help_Hiroko_2019-05-07T20:43:09.471000
1,557,261,789.471
22,679
pythondev
help
???
2019-05-07T20:44:36.472500
Glenna
pythondev_help_Glenna_2019-05-07T20:44:36.472500
1,557,261,876.4725
22,680
pythondev
help
<https://en.wikipedia.org/wiki/Minification_(programming)>
2019-05-07T20:50:23.475100
Hiroko
pythondev_help_Hiroko_2019-05-07T20:50:23.475100
1,557,262,223.4751
22,681
pythondev
help
that’s not the same as obfusicated
2019-05-07T20:50:36.475800
Hiroko
pythondev_help_Hiroko_2019-05-07T20:50:36.475800
1,557,262,236.4758
22,682
pythondev
help
Is that what you see when you right click and view code on google?
2019-05-07T20:51:06.476600
Glenna
pythondev_help_Glenna_2019-05-07T20:51:06.476600
1,557,262,266.4766
22,683
pythondev
help
yes
2019-05-07T20:51:53.477100
Hiroko
pythondev_help_Hiroko_2019-05-07T20:51:53.477100
1,557,262,313.4771
22,684
pythondev
help
So how could you convince an employer to make that code python bytecode, instead of javascript?
2019-05-07T20:52:53.479200
Glenna
pythondev_help_Glenna_2019-05-07T20:52:53.479200
1,557,262,373.4792
22,685
pythondev
help
It is so dirty looking...
2019-05-07T20:54:38.481800
Glenna
pythondev_help_Glenna_2019-05-07T20:54:38.481800
1,557,262,478.4818
22,686
pythondev
help
you’re gonna have a tough time with that
2019-05-07T20:58:42.482400
Hiroko
pythondev_help_Hiroko_2019-05-07T20:58:42.482400
1,557,262,722.4824
22,687
pythondev
help
I worked at a place using google web toolkit to write async apps in java
2019-05-07T20:59:22.483100
Hiroko
pythondev_help_Hiroko_2019-05-07T20:59:22.483100
1,557,262,762.4831
22,688
pythondev
help
worked ok, as long as you stayed within the limits. but don’t forget about leaky abstractions
2019-05-07T20:59:48.483700
Hiroko
pythondev_help_Hiroko_2019-05-07T20:59:48.483700
1,557,262,788.4837
22,689
pythondev
help
Thanks!
2019-05-07T21:14:19.484200
Glenna
pythondev_help_Glenna_2019-05-07T21:14:19.484200
1,557,263,659.4842
22,690
pythondev
help
On all the other websites so long as you disable the minify or obfuscated java - it can reduce malware
2019-05-07T21:16:00.486200
Glenna
pythondev_help_Glenna_2019-05-07T21:16:00.486200
1,557,263,760.4862
22,691
pythondev
help
Perhaps I’m being pedantic, but Java != JavaScript.
2019-05-07T21:48:06.486900
Hsiu
pythondev_help_Hsiu_2019-05-07T21:48:06.486900
1,557,265,686.4869
22,692
pythondev
help
Yeah yeah java needs an interpreter, javascript needs an interpreter, neither run the ASIC
2019-05-07T21:59:35.490600
Glenna
pythondev_help_Glenna_2019-05-07T21:59:35.490600
1,557,266,375.4906
22,693
pythondev
help
Huh?
2019-05-07T22:00:44.491700
Hiroko
pythondev_help_Hiroko_2019-05-07T22:00:44.491700
1,557,266,444.4917
22,694
pythondev
help
Never mind. Thanks for your help
2019-05-07T22:01:10.492400
Glenna
pythondev_help_Glenna_2019-05-07T22:01:10.492400
1,557,266,470.4924
22,695
pythondev
help
am i correct that this should loop for 2 hours? because it didn't and i am trying to figure out why
2019-05-07T23:08:30.492500
Priscilla
pythondev_help_Priscilla_2019-05-07T23:08:30.492500
1,557,270,510.4925
22,696
pythondev
help
oh jesus christ it goes by seconds not minutes.... lol nvm
2019-05-07T23:12:36.493300
Priscilla
pythondev_help_Priscilla_2019-05-07T23:12:36.493300
1,557,270,756.4933
22,697
pythondev
help
BTW it's good practice to put a `time.sleep()` call in such loops to avoid burning 100% CPU. Even sleeping for a millisecond often makes a big difference.
2019-05-07T23:30:34.495000
Sasha
pythondev_help_Sasha_2019-05-07T23:30:34.495000
1,557,271,834.495
22,698
pythondev
help
Hi, I came across an issue with django rest framework. I'm getting a throtteling issue because I'm doing a lot of requests. One solution is to change the rate throttle to something big in my local settings but I feel it's not right. Any other solutions?
2019-05-08T02:48:04.497800
Rayford
pythondev_help_Rayford_2019-05-08T02:48:04.497800
1,557,283,684.4978
22,699
pythondev
help
Or maybe how to reset django rest framework rate cache?
2019-05-08T03:14:24.498300
Rayford
pythondev_help_Rayford_2019-05-08T03:14:24.498300
1,557,285,264.4983
22,700
pythondev
help
Never mind, I managed to fix it by clearing the cache.
2019-05-08T03:20:03.498700
Rayford
pythondev_help_Rayford_2019-05-08T03:20:03.498700
1,557,285,603.4987
22,701
pythondev
help
Looking for a quick opinion. I have some APIs I am deploying via Lambda/API Gateway with _very_ slow moving data (it’s public data that is updated annually). Because it’s small and so slow moving I’ve pickled the dataframes and bundled them in with the API. Does anyone think I might get faster performance if I put the dataframes into a SQLite database instead? I’ve not been able to find much info on the relative speed of unpickling Vs SQLlite. I’m going to look at creating a prototype in Dev but any thoughts welcome.
2019-05-08T03:22:21.000600
Kori
pythondev_help_Kori_2019-05-08T03:22:21.000600
1,557,285,741.0006
22,702
pythondev
help
May I suggest: just give it a try and measure? There is `DataFrame.to_sql`... There are also: `DataFrame.to_pickle`, `DataFrame.to_hdf` and `DataFrame.to_parquet` et al. Might be worth experimenting with the different options...
2019-05-08T03:34:54.000800
Guillermina
pythondev_help_Guillermina_2019-05-08T03:34:54.000800
1,557,286,494.0008
22,703
pythondev
help
HDF, Parquet and Feather I have tried. Feather was faster than pickle, but having PyArrow in my deployment package was taking me over the Lambda limit as that package alone is about 120MB. I don’t recall there being much improvement with HDF
2019-05-08T03:37:01.001000
Kori
pythondev_help_Kori_2019-05-08T03:37:01.001000
1,557,286,621.001
22,704
pythondev
help
Have a look at that: <https://pandas.pydata.org/pandas-docs/stable/user_guide/io.html#io-perf> Looks like sql is rather slow...
2019-05-08T04:06:11.001200
Guillermina
pythondev_help_Guillermina_2019-05-08T04:06:11.001200
1,557,288,371.0012
22,705
pythondev
help
&gt; When reading, the top three are test_feather_read, test_pickle_read and test_hdf_fixed_read.
2019-05-08T04:08:32.001400
Guillermina
pythondev_help_Guillermina_2019-05-08T04:08:32.001400
1,557,288,512.0014
22,706
pythondev
help
Interesting, thanks for this. Gives me some idea what to possibly expect.
2019-05-08T04:11:38.001600
Kori
pythondev_help_Kori_2019-05-08T04:11:38.001600
1,557,288,698.0016
22,707
pythondev
help
Measure it. Pickle (or cPickle on py2 :disappointed:) will be faster i would expect
2019-05-08T06:35:52.002500
Jonas
pythondev_help_Jonas_2019-05-08T06:35:52.002500
1,557,297,352.0025
22,708
pythondev
help
What would be the easiest way for me to install pip packages on a server that doesn't have access to the internet?
2019-05-08T10:31:19.004100
Maricela
pythondev_help_Maricela_2019-05-08T10:31:19.004100
1,557,311,479.0041
22,709
pythondev
help
bundle your app as a docker image.
2019-05-08T10:35:29.004500
Jonas
pythondev_help_Jonas_2019-05-08T10:35:29.004500
1,557,311,729.0045
22,710
pythondev
help
docker would be difficult to use w/o internet too.
2019-05-08T10:37:00.005300
Eliana
pythondev_help_Eliana_2019-05-08T10:37:00.005300
1,557,311,820.0053
22,711
pythondev
help
I just need pip packages
2019-05-08T10:37:10.005500
Maricela
pythondev_help_Maricela_2019-05-08T10:37:10.005500
1,557,311,830.0055
22,712
pythondev
help
the app is already on the server
2019-05-08T10:37:38.005900
Maricela
pythondev_help_Maricela_2019-05-08T10:37:38.005900
1,557,311,858.0059
22,713
pythondev
help
Docker wouldn't be difficult to use at all
2019-05-08T10:38:07.006600
Jonas
pythondev_help_Jonas_2019-05-08T10:38:07.006600
1,557,311,887.0066
22,714
pythondev
help
I was thinking using my local machine to download the packages and just installing them on the server, but I'm not sure how that would work.
2019-05-08T10:38:10.006800
Maricela
pythondev_help_Maricela_2019-05-08T10:38:10.006800
1,557,311,890.0068
22,715
pythondev
help
And that way you can bundle your entire app, system dependencies etc without needing a method for apt, one for pip, one for xyz
2019-05-08T10:38:19.007000
Jonas
pythondev_help_Jonas_2019-05-08T10:38:19.007000
1,557,311,899.007
22,716
pythondev
help
<https://stackoverflow.com/questions/36725843/installing-python-packages-without-internet-and-using-source-code-as-tar-gz-and>
2019-05-08T10:39:24.008200
Eliana
pythondev_help_Eliana_2019-05-08T10:39:24.008200
1,557,311,964.0082
22,717
pythondev
help
we've deployed several systems like this. It's actually a very foolproof way of doing on-premise stuff in secure, airgapped locations. Clients love it because it's also very auditable and fits with their existing tools.
2019-05-08T10:39:28.008500
Jonas
pythondev_help_Jonas_2019-05-08T10:39:28.008500
1,557,311,968.0085
22,718
pythondev
help
eh. you run into issues with `.whl` files
2019-05-08T10:40:17.009000
Jonas
pythondev_help_Jonas_2019-05-08T10:40:17.009000
1,557,312,017.009
22,719
pythondev
help
What does audible mean in this context? never seen it used like that before
2019-05-08T10:40:29.009400
Clemmie
pythondev_help_Clemmie_2019-05-08T10:40:29.009400
1,557,312,029.0094
22,720