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 | Any ideas where to start? | 2019-05-10T16:18:03.258000 | Tyson | pythondev_help_Tyson_2019-05-10T16:18:03.258000 | 1,557,505,083.258 | 23,121 |
pythondev | help | I think you would want a wrapper that mapped the multi-keys to a single shared key before hitting the LRUChache decorated object | 2019-05-10T16:19:00.258800 | Clemmie | pythondev_help_Clemmie_2019-05-10T16:19:00.258800 | 1,557,505,140.2588 | 23,122 |
pythondev | help | hmm... that would be possible if I'd knew all possible keys in advance | 2019-05-10T16:20:54.259300 | Tyson | pythondev_help_Tyson_2019-05-10T16:20:54.259300 | 1,557,505,254.2593 | 23,123 |
pythondev | help | e.g. just hash them all together | 2019-05-10T16:21:01.259500 | Tyson | pythondev_help_Tyson_2019-05-10T16:21:01.259500 | 1,557,505,261.2595 | 23,124 |
pythondev | help | the flow is like that: a user requests a object by key. if the object exists in the cache, it's returned | 2019-05-10T16:22:55.262000 | Tyson | pythondev_help_Tyson_2019-05-10T16:22:55.262000 | 1,557,505,375.262 | 23,125 |
pythondev | help | another user reuqests the object but using a different key (e.g. a different, unique property) | 2019-05-10T16:23:14.262600 | Tyson | pythondev_help_Tyson_2019-05-10T16:23:14.262600 | 1,557,505,394.2626 | 23,126 |
pythondev | help | the object is already in cache | 2019-05-10T16:23:22.262800 | Tyson | pythondev_help_Tyson_2019-05-10T16:23:22.262800 | 1,557,505,402.2628 | 23,127 |
pythondev | help | the trouble is that LRUCache maps the function call to the return value, so if you have a different function call (different key in param) it will be different - even keyword order on calling can be a different entry `f(a=1, b=2)` might not hit the cache of `f(b=2, a=1)` | 2019-05-10T16:23:27.263100 | Clemmie | pythondev_help_Clemmie_2019-05-10T16:23:27.263100 | 1,557,505,407.2631 | 23,128 |
pythondev | help | What if you load the file into the script make the changes and just rewrite that way the order and formatting are retained? | 2019-05-10T16:23:38.263400 | Holly | pythondev_help_Holly_2019-05-10T16:23:38.263400 | 1,557,505,418.2634 | 23,129 |
pythondev | help | so, after I found the matching object I'd like to add the second key so it can be found if the next user requests the object using one of the two keys we know so far | 2019-05-10T16:23:57.264100 | Tyson | pythondev_help_Tyson_2019-05-10T16:23:57.264100 | 1,557,505,437.2641 | 23,130 |
pythondev | help | is there a computation taking place, or just a lookup? | 2019-05-10T16:24:41.264700 | Clemmie | pythondev_help_Clemmie_2019-05-10T16:24:41.264700 | 1,557,505,481.2647 | 23,131 |
pythondev | help | lookup | 2019-05-10T16:24:51.265100 | Tyson | pythondev_help_Tyson_2019-05-10T16:24:51.265100 | 1,557,505,491.2651 | 23,132 |
pythondev | help | and some read io | 2019-05-10T16:24:59.265500 | Tyson | pythondev_help_Tyson_2019-05-10T16:24:59.265500 | 1,557,505,499.2655 | 23,133 |
pythondev | help | LRUCache is really for computation heavy functions. It won’t give you anything for lookups | 2019-05-10T16:25:00.265600 | Clemmie | pythondev_help_Clemmie_2019-05-10T16:25:00.265600 | 1,557,505,500.2656 | 23,134 |
pythondev | help | I just wanted to dump all stuff into memory so I don't have to read from disk for every request | 2019-05-10T16:25:33.266300 | Tyson | pythondev_help_Tyson_2019-05-10T16:25:33.266300 | 1,557,505,533.2663 | 23,135 |
pythondev | help | thought a simply dict would do it | 2019-05-10T16:25:50.266600 | Tyson | pythondev_help_Tyson_2019-05-10T16:25:50.266600 | 1,557,505,550.2666 | 23,136 |
pythondev | help | I want to limit it's size | 2019-05-10T16:25:55.266900 | Tyson | pythondev_help_Tyson_2019-05-10T16:25:55.266900 | 1,557,505,555.2669 | 23,137 |
pythondev | help | LRU seems like a nice strategy | 2019-05-10T16:26:02.267300 | Tyson | pythondev_help_Tyson_2019-05-10T16:26:02.267300 | 1,557,505,562.2673 | 23,138 |
pythondev | help | also: concurrent access could be an issue | 2019-05-10T16:26:29.268200 | Tyson | pythondev_help_Tyson_2019-05-10T16:26:29.268200 | 1,557,505,589.2682 | 23,139 |
pythondev | help | sure, you can build a cache to do it, and mimic the functionality of LRUCache, but you will need to build you own tooling | 2019-05-10T16:26:29.268300 | Clemmie | pythondev_help_Clemmie_2019-05-10T16:26:29.268300 | 1,557,505,589.2683 | 23,140 |
pythondev | help | I see. okay, good to know. So at least I know LRUCache will most probably be a dead end | 2019-05-10T16:27:13.269100 | Tyson | pythondev_help_Tyson_2019-05-10T16:27:13.269100 | 1,557,505,633.2691 | 23,141 |
pythondev | help | None | 2019-05-10T16:46:27.269200 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:46:27.269200 | 1,557,506,787.2692 | 23,142 |
pythondev | help | I keep getting an error that the range is to much because it splits it at the `.` | 2019-05-10T16:47:04.270100 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:47:04.270100 | 1,557,506,824.2701 | 23,143 |
pythondev | help | How can I get the last value | 2019-05-10T16:47:24.270400 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:47:24.270400 | 1,557,506,844.2704 | 23,144 |
pythondev | help | `f.split('.'][-1]` | 2019-05-10T16:47:48.270800 | Hiroko | pythondev_help_Hiroko_2019-05-10T16:47:48.270800 | 1,557,506,868.2708 | 23,145 |
pythondev | help | What does the -1 do | 2019-05-10T16:48:09.271200 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:48:09.271200 | 1,557,506,889.2712 | 23,146 |
pythondev | help | Idk waht it does but it works | 2019-05-10T16:48:33.271500 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:48:33.271500 | 1,557,506,913.2715 | 23,147 |
pythondev | help | what* | 2019-05-10T16:48:37.271800 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:48:37.271800 | 1,557,506,917.2718 | 23,148 |
pythondev | help | it reads last element of list | 2019-05-10T16:48:42.271900 | Raguel | pythondev_help_Raguel_2019-05-10T16:48:42.271900 | 1,557,506,922.2719 | 23,149 |
pythondev | help | basically it starts from last element | 2019-05-10T16:48:54.272300 | Raguel | pythondev_help_Raguel_2019-05-10T16:48:54.272300 | 1,557,506,934.2723 | 23,150 |
pythondev | help | ahhhh | 2019-05-10T16:49:10.272800 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:49:10.272800 | 1,557,506,950.2728 | 23,151 |
pythondev | help | you should try this with your lists to get better understanding how slicing works | 2019-05-10T16:49:29.273300 | Raguel | pythondev_help_Raguel_2019-05-10T16:49:29.273300 | 1,557,506,969.2733 | 23,152 |
pythondev | help | `files[0]`, `files[-1]` etc | 2019-05-10T16:49:50.273800 | Raguel | pythondev_help_Raguel_2019-05-10T16:49:50.273800 | 1,557,506,990.2738 | 23,153 |
pythondev | help | Ok | 2019-05-10T16:50:05.274000 | Rodrick | pythondev_help_Rodrick_2019-05-10T16:50:05.274000 | 1,557,507,005.274 | 23,154 |
pythondev | help | within `BurnIn()` is a function called `report()`. `report()`has a variable `output_csv` when searching for how to reference this variable, it tells me to implement it like line 5 `device.output_csv` but doing that my editor yells at me and doesnt run. What am i doing wrong? | 2019-05-10T21:49:09.274600 | Priscilla | pythondev_help_Priscilla_2019-05-10T21:49:09.274600 | 1,557,524,949.2746 | 23,155 |
pythondev | help | Your `report()` function would want to store the output in `self.output_csv`. If it's just a function-local variable, it disappears when the function exits. | 2019-05-10T22:18:33.276700 | Sasha | pythondev_help_Sasha_2019-05-10T22:18:33.276700 | 1,557,526,713.2767 | 23,156 |
pythondev | help | yeah it is a local variable and i do need it to disappear, looks like i need a workaround. | 2019-05-10T22:19:56.277700 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:19:56.277700 | 1,557,526,796.2777 | 23,157 |
pythondev | help | Can you clarify why you need it to disappear? | 2019-05-10T22:20:15.278200 | Sasha | pythondev_help_Sasha_2019-05-10T22:20:15.278200 | 1,557,526,815.2782 | 23,158 |
pythondev | help | Looks like you need it to remain around for a while, to write it. | 2019-05-10T22:20:27.278600 | Sasha | pythondev_help_Sasha_2019-05-10T22:20:27.278600 | 1,557,526,827.2786 | 23,159 |
pythondev | help | so i updated it with the timed loop I need the for loop to run within. there is another loop inside of the function `report()` I need to write it after the time loops finish, so I took the write statment out of the `report()` function. | 2019-05-10T22:23:13.280300 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:23:13.280300 | 1,557,526,993.2803 | 23,160 |
pythondev | help | here is the function | 2019-05-10T22:23:59.280700 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:23:59.280700 | 1,557,527,039.2807 | 23,161 |
pythondev | help | Do you need the output to be a combination of all of the output from the different serials, and write it when all of them are done? | 2019-05-10T22:25:47.282000 | Sasha | pythondev_help_Sasha_2019-05-10T22:25:47.282000 | 1,557,527,147.282 | 23,162 |
pythondev | help | yes | 2019-05-10T22:26:22.282200 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:26:22.282200 | 1,557,527,182.2822 | 23,163 |
pythondev | help | Okay, in that case you need to have `output_csv` be a variable in your top-level code, and have each device return their part to be appended. For instance, in `report()` you would have `return output_str, output_csv`, and in the outer loop you'd have something like:
```output_csv = ''
for s in serials:
device = BurnIn(s, usr)
output, csv = device.report()
print(output)
output_csv += csv
with open('csvfile.csv', 'a') as f:
f.write(output_csv)``` | 2019-05-10T22:29:20.285100 | Sasha | pythondev_help_Sasha_2019-05-10T22:29:20.285100 | 1,557,527,360.2851 | 23,164 |
pythondev | help | However, I might reconsider the requirement to write the output at the very end. With append mode, you can write as you go, and it might suck to lose all your data if the program crashes before it finishes. | 2019-05-10T22:32:24.287400 | Sasha | pythondev_help_Sasha_2019-05-10T22:32:24.287400 | 1,557,527,544.2874 | 23,165 |
pythondev | help | ok, now that was one of my first plans. the problem is that `report()` does not return `output` it returns a similar string with spaces in it to display a kind of "table" so its not really comma seperated. | 2019-05-10T22:34:35.288400 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:34:35.288400 | 1,557,527,675.2884 | 23,166 |
pythondev | help | and i will take your advice on appending, instead of writting. | 2019-05-10T22:35:04.288900 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:35:04.288900 | 1,557,527,704.2889 | 23,167 |
pythondev | help | because it prints out the statuse every minute, but only appends to the csv after the full 24 hours have finished | 2019-05-10T22:37:18.289700 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:37:18.289700 | 1,557,527,838.2897 | 23,168 |
pythondev | help | That's why I said you should `return output_str, output_csv` in `report()`, to get access to both the printable text and the CSV data. | 2019-05-10T22:38:47.290400 | Sasha | pythondev_help_Sasha_2019-05-10T22:38:47.290400 | 1,557,527,927.2904 | 23,169 |
pythondev | help | how neat, how does it know to assign to `output` and `csv` respectively? | 2019-05-10T22:46:31.291900 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:46:31.291900 | 1,557,528,391.2919 | 23,170 |
pythondev | help | oh,
`output, csv = ...`
and
`return output, csv`
i guess | 2019-05-10T22:47:11.292600 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:47:11.292600 | 1,557,528,431.2926 | 23,171 |
pythondev | help | Yep. It's actually returning a 2-element tuple, and unpacking it when you assign the return value to 2 variables. | 2019-05-10T22:48:06.293300 | Sasha | pythondev_help_Sasha_2019-05-10T22:48:06.293300 | 1,557,528,486.2933 | 23,172 |
pythondev | help | very cool | 2019-05-10T22:51:46.293900 | Priscilla | pythondev_help_Priscilla_2019-05-10T22:51:46.293900 | 1,557,528,706.2939 | 23,173 |
pythondev | help | That’s why a stray comma can make your code behave in unexpected ways. `x = 1,` means `x = (1, )` (a tuple, not an int) | 2019-05-10T22:53:44.294700 | Hsiu | pythondev_help_Hsiu_2019-05-10T22:53:44.294700 | 1,557,528,824.2947 | 23,174 |
pythondev | help | that makes a lot of sense | 2019-05-10T23:18:56.295000 | Priscilla | pythondev_help_Priscilla_2019-05-10T23:18:56.295000 | 1,557,530,336.295 | 23,175 |
pythondev | help | for some reason this
```
def keypad_sim(self):
ser_menu = 'PASS'
self.keypad_sim_list.append(ser_menu)
```
gives me a `memory error` i guess its from ram getting full. I have never had to handle anything like that, are lists not supposed to get very long? | 2019-05-10T23:30:35.295800 | Priscilla | pythondev_help_Priscilla_2019-05-10T23:30:35.295800 | 1,557,531,035.2958 | 23,176 |
pythondev | help | hi, can anyone tell me what does "data normalization" mean in machine learning? | 2019-05-10T23:57:32.296800 | Alishia | pythondev_help_Alishia_2019-05-10T23:57:32.296800 | 1,557,532,652.2968 | 23,177 |
pythondev | help | <@Priscilla> They can get quite long, but you can certainly fill up memory if you have an extremely long loop. Maybe print out `len(self.keypad_sim_list)` to see how much it's growing? | 2019-05-11T00:10:05.298000 | Sasha | pythondev_help_Sasha_2019-05-11T00:10:05.298000 | 1,557,533,405.298 | 23,178 |
pythondev | help | <@Alishia> Usually that would mean re-scaling numbers to a common range, so that you don't have one feature which is 9,000,000,000 and another one which is 0.0000002 trying to be mixed together. | 2019-05-11T00:12:40.299400 | Sasha | pythondev_help_Sasha_2019-05-11T00:12:40.299400 | 1,557,533,560.2994 | 23,179 |
pythondev | help | The guys in <#C0JB9ATQV|data_science> may be able to give you some more details. | 2019-05-11T00:13:19.299900 | Sasha | pythondev_help_Sasha_2019-05-11T00:13:19.299900 | 1,557,533,599.2999 | 23,180 |
pythondev | help | thanks <@Sasha> i didn't realize there's a data science channel. Cheers | 2019-05-11T00:19:32.300600 | Alishia | pythondev_help_Alishia_2019-05-11T00:19:32.300600 | 1,557,533,972.3006 | 23,181 |
pythondev | help | English-related question: "applicant" vs "applier", which one you usually use to describe a person who seeks for a job? Or they're interchangeable? | 2019-05-11T01:35:16.301800 | Chester | pythondev_help_Chester_2019-05-11T01:35:16.301800 | 1,557,538,516.3018 | 23,182 |
pythondev | help | I'd say "applicant" is the better term. | 2019-05-11T01:36:23.302200 | Sasha | pythondev_help_Sasha_2019-05-11T01:36:23.302200 | 1,557,538,583.3022 | 23,183 |
pythondev | help | When doc (<https://pypi.org/project/PyMySQL/#installation>) says to run `python3 -m pip install PyMySQL[rsa]` and I run the same. I get an error:
```
pip install PyMySQL[rsa]
zsh: no matches found: PyMySQL[rsa]
``` | 2019-05-11T01:56:19.303600 | Cordell | pythondev_help_Cordell_2019-05-11T01:56:19.303600 | 1,557,539,779.3036 | 23,184 |
pythondev | help | What is wrong here? | 2019-05-11T01:56:47.304000 | Cordell | pythondev_help_Cordell_2019-05-11T01:56:47.304000 | 1,557,539,807.304 | 23,185 |
pythondev | help | Maybe try `'PyMySQL[rsa]'` with quotes? Your shell may be trying a wildcard expansion with the brackets. | 2019-05-11T02:04:31.304900 | Sasha | pythondev_help_Sasha_2019-05-11T02:04:31.304900 | 1,557,540,271.3049 | 23,186 |
pythondev | help | ok | 2019-05-11T02:05:36.305100 | Cordell | pythondev_help_Cordell_2019-05-11T02:05:36.305100 | 1,557,540,336.3051 | 23,187 |
pythondev | help | thanks <@Sasha> .. It worked | 2019-05-11T02:06:10.305300 | Cordell | pythondev_help_Cordell_2019-05-11T02:06:10.305300 | 1,557,540,370.3053 | 23,188 |
pythondev | help | In chained method calls e.g. `"".join(char_list).lower()` what is the order of evaluation? I presume it's left to right but am trying to figure out how to confirm. Any link for further reading? | 2019-05-11T13:08:10.309400 | Lory | pythondev_help_Lory_2019-05-11T13:08:10.309400 | 1,557,580,090.3094 | 23,189 |
pythondev | help | Left to right is correct | 2019-05-11T13:17:47.309900 | Hiroko | pythondev_help_Hiroko_2019-05-11T13:17:47.309900 | 1,557,580,667.3099 | 23,190 |
pythondev | help | And it only works if the return from the previous includes the following method | 2019-05-11T13:18:14.310700 | Hiroko | pythondev_help_Hiroko_2019-05-11T13:18:14.310700 | 1,557,580,694.3107 | 23,191 |
pythondev | help | thanks | 2019-05-11T13:26:00.310900 | Lory | pythondev_help_Lory_2019-05-11T13:26:00.310900 | 1,557,581,160.3109 | 23,192 |
pythondev | help | so just to be clear, in my example, `lower()` is never called until the string is fully constructed | 2019-05-11T13:26:55.311500 | Lory | pythondev_help_Lory_2019-05-11T13:26:55.311500 | 1,557,581,215.3115 | 23,193 |
pythondev | help | Correct | 2019-05-11T13:39:20.311700 | Hiroko | pythondev_help_Hiroko_2019-05-11T13:39:20.311700 | 1,557,581,960.3117 | 23,194 |
pythondev | help | we got a walrus operator but no pipe operator :cry: | 2019-05-11T13:46:22.312200 | Bethany | pythondev_help_Bethany_2019-05-11T13:46:22.312200 | 1,557,582,382.3122 | 23,195 |
pythondev | help | <@Bethany> <https://hackernoon.com/adding-a-pipe-operator-to-python-19a3aa295642> | 2019-05-11T13:59:19.312500 | Hiroko | pythondev_help_Hiroko_2019-05-11T13:59:19.312500 | 1,557,583,159.3125 | 23,196 |
pythondev | help | how do I actually verify a `checksum` when I download a binary? | 2019-05-11T14:01:56.313300 | Bethany | pythondev_help_Bethany_2019-05-11T14:01:56.313300 | 1,557,583,316.3133 | 23,197 |
pythondev | help | Usually that'll be an MD5 hash, so you can use the `md5` or `md5sum` command-line tool, depending on your OS. | 2019-05-11T14:05:35.314000 | Sasha | pythondev_help_Sasha_2019-05-11T14:05:35.314000 | 1,557,583,535.314 | 23,198 |
pythondev | help | so what does it look like? `md5sum checksum -c binary_file`? | 2019-05-11T14:08:58.314600 | Bethany | pythondev_help_Bethany_2019-05-11T14:08:58.314600 | 1,557,583,738.3146 | 23,199 |
pythondev | help | Normally just `md5sum binary_file`. | 2019-05-11T14:10:09.315000 | Sasha | pythondev_help_Sasha_2019-05-11T14:10:09.315000 | 1,557,583,809.315 | 23,200 |
pythondev | help | oh and just verify that you get the checksum out? | 2019-05-11T14:10:45.315300 | Bethany | pythondev_help_Bethany_2019-05-11T14:10:45.315300 | 1,557,583,845.3153 | 23,201 |
pythondev | help | Yeah | 2019-05-11T14:11:04.315500 | Sasha | pythondev_help_Sasha_2019-05-11T14:11:04.315500 | 1,557,583,864.3155 | 23,202 |
pythondev | help | If you need to script it, it can also read in a checksum file with the hashes and filenames and check everything at once. | 2019-05-11T14:12:16.316100 | Sasha | pythondev_help_Sasha_2019-05-11T14:12:16.316100 | 1,557,583,936.3161 | 23,203 |
pythondev | help | :taco: <@Sasha> | 2019-05-11T14:19:59.316400 | Bethany | pythondev_help_Bethany_2019-05-11T14:19:59.316400 | 1,557,584,399.3164 | 23,204 |
pythondev | help | Hi, is it possible to share and synchronise and list of classes between processes using multiprocessing library? | 2019-05-11T14:52:52.316800 | Pura | pythondev_help_Pura_2019-05-11T14:52:52.316800 | 1,557,586,372.3168 | 23,205 |
pythondev | help | it sounds like you’re trying to deal with global or shared shared state while multiprocessing, which is tricky. maybe this will help: <https://stackoverflow.com/q/16244745> but i look forward to hearing what others have to say about this. there are few answers there that may be interesting for you | 2019-05-11T15:46:34.319900 | Doug | pythondev_help_Doug_2019-05-11T15:46:34.319900 | 1,557,589,594.3199 | 23,206 |
pythondev | help | what’s the best way to initialize a string that is getting returned inside a Class’s `def __str__(self)`? | 2019-05-11T17:03:24.321400 | Zelma | pythondev_help_Zelma_2019-05-11T17:03:24.321400 | 1,557,594,204.3214 | 23,207 |
pythondev | help | None | 2019-05-11T17:05:59.323100 | Zelma | pythondev_help_Zelma_2019-05-11T17:05:59.323100 | 1,557,594,359.3231 | 23,208 |
pythondev | help | what does `transform_in_some_way` do? | 2019-05-11T17:10:32.324000 | Bethany | pythondev_help_Bethany_2019-05-11T17:10:32.324000 | 1,557,594,632.324 | 23,209 |
pythondev | help | was intending that to be ignored/psuedocode, but maybe it matters? | 2019-05-11T17:11:38.324600 | Zelma | pythondev_help_Zelma_2019-05-11T17:11:38.324600 | 1,557,594,698.3246 | 23,210 |
pythondev | help | in this case it iterates over a list and += to the string | 2019-05-11T17:11:57.325400 | Zelma | pythondev_help_Zelma_2019-05-11T17:11:57.325400 | 1,557,594,717.3254 | 23,211 |
pythondev | help | and you want the start value to be empty? you can use `s= ""` | 2019-05-11T17:12:23.325900 | Bethany | pythondev_help_Bethany_2019-05-11T17:12:23.325900 | 1,557,594,743.3259 | 23,212 |
pythondev | help | okay thanks <@Bethany>! | 2019-05-11T17:12:45.326200 | Zelma | pythondev_help_Zelma_2019-05-11T17:12:45.326200 | 1,557,594,765.3262 | 23,213 |
pythondev | help | wasn’t sure if that was the best practice, I guess it is the same as `s = str()` | 2019-05-11T17:13:16.327100 | Zelma | pythondev_help_Zelma_2019-05-11T17:13:16.327100 | 1,557,594,796.3271 | 23,214 |
pythondev | help | I don't think either way is really preferred | 2019-05-11T17:28:13.327700 | Bethany | pythondev_help_Bethany_2019-05-11T17:28:13.327700 | 1,557,595,693.3277 | 23,215 |
pythondev | help | but `s = None` is different than `s = str()` or `s = ""` | 2019-05-11T17:28:45.328300 | Bethany | pythondev_help_Bethany_2019-05-11T17:28:45.328300 | 1,557,595,725.3283 | 23,216 |
pythondev | help | hm maybe `str()` for visual clarity | 2019-05-11T17:29:07.328800 | Bethany | pythondev_help_Bethany_2019-05-11T17:29:07.328800 | 1,557,595,747.3288 | 23,217 |
pythondev | help | I see, the latter would be string types and None nonetype | 2019-05-11T17:29:15.329000 | Zelma | pythondev_help_Zelma_2019-05-11T17:29:15.329000 | 1,557,595,755.329 | 23,218 |
pythondev | help | yup | 2019-05-11T17:29:21.329200 | Bethany | pythondev_help_Bethany_2019-05-11T17:29:21.329200 | 1,557,595,761.3292 | 23,219 |
pythondev | help | I’d rather go with `def transform_in_some_way(some_string='')` and would not initialize anything in __str__. | 2019-05-11T18:19:57.330100 | Brain | pythondev_help_Brain_2019-05-11T18:19:57.330100 | 1,557,598,797.3301 | 23,220 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.