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
Thanks
2019-04-03T06:41:52.317700
Valeri
pythondev_help_Valeri_2019-04-03T06:41:52.317700
1,554,273,712.3177
16,821
pythondev
help
I'm stuck elsewhere now
2019-04-03T06:41:58.318000
Valeri
pythondev_help_Valeri_2019-04-03T06:41:58.318000
1,554,273,718.318
16,822
pythondev
help
The list I'm passing to the cron is None
2019-04-03T06:42:13.318400
Valeri
pythondev_help_Valeri_2019-04-03T06:42:13.318400
1,554,273,733.3184
16,823
pythondev
help
Have no idea why
2019-04-03T06:42:17.318600
Valeri
pythondev_help_Valeri_2019-04-03T06:42:17.318600
1,554,273,737.3186
16,824
pythondev
help
what’s the message body?
2019-04-03T06:47:10.319800
Hiroko
pythondev_help_Hiroko_2019-04-03T06:47:10.319800
1,554,274,030.3198
16,825
pythondev
help
And what are you using for a broker?
2019-04-03T06:47:34.320300
Hiroko
pythondev_help_Hiroko_2019-04-03T06:47:34.320300
1,554,274,054.3203
16,826
pythondev
help
redis
2019-04-03T06:50:12.320500
Valeri
pythondev_help_Valeri_2019-04-03T06:50:12.320500
1,554,274,212.3205
16,827
pythondev
help
So, my args, kwargs aren't reaching the cron
2019-04-03T06:50:24.320800
Valeri
pythondev_help_Valeri_2019-04-03T06:50:24.320800
1,554,274,224.3208
16,828
pythondev
help
Redis for local and sqs for prod
2019-04-03T06:53:53.321100
Valeri
pythondev_help_Valeri_2019-04-03T06:53:53.321100
1,554,274,433.3211
16,829
pythondev
help
<@Hiroko>
2019-04-03T06:54:09.321300
Valeri
pythondev_help_Valeri_2019-04-03T06:54:09.321300
1,554,274,449.3213
16,830
pythondev
help
what’s the code?
2019-04-03T07:13:01.321700
Hiroko
pythondev_help_Hiroko_2019-04-03T07:13:01.321700
1,554,275,581.3217
16,831
pythondev
help
I was using `kwargs` like `task.apply_async(a=1, b=2)`
2019-04-03T07:16:18.322700
Valeri
pythondev_help_Valeri_2019-04-03T07:16:18.322700
1,554,275,778.3227
16,832
pythondev
help
My receiver looked like: `task(**kwargs)`
2019-04-03T07:16:59.323400
Valeri
pythondev_help_Valeri_2019-04-03T07:16:59.323400
1,554,275,819.3234
16,833
pythondev
help
Changed it to `task(a, b)`
2019-04-03T07:17:17.323800
Valeri
pythondev_help_Valeri_2019-04-03T07:17:17.323800
1,554,275,837.3238
16,834
pythondev
help
Called it like: `task.apply_async(args=[1,2])`
2019-04-03T07:17:40.324400
Valeri
pythondev_help_Valeri_2019-04-03T07:17:40.324400
1,554,275,860.3244
16,835
pythondev
help
Works now!
2019-04-03T07:17:45.324600
Valeri
pythondev_help_Valeri_2019-04-03T07:17:45.324600
1,554,275,865.3246
16,836
pythondev
help
:thumbsup:
2019-04-03T07:21:29.325200
Hiroko
pythondev_help_Hiroko_2019-04-03T07:21:29.325200
1,554,276,089.3252
16,837
pythondev
help
Hello all!
2019-04-03T07:21:46.325500
Keiko
pythondev_help_Keiko_2019-04-03T07:21:46.325500
1,554,276,106.3255
16,838
pythondev
help
I have a problem in one of my assignments in python
2019-04-03T07:22:04.326100
Keiko
pythondev_help_Keiko_2019-04-03T07:22:04.326100
1,554,276,124.3261
16,839
pythondev
help
Can somebody help solve me
2019-04-03T07:22:12.326500
Keiko
pythondev_help_Keiko_2019-04-03T07:22:12.326500
1,554,276,132.3265
16,840
pythondev
help
If you have a question, please just ask it. Please do not ask for topic experts; do not DM or ping random users. We cannot begin to answer a question until we actually get a question. <http://sol.gfxile.net/dontask.html|*Asking Questions*>
2019-04-03T07:23:28.326700
Leana
pythondev_help_Leana_2019-04-03T07:23:28.326700
1,554,276,208.3267
16,841
pythondev
help
Create a python program to find the shortest distance between nodes. This program will accept a list of tuple of x-y coordinates as an input and will output a list of nodes which describes the shortest path between each successive pair, starting with the reference point. You can use Euclidean distance to calculate the distance between two points. Given a reference point and a list of nodes, such as Reference point: (0,0) Sample Input = [(3, 1),(0, 2), (2, 1), (-1, 1)]
2019-04-03T07:28:14.326900
Keiko
pythondev_help_Keiko_2019-04-03T07:28:14.326900
1,554,276,494.3269
16,842
pythondev
help
Expected Output for sample input = [(0, 0), (-1, 1), (0, 2), (2, 1), (3, 1)]
2019-04-03T07:29:58.327100
Keiko
pythondev_help_Keiko_2019-04-03T07:29:58.327100
1,554,276,598.3271
16,843
pythondev
help
what have you tried so far?
2019-04-03T07:32:55.327300
Hiroko
pythondev_help_Hiroko_2019-04-03T07:32:55.327300
1,554,276,775.3273
16,844
pythondev
help
Tried to calculate the Euclidean distance from reference point 0,0 to all input nodes than select the node with least Euclidean distance.Now the reference point is shifted to (-1,1) which is having lease Euclidean distance of all and so on
2019-04-03T07:44:40.330400
Keiko
pythondev_help_Keiko_2019-04-03T07:44:40.330400
1,554,277,480.3304
16,845
pythondev
help
that’s a brute force approach, but would work
2019-04-03T07:45:30.330700
Hiroko
pythondev_help_Hiroko_2019-04-03T07:45:30.330700
1,554,277,530.3307
16,846
pythondev
help
what’s the problem you’re having?
2019-04-03T07:45:53.331300
Hiroko
pythondev_help_Hiroko_2019-04-03T07:45:53.331300
1,554,277,553.3313
16,847
pythondev
help
Problem is I am not able to match up my logic with syntax
2019-04-03T08:22:28.332400
Keiko
pythondev_help_Keiko_2019-04-03T08:22:28.332400
1,554,279,748.3324
16,848
pythondev
help
And another problem is that now I had to leave urgently to another city for some work and not carrying laptop.
2019-04-03T08:23:49.334200
Keiko
pythondev_help_Keiko_2019-04-03T08:23:49.334200
1,554,279,829.3342
16,849
pythondev
help
We can't really help with the second one. If you can't install Python on your current machine, you could look into running a Jupyter notebook on AWS or something (not sure if there are notebooks as a service available somewhere).
2019-04-03T09:24:51.336600
Carmen
pythondev_help_Carmen_2019-04-03T09:24:51.336600
1,554,283,491.3366
16,850
pythondev
help
Azure has some kind of support for running notebooks
2019-04-03T09:41:45.337400
Yaeko
pythondev_help_Yaeko_2019-04-03T09:41:45.337400
1,554,284,505.3374
16,851
pythondev
help
As for the first problem, we need code to be able to really help you out.
2019-04-03T09:43:43.338000
Carmen
pythondev_help_Carmen_2019-04-03T09:43:43.338000
1,554,284,623.338
16,852
pythondev
help
or at least pseudocode
2019-04-03T09:44:03.338300
Hiroko
pythondev_help_Hiroko_2019-04-03T09:44:03.338300
1,554,284,643.3383
16,853
pythondev
help
first step is knowing how to solve the problem
2019-04-03T09:44:21.338900
Hiroko
pythondev_help_Hiroko_2019-04-03T09:44:21.338900
1,554,284,661.3389
16,854
pythondev
help
then step two is translating that into python/java/golang/$other_language
2019-04-03T09:44:46.339400
Hiroko
pythondev_help_Hiroko_2019-04-03T09:44:46.339400
1,554,284,686.3394
16,855
pythondev
help
None
2019-04-03T09:45:45.339500
Jolanda
pythondev_help_Jolanda_2019-04-03T09:45:45.339500
1,554,284,745.3395
16,856
pythondev
help
I can't understand why is adding that columns Unamed and values at the end
2019-04-03T09:46:54.339800
Jolanda
pythondev_help_Jolanda_2019-04-03T09:46:54.339800
1,554,284,814.3398
16,857
pythondev
help
Does your hashtable.csv file contain those columns? I don't normally use Pandas, so I'm not 100% on it, but you're reading from that CSV and then merging data into it, so that would be my first assumption.
2019-04-03T09:49:02.341000
Carmen
pythondev_help_Carmen_2019-04-03T09:49:02.341000
1,554,284,942.341
16,858
pythondev
help
That hashtable just contained first three columns, hash_pagina,hash_url,url
2019-04-03T09:49:58.341700
Jolanda
pythondev_help_Jolanda_2019-04-03T09:49:58.341700
1,554,284,998.3417
16,859
pythondev
help
this*
2019-04-03T09:50:08.341900
Jolanda
pythondev_help_Jolanda_2019-04-03T09:50:08.341900
1,554,285,008.3419
16,860
pythondev
help
It looks like it is probably coming from the `df3 = pd.merge(hashtable,self.hashtable, how='outer')` line. You say `hashtable` only has those fields but what is the contents of `self.hashtable`?
2019-04-03T09:53:29.343800
Clemmie
pythondev_help_Clemmie_2019-04-03T09:53:29.343800
1,554,285,209.3438
16,861
pythondev
help
after 4 follwing runs i got this header: ,hash_pagina,hash_url,url,Unnamed: 0,Unnamed: 0.1,Unnamed: 0.1.1,Unnamed: 0.1.1.1
2019-04-03T09:53:30.343900
Jolanda
pythondev_help_Jolanda_2019-04-03T09:53:30.343900
1,554,285,210.3439
16,862
pythondev
help
yeah - that would come out of repeatedly merging I think. you need to reevaluate how `hashtable` and `self.hashtable` are being constructed and passed around
2019-04-03T09:54:24.345000
Clemmie
pythondev_help_Clemmie_2019-04-03T09:54:24.345000
1,554,285,264.345
16,863
pythondev
help
I'm going to debug here
2019-04-03T09:56:34.345300
Jolanda
pythondev_help_Jolanda_2019-04-03T09:56:34.345300
1,554,285,394.3453
16,864
pythondev
help
Solved using df.to_csv instead using *with open*
2019-04-03T10:49:20.346000
Jolanda
pythondev_help_Jolanda_2019-04-03T10:49:20.346000
1,554,288,560.346
16,865
pythondev
help
and I should call `self.hashtable = pd.read_csv(settings.CACHE_DIR + '/' + str(date.today()) + '/hashtable.csv', index_col=False)` in every request, so was recording just a row per run
2019-04-03T10:50:23.346800
Jolanda
pythondev_help_Jolanda_2019-04-03T10:50:23.346800
1,554,288,623.3468
16,866
pythondev
help
:thumbsup:
2019-04-03T10:51:53.347000
Clemmie
pythondev_help_Clemmie_2019-04-03T10:51:53.347000
1,554,288,713.347
16,867
pythondev
help
<@Clemmie> C'mon let's play monopoly. Cash fun and pretty property
2019-04-03T11:14:58.347700
Demetrice
pythondev_help_Demetrice_2019-04-03T11:14:58.347700
1,554,290,098.3477
16,868
pythondev
help
I have a question posted on SO for some help which is based on ActiveMQ and OpenCV. You may want to answer that and help me out - <https://stackoverflow.com/questions/55498543/how-to-poll-activemq-on-using-stomp-py>
2019-04-03T11:15:56.348600
Luise
pythondev_help_Luise_2019-04-03T11:15:56.348600
1,554,290,156.3486
16,869
pythondev
help
This should be straightforward but i'm having a hard time trying to create an sftp client using Paramiko (Python). Code: ``` transport = sftp.Transport(('myhost', port), default_max_packet_size=10000, default_window_size=10000) transport.connect(username='myuser', password='mypassword') client_from_transport = sftp.SFTPClient.from_transport(transport) ``` Error: ``` Traceback (most recent call last): File "sftp.py", line 91, in &lt;module&gt; sftp_client = create_sftp_client() File "...\sftp.py", line 63, in create_sftp_client client_from_transport = sftp.SFTPClient.from_transport(transport) File "...\Python\Python37\Lib\site-packages\paramiko\sftp_client.py", line 165, in from_transport window_size=window_size, max_packet_size=max_packet_size File "...\Python\Python37\Lib\site-packages\paramiko\transport.py", line 806, in open_session timeout=timeout, File "...\Python\Python37\Lib\site-packages\paramiko\transport.py", line 933, in open_channel raise e File "...\Python\Python37\Lib\site-packages\paramiko\transport.py", line 1982, in run ptype, m = self.packetizer.read_message() File "...\Python\Python37\Lib\site-packages\paramiko\packet.py", line 441, in read_message header = self.read_all(self.__block_size_in, check_rekey=True) File "...\Python\Python37\Lib\site-packages\paramiko\packet.py", line 290, in read_all raise EOFError() EOFError ``` Printing the transport object shows: ``` &lt;paramiko.Transport at 0x68d0c1d0 (cipher aes128-ctr, 128 bits) (connected; awaiting auth)&gt; ``` I got the same error when trying to create an sftp client using sftp_client = SSHClient() instead of going through a transport object. Also tried adding ```timeout=timeout``` when creating my transport object, did not help. Any thoughts on this please?
2019-04-03T11:35:57.349200
Azucena
pythondev_help_Azucena_2019-04-03T11:35:57.349200
1,554,291,357.3492
16,870
pythondev
help
Same credentials/connection data is working when I use Filezilla to connect
2019-04-03T11:37:49.349400
Azucena
pythondev_help_Azucena_2019-04-03T11:37:49.349400
1,554,291,469.3494
16,871
pythondev
help
If I am in an `exception` can I `raise` another exception like so; ``` try: #attempt some code except Exception: if some_condition: raise AnotherCustomException ```
2019-04-03T11:47:25.351100
Arturo
pythondev_help_Arturo_2019-04-03T11:47:25.351100
1,554,292,045.3511
16,872
pythondev
help
yes
2019-04-03T11:47:57.351300
Jimmy
pythondev_help_Jimmy_2019-04-03T11:47:57.351300
1,554,292,077.3513
16,873
pythondev
help
try it
2019-04-03T11:48:09.351500
Jimmy
pythondev_help_Jimmy_2019-04-03T11:48:09.351500
1,554,292,089.3515
16,874
pythondev
help
and you should see both exception in the stacktrace
2019-04-03T11:48:22.351800
Jimmy
pythondev_help_Jimmy_2019-04-03T11:48:22.351800
1,554,292,102.3518
16,875
pythondev
help
cool
2019-04-03T11:48:39.352000
Arturo
pythondev_help_Arturo_2019-04-03T11:48:39.352000
1,554,292,119.352
16,876
pythondev
help
thanks
2019-04-03T11:48:41.352200
Arturo
pythondev_help_Arturo_2019-04-03T11:48:41.352200
1,554,292,121.3522
16,877
pythondev
help
Debug log below
2019-04-03T12:59:38.352600
Azucena
pythondev_help_Azucena_2019-04-03T12:59:38.352600
1,554,296,378.3526
16,878
pythondev
help
DEB [20190403-12:31:01.550] thr=1 paramiko.transport: starting thread (client mode): 0xfbc42780 DEB [20190403-12:31:01.550] thr=1 paramiko.transport: Local version/idstring: SSH-2.0-paramiko_2.4.2 DEB [20190403-12:31:01.567] thr=1 paramiko.transport: Remote version/idstring: SSH-2.0-Server INF [20190403-12:31:01.567] thr=1 paramiko.transport: Connected (version 2.0, client Server) DEB [20190403-12:31:01.571] thr=1 paramiko.transport: kex algos:['ecdh-sha2-nistp521', 'ecdh-sha2-nistp384', 'ecdh-sha2-nistp256', 'diffie-hellman-group-exchange-sha256', 'diffie-hellman-group-exchange-sha1', 'diffie-hellman-group18-sha512', 'diffie-hellman-group17-sha512', 'diffie-hellman-group16-sha512', 'diffie-hellman-group15-sha512', 'diffie-hellman-group14-sha256', 'diffie-hellman-group14-sha1', 'diffie-hellman-group1-sha1'] server key:['ssh-rsa'] client encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'aes192-cbc', 'aes256-cbc'] server encrypt:['aes128-ctr', 'aes192-ctr', 'aes256-ctr', 'arcfour256', 'arcfour128', 'aes128-cbc', '3des-cbc', 'blowfish-cbc', 'aes192-cbc', 'aes256-cbc'] client mac:['hmac-md5', 'hmac-sha1', 'hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1-96', 'hmac-md5-96'] server mac:['hmac-md5', 'hmac-sha1', 'hmac-sha2-256', 'hmac-sha2-512', 'hmac-sha1-96', 'hmac-md5-96'] client compress:['none', 'zlib', '<mailto:[email protected]|[email protected]>'] server compress:['none', 'zlib', '<mailto:[email protected]|[email protected]>'] client lang:[''] server lang:[''] kex follows?False DEB [20190403-12:31:01.572] thr=1 paramiko.transport: Kex agreed: ecdh-sha2-nistp256 DEB [20190403-12:31:01.572] thr=1 paramiko.transport: HostKey agreed: ssh-rsa DEB [20190403-12:31:01.572] thr=1 paramiko.transport: Cipher agreed: aes128-ctr DEB [20190403-12:31:01.572] thr=1 paramiko.transport: MAC agreed: hmac-sha2-256 DEB [20190403-12:31:01.572] thr=1 paramiko.transport: Compression agreed: none DEB [20190403-12:31:01.654] thr=1 paramiko.transport: kex engine KexNistp256 specified hash_algo &lt;built-in function openssl_sha256&gt; DEB [20190403-12:31:01.669] thr=1 paramiko.transport: Switch to new keys ... DEB [20190403-12:31:01.670] thr=2 paramiko.transport: Attempting password auth... DEB [20190403-12:31:01.689] thr=1 paramiko.transport: userauth is OK INF [20190403-12:31:02.010] thr=1 paramiko.transport: Authentication continues... DEB [20190403-12:31:02.010] thr=1 paramiko.transport: Methods: ['keyboard-interactive'] DEB [20190403-12:31:02.010] thr=2 paramiko.transport: [chan 0] Max packet in: 10000 bytes DEB [20190403-12:31:02.026] thr=1 paramiko.transport: EOF in transport thread
2019-04-03T12:59:51.352800
Azucena
pythondev_help_Azucena_2019-04-03T12:59:51.352800
1,554,296,391.3528
16,879
pythondev
help
HI, I need to parse some XML files and spit them out in a csv format. These are retail pos transaction logs that I need to transform into a summary CSV file to import into another system. Can I get some opinions on the best package to try out first? I just came across this but have not tried it yet… <https://pypi.org/project/xmlutils/>
2019-04-03T16:26:41.356500
Kit
pythondev_help_Kit_2019-04-03T16:26:41.356500
1,554,308,801.3565
16,880
pythondev
help
I haven't used it myself, but BeautifulSoup4 has been recommended in the past for HTML/XML parsing.
2019-04-03T16:28:57.357200
Sasha
pythondev_help_Sasha_2019-04-03T16:28:57.357200
1,554,308,937.3572
16,881
pythondev
help
thanks, I am playing with xmltodict which works with simple xml but failing on my xml for some reason
2019-04-03T16:50:04.358400
Kit
pythondev_help_Kit_2019-04-03T16:50:04.358400
1,554,310,204.3584
16,882
pythondev
help
Got it, the sample XML I was sent wasnt complete. works now
2019-04-03T16:56:47.359100
Kit
pythondev_help_Kit_2019-04-03T16:56:47.359100
1,554,310,607.3591
16,883
pythondev
help
<@Kit> I would checkout openrefine you can jsut import the file and automatically format as csv <https://github.com/OpenRefine/OpenRefine>
2019-04-03T17:18:29.359700
Sparkle
pythondev_help_Sparkle_2019-04-03T17:18:29.359700
1,554,311,909.3597
16,884
pythondev
help
Hi. Why is there no '1' for the 'y' variable ? :
2019-04-03T19:04:23.360700
Clayton
pythondev_help_Clayton_2019-04-03T19:04:23.360700
1,554,318,263.3607
16,885
pythondev
help
<https://github.com/paulgureghian/Random_Forests/blob/master/Random_Forests.ipynb>
2019-04-03T19:04:29.360900
Clayton
pythondev_help_Clayton_2019-04-03T19:04:29.360900
1,554,318,269.3609
16,886
pythondev
help
In the printout for the 'shape'
2019-04-03T19:05:15.361400
Clayton
pythondev_help_Clayton_2019-04-03T19:05:15.361400
1,554,318,315.3614
16,887
pythondev
help
My guess is that a one-dimensional tensor is considered to only have a single shape axis. Otherwise you'd have to ask why it shouldn't be `(100, 1, 1, 1, ...)` since it has just a single element along all other dimensions, too.
2019-04-03T19:22:08.363200
Sasha
pythondev_help_Sasha_2019-04-03T19:22:08.363200
1,554,319,328.3632
16,888
pythondev
help
Hello, I need to estimate server requirements for a Dockerized Django and Angular 7 app. Could anyone help me out with how I go about this?
2019-04-03T21:28:18.364900
Russel
pythondev_help_Russel_2019-04-03T21:28:18.364900
1,554,326,898.3649
16,889
pythondev
help
Are you talking about RAM, CPUs, disk space, and so on? Or are you talking about more intangible project-level requirements for how the server and the software need to behave?
2019-04-03T21:42:40.366500
Carmen
pythondev_help_Carmen_2019-04-03T21:42:40.366500
1,554,327,760.3665
16,890
pythondev
help
None
2019-04-03T21:42:45.366700
Rodrick
pythondev_help_Rodrick_2019-04-03T21:42:45.366700
1,554,327,765.3667
16,891
pythondev
help
Also, is the app built already, or are you doing a rough estimate for provisioning before the app gets built?
2019-04-03T21:43:06.367500
Carmen
pythondev_help_Carmen_2019-04-03T21:43:06.367500
1,554,327,786.3675
16,892
pythondev
help
<@Carmen> RAM, CPUs, disk space. I have built out a very small portion of the backend but I guess I would need more of a rough estimate before it is fully built.
2019-04-03T21:44:50.369100
Russel
pythondev_help_Russel_2019-04-03T21:44:50.369100
1,554,327,890.3691
16,893
pythondev
help
Some questions to help you wrap your head around what you need: • How much raw processing is needed for what the app is doing? Is it crunching a lot of numbers per request? More processing means you need more processors. • How many users will you need to support concurrently? More concurrent users = more connections at a time = more processors and more RAM. • How large are your data structures and responses? If you have to load 500MB of data into memory for each request to do the processing, your RAM requirements are much higher than if you're doing iterative file processing line by line. • Do you need to be storing data? User uploads, generated files being downloaded by users, etc. More of those means more disk space needed.
2019-04-03T22:08:03.374600
Carmen
pythondev_help_Carmen_2019-04-03T22:08:03.374600
1,554,329,283.3746
16,894
pythondev
help
One thing that will absolutely help you out is to run some benchmarks on your existing code. Use a testing tool like Apache JMeter to simulate load on your app and see how it performs.
2019-04-03T22:09:39.376100
Carmen
pythondev_help_Carmen_2019-04-03T22:09:39.376100
1,554,329,379.3761
16,895
pythondev
help
Your goal is to see how your server behaves, and whether you start bogging down because of lack of RAM, lack of CPUs, or something else.
2019-04-03T22:10:19.376800
Carmen
pythondev_help_Carmen_2019-04-03T22:10:19.376800
1,554,329,419.3768
16,896
pythondev
help
<@Carmen> Ok great, I'll look into the JMeter now. Thanks for your help!
2019-04-03T22:25:15.378000
Russel
pythondev_help_Russel_2019-04-03T22:25:15.378000
1,554,330,315.378
16,897
pythondev
help
<@Carmen> anything for my issue
2019-04-03T23:03:08.378500
Rodrick
pythondev_help_Rodrick_2019-04-03T23:03:08.378500
1,554,332,588.3785
16,898
pythondev
help
Hello. I've just started learning python, and I'm actually confused between the term 'ordered' and 'unordered' collections. What it the context of the word 'ordered' and 'unordered' when talking about collections?
2019-04-03T23:31:13.380400
Alishia
pythondev_help_Alishia_2019-04-03T23:31:13.380400
1,554,334,273.3804
16,899
pythondev
help
I'll greatly appreciate it if someone can provide a code example
2019-04-03T23:31:34.380900
Alishia
pythondev_help_Alishia_2019-04-03T23:31:34.380900
1,554,334,294.3809
16,900
pythondev
help
When iterating over an ordered collection, the items are returned in the exact order they were originally added. With an unordered collection, they can be produced in any arbitrary order (such as by hash value, memory address, etc.) as long as they're all included.
2019-04-03T23:36:49.382300
Sasha
pythondev_help_Sasha_2019-04-03T23:36:49.382300
1,554,334,609.3823
16,901
pythondev
help
None
2019-04-03T23:39:53.382400
Sasha
pythondev_help_Sasha_2019-04-03T23:39:53.382400
1,554,334,793.3824
16,902
pythondev
help
<@Sasha> so the word 'order' in this context means whether or not the sequence of the data will be kept intact when creating the collection?
2019-04-03T23:45:13.384200
Alishia
pythondev_help_Alishia_2019-04-03T23:45:13.384200
1,554,335,113.3842
16,903
pythondev
help
Exactly.
2019-04-03T23:45:28.384500
Sasha
pythondev_help_Sasha_2019-04-03T23:45:28.384500
1,554,335,128.3845
16,904
pythondev
help
It doesn't imply that the data is alphabetically sorted, for instance.
2019-04-03T23:45:44.384900
Sasha
pythondev_help_Sasha_2019-04-03T23:45:44.384900
1,554,335,144.3849
16,905
pythondev
help
ok thanks a lot. Your explanation helped cleared up my doubt.
2019-04-03T23:48:02.385900
Alishia
pythondev_help_Alishia_2019-04-03T23:48:02.385900
1,554,335,282.3859
16,906
pythondev
help
Hi, anyone up at the moment? I am looking for some suggestions and guidelines for implementing an internal SSO. After doing some research about it, I came to know that there are 2 major protocols, SAML and CAS. Currently what my thoughts are: 1) SAML is much more complex and detailed protocol, somewhat difficult to implement and manage. 2) CAS is simpler and has easier implementation as compared to SAML I like django-mama-cas and django-cs-ng as my choices for server and clients respectively. But as this is my first time getting involved with SSO so I get a little confused trying to wrap my head around these concepts. Please share your suggestions about this, would really appreciate
2019-04-04T02:43:47.386500
Virgil
pythondev_help_Virgil_2019-04-04T02:43:47.386500
1,554,345,827.3865
16,907
pythondev
help
I'm downloading a csv file using request and adding the data to a pandas df, modify some data and export to a csv file. Ie drop the first row with line 1 below. However my export have the first row as `0`
2019-04-04T04:42:24.386800
Conchita
pythondev_help_Conchita_2019-04-04T04:42:24.386800
1,554,352,944.3868
16,908
pythondev
help
```0 "Address,Amount" "DBF4pdn7CGZMkxFUvdMbfxyJ8cRqfwsu, 21312```
2019-04-04T04:43:14.387500
Conchita
pythondev_help_Conchita_2019-04-04T04:43:14.387500
1,554,352,994.3875
16,909
pythondev
help
How do I modify line 1 in my code to export a csv file without the first row containing the `0` ?
2019-04-04T04:43:38.388100
Conchita
pythondev_help_Conchita_2019-04-04T04:43:38.388100
1,554,353,018.3881
16,910
pythondev
help
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_csv.html> - see `header` argument
2019-04-04T05:24:51.388600
Wilber
pythondev_help_Wilber_2019-04-04T05:24:51.388600
1,554,355,491.3886
16,911
pythondev
help
should i prefer ml or data science ?
2019-04-04T05:34:00.390200
Sharee
pythondev_help_Sharee_2019-04-04T05:34:00.390200
1,554,356,040.3902
16,912
pythondev
help
Hello all. I'd like to generate PDFs to use as sample data for my application. Could someone recommend a tool that works with `Python 3`?
2019-04-04T05:34:07.390500
Jamey
pythondev_help_Jamey_2019-04-04T05:34:07.390500
1,554,356,047.3905
16,913
pythondev
help
what should i specialize in ??
2019-04-04T05:34:30.390900
Sharee
pythondev_help_Sharee_2019-04-04T05:34:30.390900
1,554,356,070.3909
16,914
pythondev
help
Does anyone have experience combining python and nodejs? Our company's API servers mostly run on nodejs, but our machine learning models are in python. We want to introduce machine learning APIs that use a python model, but our development department doesn't want to combine too many stacks. Is there a way for a nodejs server to handle python models?
2019-04-04T05:59:31.391200
Dawn
pythondev_help_Dawn_2019-04-04T05:59:31.391200
1,554,357,571.3912
16,915
pythondev
help
guess nobodys there to help me
2019-04-04T06:01:33.391500
Sharee
pythondev_help_Sharee_2019-04-04T06:01:33.391500
1,554,357,693.3915
16,916
pythondev
help
<@Sharee> ML is a better choice, especially if you're in Pakistan
2019-04-04T06:03:18.392100
Virgil
pythondev_help_Virgil_2019-04-04T06:03:18.392100
1,554,357,798.3921
16,917
pythondev
help
i m an indian
2019-04-04T06:03:40.392600
Sharee
pythondev_help_Sharee_2019-04-04T06:03:40.392600
1,554,357,820.3926
16,918
pythondev
help
bro
2019-04-04T06:03:45.392900
Sharee
pythondev_help_Sharee_2019-04-04T06:03:45.392900
1,554,357,825.3929
16,919
pythondev
help
I'm not really sure about the Indian Tech Market, but still I'd suggest you to go with ML
2019-04-04T06:04:05.393300
Virgil
pythondev_help_Virgil_2019-04-04T06:04:05.393300
1,554,357,845.3933
16,920