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
can i add pyspark into visualstudio and create data frames
2019-06-01T18:32:45.365600
Serita
pythondev_help_Serita_2019-06-01T18:32:45.365600
1,559,413,965.3656
26,321
pythondev
help
Is there a way to use a premade contact form work in django in easy steps? havent found anything related to that on the internet
2019-06-01T20:41:56.366400
Rolando
pythondev_help_Rolando_2019-06-01T20:41:56.366400
1,559,421,716.3664
26,322
pythondev
help
<@Lanelle> Here is one way to do it. You can find other solutions at <https://rosettacode.org/wiki/Permutations#Python> . If this is homework, make sure to credit your source or figure out your own solution.
2019-06-01T20:46:15.366500
Corina
pythondev_help_Corina_2019-06-01T20:46:15.366500
1,559,421,975.3665
26,323
pythondev
help
Why not add the key by volume? ```volumes: - ~/.ssh:/root/.ssh```
2019-06-01T20:55:10.366900
Rolando
pythondev_help_Rolando_2019-06-01T20:55:10.366900
1,559,422,510.3669
26,324
pythondev
help
<https://stackoverflow.com/questions/34932490/inject-hosts-ssh-keys-into-docker-machine-with-docker-compose>
2019-06-01T20:55:57.367100
Rolando
pythondev_help_Rolando_2019-06-01T20:55:57.367100
1,559,422,557.3671
26,325
pythondev
help
oh we are using recursion... cool <@Corina>
2019-06-02T02:57:40.368300
Lanelle
pythondev_help_Lanelle_2019-06-02T02:57:40.368300
1,559,444,260.3683
26,326
pythondev
help
not a homework.. just wanted to know how thats really done
2019-06-02T03:00:37.368700
Lanelle
pythondev_help_Lanelle_2019-06-02T03:00:37.368700
1,559,444,437.3687
26,327
pythondev
help
I have a column of company namesand their street address. i want to write a program to classify them in industries they belong by doing web search
2019-06-02T07:46:13.369700
Corrin
pythondev_help_Corrin_2019-06-02T07:46:13.369700
1,559,461,573.3697
26,328
pythondev
help
sounds interesting :slightly_smiling_face: If you have a specific question, then it is easier to solve that. are you asking for ressources on doing web queries? on the linkage after findng the list of industries? :slightly_smiling_face: or just general advice on your problem? websites where the company -&gt; industry information might be accessible?
2019-06-02T08:04:17.369800
Christina
pythondev_help_Christina_2019-06-02T08:04:17.369800
1,559,462,657.3698
26,329
pythondev
help
by googling `pyspark visual studio` i found: <https://docs.microsoft.com/en-us/azure/hdinsight/set-up-pyspark-interactive-environment> - did that help you?
2019-06-02T08:05:12.370000
Christina
pythondev_help_Christina_2019-06-02T08:05:12.370000
1,559,462,712.37
26,330
pythondev
help
I don't think i fully understand your question. So you have an html form? on what website? pointing to what site? "contact form" is rather abstract. if you can change the HTML on the contact form, you can simply make it into a form and make a POST (or get) request pointing at a django view, which handles the arguments and does what ever your contact form should do :slightly_smiling_face:
2019-06-02T08:07:58.370300
Christina
pythondev_help_Christina_2019-06-02T08:07:58.370300
1,559,462,878.3703
26,331
pythondev
help
<@Corrin> if you want help, you should provide more details and a question. as is, your statement doesn’t have a question and covers quite a broad area
2019-06-02T08:54:40.371900
Hiroko
pythondev_help_Hiroko_2019-06-02T08:54:40.371900
1,559,465,680.3719
26,332
pythondev
help
hey
2019-06-02T12:10:23.372500
Elwanda
pythondev_help_Elwanda_2019-06-02T12:10:23.372500
1,559,477,423.3725
26,333
pythondev
help
After i updated my windows to 1903, i cant open jupyter. It gets stuck in one page and turns to unresponsive after sometime forcing it to close.
2019-06-02T12:10:37.372900
Elwanda
pythondev_help_Elwanda_2019-06-02T12:10:37.372900
1,559,477,437.3729
26,334
pythondev
help
None
2019-06-02T12:10:50.373100
Elwanda
pythondev_help_Elwanda_2019-06-02T12:10:50.373100
1,559,477,450.3731
26,335
pythondev
help
it comes like this
2019-06-02T12:10:52.373500
Elwanda
pythondev_help_Elwanda_2019-06-02T12:10:52.373500
1,559,477,452.3735
26,336
pythondev
help
plz help me
2019-06-02T12:10:55.373700
Elwanda
pythondev_help_Elwanda_2019-06-02T12:10:55.373700
1,559,477,455.3737
26,337
pythondev
help
AnYoNe??
2019-06-02T12:58:38.374500
Elwanda
pythondev_help_Elwanda_2019-06-02T12:58:38.374500
1,559,480,318.3745
26,338
pythondev
help
not much info to be honest
2019-06-02T13:00:20.375800
Jettie
pythondev_help_Jettie_2019-06-02T13:00:20.375800
1,559,480,420.3758
26,339
pythondev
help
could be anything
2019-06-02T13:00:24.376100
Jettie
pythondev_help_Jettie_2019-06-02T13:00:24.376100
1,559,480,424.3761
26,340
pythondev
help
thank you
2019-06-02T13:02:06.376700
Serita
pythondev_help_Serita_2019-06-02T13:02:06.376700
1,559,480,526.3767
26,341
pythondev
help
hello
2019-06-02T13:04:28.377000
Serita
pythondev_help_Serita_2019-06-02T13:04:28.377000
1,559,480,668.377
26,342
pythondev
help
how to compare two data frame column names and writing the missing one in a third data frame
2019-06-02T13:05:16.377900
Serita
pythondev_help_Serita_2019-06-02T13:05:16.377900
1,559,480,716.3779
26,343
pythondev
help
Anyone know what notation this is called?
2019-06-02T13:18:23.378000
Augustina
pythondev_help_Augustina_2019-06-02T13:18:23.378000
1,559,481,503.378
26,344
pythondev
help
pseudocode?
2019-06-02T13:20:34.378400
Jettie
pythondev_help_Jettie_2019-06-02T13:20:34.378400
1,559,481,634.3784
26,345
pythondev
help
<https://en.wikipedia.org/wiki/Pseudocode#Mathematical_style_pseudocode>
2019-06-02T13:21:23.378600
Chester
pythondev_help_Chester_2019-06-02T13:21:23.378600
1,559,481,683.3786
26,346
pythondev
help
Maybe try the Google Places API?
2019-06-02T13:57:28.379200
Corina
pythondev_help_Corina_2019-06-02T13:57:28.379200
1,559,483,848.3792
26,347
pythondev
help
<@Elwanda> you could try wiping out the install and reinstalling it.
2019-06-02T14:26:42.380200
Ashley
pythondev_help_Ashley_2019-06-02T14:26:42.380200
1,559,485,602.3802
26,348
pythondev
help
Beyond that, I have no idea though
2019-06-02T14:26:55.380700
Ashley
pythondev_help_Ashley_2019-06-02T14:26:55.380700
1,559,485,615.3807
26,349
pythondev
help
or as we you to call it: :cry: :cry:
2019-06-02T14:27:50.380900
Christina
pythondev_help_Christina_2019-06-02T14:27:50.380900
1,559,485,670.3809
26,350
pythondev
help
<@Serita> columns have a "difference" method. I'd think that'll do what you need. `df1.columns.difference(df2.columns)`
2019-06-02T14:32:52.382600
Marth
pythondev_help_Marth_2019-06-02T14:32:52.382600
1,559,485,972.3826
26,351
pythondev
help
Hello dan thank you os much, I am working on a small prj and what I need to do is insert a column to a data frame on specific position of array.
2019-06-02T16:27:39.383000
Serita
pythondev_help_Serita_2019-06-02T16:27:39.383000
1,559,492,859.383
26,352
pythondev
help
if there is a way?
2019-06-02T16:27:57.383200
Serita
pythondev_help_Serita_2019-06-02T16:27:57.383200
1,559,492,877.3832
26,353
pythondev
help
Hey guys, new here and new to python. I installed Python3 on my mac. But my editor isnt recognizing it.
2019-06-02T17:55:05.384300
Taneka
pythondev_help_Taneka_2019-06-02T17:55:05.384300
1,559,498,105.3843
26,354
pythondev
help
have you configured your editor to point to the new executable?
2019-06-02T18:02:27.384900
Hiroko
pythondev_help_Hiroko_2019-06-02T18:02:27.384900
1,559,498,547.3849
26,355
pythondev
help
Also, what is your editor?
2019-06-02T18:02:39.385200
Nigel
pythondev_help_Nigel_2019-06-02T18:02:39.385200
1,559,498,559.3852
26,356
pythondev
help
And what exactly "isnt recognizing it" means?
2019-06-02T18:03:05.385700
Nigel
pythondev_help_Nigel_2019-06-02T18:03:05.385700
1,559,498,585.3857
26,357
pythondev
help
using pycharm
2019-06-02T18:03:39.386000
Taneka
pythondev_help_Taneka_2019-06-02T18:03:39.386000
1,559,498,619.386
26,358
pythondev
help
at the bottom it says 2.7 as interpreter
2019-06-02T18:04:04.386300
Taneka
pythondev_help_Taneka_2019-06-02T18:04:04.386300
1,559,498,644.3863
26,359
pythondev
help
None
2019-06-02T18:05:44.386400
Taneka
pythondev_help_Taneka_2019-06-02T18:05:44.386400
1,559,498,744.3864
26,360
pythondev
help
its not letting me click okay to change it
2019-06-02T18:05:57.386900
Taneka
pythondev_help_Taneka_2019-06-02T18:05:57.386900
1,559,498,757.3869
26,361
pythondev
help
I see at least two python3 enterpreters in the list. Maybe pycharm doesn't allow you to click "ok" because just selecting an interpreter is not enough?
2019-06-02T18:06:54.387600
Nigel
pythondev_help_Nigel_2019-06-02T18:06:54.387600
1,559,498,814.3876
26,362
pythondev
help
I ended up just creating a new project and initializing with py3
2019-06-02T18:10:32.388200
Taneka
pythondev_help_Taneka_2019-06-02T18:10:32.388200
1,559,499,032.3882
26,363
pythondev
help
my file is called app.py
2019-06-02T18:10:45.388600
Taneka
pythondev_help_Taneka_2019-06-02T18:10:45.388600
1,559,499,045.3886
26,364
pythondev
help
when I run `python app.py` it works
2019-06-02T18:11:09.389000
Taneka
pythondev_help_Taneka_2019-06-02T18:11:09.389000
1,559,499,069.389
26,365
pythondev
help
but when I run `python3 app.py`
2019-06-02T18:11:26.389400
Taneka
pythondev_help_Taneka_2019-06-02T18:11:26.389400
1,559,499,086.3894
26,366
pythondev
help
I get ModuleNotFoundError: No module named ‘requests’
2019-06-02T18:11:30.389600
Taneka
pythondev_help_Taneka_2019-06-02T18:11:30.389600
1,559,499,090.3896
26,367
pythondev
help
I have `import requests` so somehow that package is not available for python3 ?
2019-06-02T18:13:27.390100
Taneka
pythondev_help_Taneka_2019-06-02T18:13:27.390100
1,559,499,207.3901
26,368
pythondev
help
have you pip installed it for python3?
2019-06-02T18:14:32.390700
Mildred
pythondev_help_Mildred_2019-06-02T18:14:32.390700
1,559,499,272.3907
26,369
pythondev
help
do I need to install separate for each version?
2019-06-02T18:14:49.391200
Taneka
pythondev_help_Taneka_2019-06-02T18:14:49.391200
1,559,499,289.3912
26,370
pythondev
help
how do I do that?
2019-06-02T18:15:29.392200
Taneka
pythondev_help_Taneka_2019-06-02T18:15:29.392200
1,559,499,329.3922
26,371
pythondev
help
you might need to install pip for python3 I think on linux it was something like apt-get install python3_pip
2019-06-02T18:16:05.392900
Mildred
pythondev_help_Mildred_2019-06-02T18:16:05.392900
1,559,499,365.3929
26,372
pythondev
help
and then you use it like normal but as pip3
2019-06-02T18:16:18.393400
Mildred
pythondev_help_Mildred_2019-06-02T18:16:18.393400
1,559,499,378.3934
26,373
pythondev
help
i dont use a mac though, so i cant be more specific for you
2019-06-02T18:16:41.394000
Mildred
pythondev_help_Mildred_2019-06-02T18:16:41.394000
1,559,499,401.394
26,374
pythondev
help
<@Taneka> Yes, you do. Check the virtualenv tutorial: <https://packaging.python.org/tutorials/installing-packages/#creating-virtual-environments> And virtualenv docs: <https://docs.python.org/3/library/venv.html>
2019-06-02T18:16:49.394200
Nigel
pythondev_help_Nigel_2019-06-02T18:16:49.394200
1,559,499,409.3942
26,375
pythondev
help
sweet thanks guys!
2019-06-02T18:18:46.394500
Taneka
pythondev_help_Taneka_2019-06-02T18:18:46.394500
1,559,499,526.3945
26,376
pythondev
help
What would you recommend for importing csv and creating csv
2019-06-02T18:18:58.394800
Taneka
pythondev_help_Taneka_2019-06-02T18:18:58.394800
1,559,499,538.3948
26,377
pythondev
help
Python has built in module called `csv`: <https://docs.python.org/3/library/csv.html> for more advanced use there's also `pandas`: <http://pandas.pydata.org/>
2019-06-02T18:20:16.395600
Nigel
pythondev_help_Nigel_2019-06-02T18:20:16.395600
1,559,499,616.3956
26,378
pythondev
help
Pandas is super-duper cool, I wish I studied it earlier in my life :harold:
2019-06-02T18:20:51.396100
Nigel
pythondev_help_Nigel_2019-06-02T18:20:51.396100
1,559,499,651.3961
26,379
pythondev
help
hmm seems like way beyond my use
2019-06-02T18:22:23.396700
Taneka
pythondev_help_Taneka_2019-06-02T18:22:23.396700
1,559,499,743.3967
26,380
pythondev
help
isnt there some simple package you would recommend
2019-06-02T18:22:33.397100
Taneka
pythondev_help_Taneka_2019-06-02T18:22:33.397100
1,559,499,753.3971
26,381
pythondev
help
+1 for pandas, it only takes a day or so of learning for it to be useful
2019-06-02T18:22:45.397600
Bethany
pythondev_help_Bethany_2019-06-02T18:22:45.397600
1,559,499,765.3976
26,382
pythondev
help
I agree, it's quite easy to start working with it
2019-06-02T18:24:40.398400
Nigel
pythondev_help_Nigel_2019-06-02T18:24:40.398400
1,559,499,880.3984
26,383
pythondev
help
But for simple stuff just go with csv
2019-06-02T18:24:45.398700
Bethany
pythondev_help_Bethany_2019-06-02T18:24:45.398700
1,559,499,885.3987
26,384
pythondev
help
But if you're new to python maybe pandas is easier
2019-06-02T18:25:09.399400
Bethany
pythondev_help_Bethany_2019-06-02T18:25:09.399400
1,559,499,909.3994
26,385
pythondev
help
There is also a cool repo with exercises: <https://github.com/guipsamora/pandas_exercises>
2019-06-02T18:25:56.399800
Nigel
pythondev_help_Nigel_2019-06-02T18:25:56.399800
1,559,499,956.3998
26,386
pythondev
help
And tons of tutorials online
2019-06-02T18:26:18.400200
Nigel
pythondev_help_Nigel_2019-06-02T18:26:18.400200
1,559,499,978.4002
26,387
pythondev
help
None
2019-06-02T18:29:27.400300
Taneka
pythondev_help_Taneka_2019-06-02T18:29:27.400300
1,559,500,167.4003
26,388
pythondev
help
I cant access with hash for some reason
2019-06-02T18:29:36.400800
Taneka
pythondev_help_Taneka_2019-06-02T18:29:36.400800
1,559,500,176.4008
26,389
pythondev
help
What are you trying to do?
2019-06-02T18:29:56.401300
Bethany
pythondev_help_Bethany_2019-06-02T18:29:56.401300
1,559,500,196.4013
26,390
pythondev
help
it is r.text
2019-06-02T18:29:56.401400
Taneka
pythondev_help_Taneka_2019-06-02T18:29:56.401400
1,559,500,196.4014
26,391
pythondev
help
I am trying to do r.text[“results”]
2019-06-02T18:30:02.401600
Taneka
pythondev_help_Taneka_2019-06-02T18:30:02.401600
1,559,500,202.4016
26,392
pythondev
help
TypeError: string indices must be integers
2019-06-02T18:30:12.401900
Taneka
pythondev_help_Taneka_2019-06-02T18:30:12.401900
1,559,500,212.4019
26,393
pythondev
help
What is r?
2019-06-02T18:30:19.402100
Bethany
pythondev_help_Bethany_2019-06-02T18:30:19.402100
1,559,500,219.4021
26,394
pythondev
help
Show us the code
2019-06-02T18:30:24.402300
Nigel
pythondev_help_Nigel_2019-06-02T18:30:24.402300
1,559,500,224.4023
26,395
pythondev
help
response from google api
2019-06-02T18:30:27.402500
Taneka
pythondev_help_Taneka_2019-06-02T18:30:27.402500
1,559,500,227.4025
26,396
pythondev
help
None
2019-06-02T18:31:00.402700
Taneka
pythondev_help_Taneka_2019-06-02T18:31:00.402700
1,559,500,260.4027
26,397
pythondev
help
What does`type(r.text)` return?
2019-06-02T18:31:54.403500
Bethany
pythondev_help_Bethany_2019-06-02T18:31:54.403500
1,559,500,314.4035
26,398
pythondev
help
Ok that was supposed to be a block but I'm on a phone and don't know why
2019-06-02T18:32:20.404100
Bethany
pythondev_help_Bethany_2019-06-02T18:32:20.404100
1,559,500,340.4041
26,399
pythondev
help
well that is what errors
2019-06-02T18:32:41.404300
Taneka
pythondev_help_Taneka_2019-06-02T18:32:41.404300
1,559,500,361.4043
26,400
pythondev
help
`Traceback (most recent call last): File “app.py”, line 15, in &lt;module&gt; location() File “app.py”, line 13, in location print(r.text[“results”]) TypeError: string indices must be integers`
2019-06-02T18:32:53.404600
Taneka
pythondev_help_Taneka_2019-06-02T18:32:53.404600
1,559,500,373.4046
26,401
pythondev
help
oh i see, my response is a string and not a hash
2019-06-02T18:42:02.405100
Taneka
pythondev_help_Taneka_2019-06-02T18:42:02.405100
1,559,500,922.4051
26,402
pythondev
help
any overall tips on getting good with python? coming from ruby and some JS
2019-06-02T18:48:01.405700
Taneka
pythondev_help_Taneka_2019-06-02T18:48:01.405700
1,559,501,281.4057
26,403
pythondev
help
If you know ruby and js already it's honestly just a matter of getting used to python idioms and whatnot
2019-06-02T18:52:59.406800
Bethany
pythondev_help_Bethany_2019-06-02T18:52:59.406800
1,559,501,579.4068
26,404
pythondev
help
There's a whole scientific and numeric stack that's unique to python, if that interests you it's quite a bit different. Last I heard it's roughly 50% of python use
2019-06-02T18:56:49.408800
Bethany
pythondev_help_Bethany_2019-06-02T18:56:49.408800
1,559,501,809.4088
26,405
pythondev
help
<https://2.python-requests.org/en/master/user/quickstart/#json-response-content>
2019-06-02T18:58:04.408900
Brain
pythondev_help_Brain_2019-06-02T18:58:04.408900
1,559,501,884.4089
26,406
pythondev
help
<@Taneka> <https://blog.sqreen.com/from-ruby-to-python/>
2019-06-02T19:06:48.409200
Hiroko
pythondev_help_Hiroko_2019-06-02T19:06:48.409200
1,559,502,408.4092
26,407
pythondev
help
if you;re used to ruby, there will be alot more explicitness with python
2019-06-02T19:07:16.409700
Hiroko
pythondev_help_Hiroko_2019-06-02T19:07:16.409700
1,559,502,436.4097
26,408
pythondev
help
ryby seems to like implicitness, whereas python is explicit
2019-06-02T19:07:29.410100
Hiroko
pythondev_help_Hiroko_2019-06-02T19:07:29.410100
1,559,502,449.4101
26,409
pythondev
help
That's my impression as well when I did ruby for a weekend
2019-06-02T19:08:01.410600
Bethany
pythondev_help_Bethany_2019-06-02T19:08:01.410600
1,559,502,481.4106
26,410
pythondev
help
<@Serita> `insert` does that. <https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.insert.html>
2019-06-02T20:42:21.410900
Marth
pythondev_help_Marth_2019-06-02T20:42:21.410900
1,559,508,141.4109
26,411
pythondev
help
Hi Guys, Do u know how to write code in Python to multly dataset in .csv?
2019-06-02T22:24:36.411200
Starla
pythondev_help_Starla_2019-06-02T22:24:36.411200
1,559,514,276.4112
26,412
pythondev
help
Multiply*
2019-06-02T22:24:36.411300
Starla
pythondev_help_Starla_2019-06-02T22:24:36.411300
1,559,514,276.4113
26,413
pythondev
help
Can you clarify what you mean by “multiply a dataset”? I gather you don’t mean duplicate the rows or columns. Perhaps you mean multiply column A by column B into column C?
2019-06-03T00:04:49.411400
Hsiu
pythondev_help_Hsiu_2019-06-03T00:04:49.411400
1,559,520,289.4114
26,414
pythondev
help
Anyone have any good places or processes to learn about decorators? I get the high level concept and have used @x.setter. Looking for resources/best practices on good place to start using them.
2019-06-03T02:09:58.414400
Leora
pythondev_help_Leora_2019-06-03T02:09:58.414400
1,559,527,798.4144
26,415
pythondev
help
im in the same boat. I kinda get the idea, but no firm grasp of really when to use them (except flask, i get it for routes)
2019-06-03T02:12:15.414600
Mildred
pythondev_help_Mildred_2019-06-03T02:12:15.414600
1,559,527,935.4146
26,416
pythondev
help
<https://www.google.com/search?q=python+decorators> &gt; About 3,130,000 results
2019-06-03T02:16:55.414800
Chester
pythondev_help_Chester_2019-06-03T02:16:55.414800
1,559,528,215.4148
26,417
pythondev
help
<@Chester>: I've done that and will continue to do that. This was a question for people who may have been in a similar position and see if they had a preferred place to go look. Good to know Google is always a backup though.
2019-06-03T02:27:47.415300
Leora
pythondev_help_Leora_2019-06-03T02:27:47.415300
1,559,528,867.4153
26,418
pythondev
help
My point is that there are literally millions of articles and books about python in general, and decorators in specific. They are roughly the same because they describe the same concept. They differ only in wording, and you can pick your favorite one just by looking at the first google search results page.
2019-06-03T02:29:54.415500
Chester
pythondev_help_Chester_2019-06-03T02:29:54.415500
1,559,528,994.4155
26,419
pythondev
help
I think its 100% fair to ask for recommend sources on a specific topic
2019-06-03T03:03:12.415900
Conchita
pythondev_help_Conchita_2019-06-03T03:03:12.415900
1,559,530,992.4159
26,420