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 | You would have better luck with that in <#C0LMFRMB5|django> | 2017-08-23T18:40:58.000310 | Meg | pythondev_help_Meg_2017-08-23T18:40:58.000310 | 1,503,513,658.00031 | 90,703 |
pythondev | help | I don't see a group called #zoo | 2017-08-23T19:20:21.000199 | Thomasina | pythondev_help_Thomasina_2017-08-23T19:20:21.000199 | 1,503,516,021.000199 | 90,704 |
pythondev | help | CondaIOError: Missing write permissions in: /anaconda | 2017-08-23T19:47:17.000134 | Chester | pythondev_help_Chester_2017-08-23T19:47:17.000134 | 1,503,517,637.000134 | 90,705 |
pythondev | help | Does this simply mean that I need to assign the user permissions to that directory? | 2017-08-23T19:47:38.000074 | Chester | pythondev_help_Chester_2017-08-23T19:47:38.000074 | 1,503,517,658.000074 | 90,706 |
pythondev | help | Oh, I see now conda has this notion of environments because of the Python3 Python27 debacle. | 2017-08-23T19:51:19.000021 | Chester | pythondev_help_Chester_2017-08-23T19:51:19.000021 | 1,503,517,879.000021 | 90,707 |
pythondev | help | <https://conda.io/docs/user-guide/tasks/manage-environments.html> | 2017-08-23T19:51:19.000237 | Chester | pythondev_help_Chester_2017-08-23T19:51:19.000237 | 1,503,517,879.000237 | 90,708 |
pythondev | help | If I’m running a Jupyter notebook, how do I have the notebook operate within the defined userspace environment? | 2017-08-23T19:51:48.000106 | Chester | pythondev_help_Chester_2017-08-23T19:51:48.000106 | 1,503,517,908.000106 | 90,709 |
pythondev | help | <@Chester> you need to create a config for it | 2017-08-23T21:38:12.000018 | Johana | pythondev_help_Johana_2017-08-23T21:38:12.000018 | 1,503,524,292.000018 | 90,710 |
pythondev | help | let me see what the command is. | 2017-08-23T21:38:20.000165 | Johana | pythondev_help_Johana_2017-08-23T21:38:20.000165 | 1,503,524,300.000165 | 90,711 |
pythondev | help | if you type `jupyter --config-dir` it will output the dir.
```
jupyter --config-dir
>> /Users/mike/.jupyter
``` | 2017-08-23T21:39:34.000130 | Johana | pythondev_help_Johana_2017-08-23T21:39:34.000130 | 1,503,524,374.00013 | 90,712 |
pythondev | help | for making an app modular, and making internal plugins, what are your guys thoughts on dynamically iterating over say a `modules/` directory and calling pre-defined methods to add things like routes and what not. this would be using `importlib.import_module` | 2017-08-23T21:54:39.000020 | Bruno | pythondev_help_Bruno_2017-08-23T21:54:39.000020 | 1,503,525,279.00002 | 90,713 |
pythondev | help | <@Bruno> bad idea. There are existing plugin loaders, from `pkg_resources`' entrypoints to <https://pypi.python.org/pypi/pluggy>, <http://pluginbase.pocoo.org/> and <http://yapsy.sourceforge.net/> (and lots of others you may find useful) | 2017-08-23T22:01:42.000013 | Collette | pythondev_help_Collette_2017-08-23T22:01:42.000013 | 1,503,525,702.000013 | 90,714 |
pythondev | help | <@Collette> :taco: :taco: my thoughts exactly | 2017-08-23T22:02:12.000055 | Beula | pythondev_help_Beula_2017-08-23T22:02:12.000055 | 1,503,525,732.000055 | 90,715 |
pythondev | help | ooh nice. yea, good idea. thanks. i didnt know about those. doing it dynamically isnt hard. i already had it working. lol | 2017-08-23T22:04:20.000087 | Bruno | pythondev_help_Bruno_2017-08-23T22:04:20.000087 | 1,503,525,860.000087 | 90,716 |
pythondev | help | hi all | 2017-08-23T22:34:12.000064 | Carlene | pythondev_help_Carlene_2017-08-23T22:34:12.000064 | 1,503,527,652.000064 | 90,717 |
pythondev | help | how do i place a space in front of a letter in a string | 2017-08-23T22:34:23.000082 | Carlene | pythondev_help_Carlene_2017-08-23T22:34:23.000082 | 1,503,527,663.000082 | 90,718 |
pythondev | help | <@Carlene> which letter? | 2017-08-23T22:35:30.000203 | Collette | pythondev_help_Collette_2017-08-23T22:35:30.000203 | 1,503,527,730.000203 | 90,719 |
pythondev | help | What if there's more than a single occurrence of such letter? | 2017-08-23T22:36:15.000079 | Collette | pythondev_help_Collette_2017-08-23T22:36:15.000079 | 1,503,527,775.000079 | 90,720 |
pythondev | help | <@Collette> it was _abc | 2017-08-23T22:57:57.000030 | Carlene | pythondev_help_Carlene_2017-08-23T22:57:57.000030 | 1,503,529,077.00003 | 90,721 |
pythondev | help | <@Carlene> can you give more examples? | 2017-08-23T22:58:27.000009 | Collette | pythondev_help_Collette_2017-08-23T22:58:27.000009 | 1,503,529,107.000009 | 90,722 |
pythondev | help | What have you tried? A few ways that come to mind quickly, depending on your requirements:
1. Iterate the string appending all characters to a new string, if your letter is found, append a space and then the letter (naive approach)
2. `str.replace` <https://docs.python.org/2/library/string.html#string.replace>
3. `re.sub` <https://docs.python.org/2/library/re.html#re.sub> | 2017-08-23T23:15:56.000122 | Beula | pythondev_help_Beula_2017-08-23T23:15:56.000122 | 1,503,530,156.000122 | 90,723 |
pythondev | help | There is a space in front of the a | 2017-08-23T23:17:46.000024 | Carlene | pythondev_help_Carlene_2017-08-23T23:17:46.000024 | 1,503,530,266.000024 | 90,724 |
pythondev | help | It doesn't look like you read what I'm asking for. | 2017-08-23T23:39:58.000203 | Collette | pythondev_help_Collette_2017-08-23T23:39:58.000203 | 1,503,531,598.000203 | 90,725 |
pythondev | help | Thanks guys....beginner to Django....and loving it :blush: | 2017-08-23T23:41:20.000222 | Terri | pythondev_help_Terri_2017-08-23T23:41:20.000222 | 1,503,531,680.000222 | 90,726 |
pythondev | help | anyone using pipenv? it doesnt seem very flexible on deciding what base interpreter to use. i have been using pyenv and it doesnt seem compatible with that, at all. How else do you manage multiple python versions if you use pipenv | 2017-08-24T00:56:50.000126 | Bruno | pythondev_help_Bruno_2017-08-24T00:56:50.000126 | 1,503,536,210.000126 | 90,727 |
pythondev | help | I figured it out, thank you for responding through :slightly_smiling_face: | 2017-08-24T02:11:48.000088 | Carlene | pythondev_help_Carlene_2017-08-24T02:11:48.000088 | 1,503,540,708.000088 | 90,728 |
pythondev | help | I wish I could use those, I am using a schools proprietary platform | 2017-08-24T02:12:21.000122 | Carlene | pythondev_help_Carlene_2017-08-24T02:12:21.000122 | 1,503,540,741.000122 | 90,729 |
pythondev | help | I had figured it out, now on to a new issue | 2017-08-24T02:12:29.000101 | Carlene | pythondev_help_Carlene_2017-08-24T02:12:29.000101 | 1,503,540,749.000101 | 90,730 |
pythondev | help | <@Bruno> yeah I think there is better way. In the end I don't really like how it works in <@Alesia>. using imporlib. | 2017-08-24T02:15:47.000060 | Ciera | pythondev_help_Ciera_2017-08-24T02:15:47.000060 | 1,503,540,947.00006 | 90,731 |
pythondev | help | When I try to insert bytes data from uuid with pymysql, it returns 'data too long for column' error. How can I fix it?? The column is 16 binary. | 2017-08-24T02:15:49.000054 | Merlin | pythondev_help_Merlin_2017-08-24T02:15:49.000054 | 1,503,540,949.000054 | 90,732 |
pythondev | help | Any recommendations on how to write understandable documentation for
e.g. dicts of dicts?
Let's say we have a function that returns a dict like this:
```
{
"XUC-231": {
"Volvo": "A nice Volvo",
}
"ABD-417": {
"Ford": "It doesn't work!",
}
}
```
Using Python's typing module (which we could put as a function
annotation), we could write this as:
```
def f(...) -> Dict[str, Dict[str, str]]:
```
or to make things clearer:
```
RegistrationNumber = CarBrand = Description = str
def f(...) -> Dict[RegistrationNumber, Dict[CarBrand, Description]]:
```
Or perhaps something more... GraphQL-y perhaps? Something like
```
{
reg_number: str {
car_brand: str = description: str
}
}
```
This would also give us a recommended variable name for each variable,
which is worthwhile if we want other functions calling this functions
to interact with the dict using the same name. | 2017-08-24T05:20:37.000284 | Lanita | pythondev_help_Lanita_2017-08-24T05:20:37.000284 | 1,503,552,037.000284 | 90,733 |
pythondev | help | <@Merlin> can you try `UUID_TO_BIN`? | 2017-08-24T05:25:11.000137 | Suellen | pythondev_help_Suellen_2017-08-24T05:25:11.000137 | 1,503,552,311.000137 | 90,734 |
pythondev | help | `UPDATE tbl SET id = UUID_TO_BIN('6ccd780c-baba-1026-9564-5b8c656024db');` | 2017-08-24T05:25:41.000037 | Suellen | pythondev_help_Suellen_2017-08-24T05:25:41.000037 | 1,503,552,341.000037 | 90,735 |
pythondev | help | <@Lanita>
`RegistrationNumber = CarBrand = Description = str` | 2017-08-24T05:26:31.000195 | Suellen | pythondev_help_Suellen_2017-08-24T05:26:31.000195 | 1,503,552,391.000195 | 90,736 |
pythondev | help | I feed violated | 2017-08-24T05:26:38.000001 | Suellen | pythondev_help_Suellen_2017-08-24T05:26:38.000001 | 1,503,552,398.000001 | 90,737 |
pythondev | help | <@Suellen> I didn't choose to let str work as both a type annotation and a function :slightly_smiling_face: | 2017-08-24T05:27:10.000107 | Lanita | pythondev_help_Lanita_2017-08-24T05:27:10.000107 | 1,503,552,430.000107 | 90,738 |
pythondev | help | Is a docstring on your function not enough? | 2017-08-24T05:27:47.000242 | Suellen | pythondev_help_Suellen_2017-08-24T05:27:47.000242 | 1,503,552,467.000242 | 90,739 |
pythondev | help | yes | 2017-08-24T05:27:53.000391 | Lanita | pythondev_help_Lanita_2017-08-24T05:27:53.000391 | 1,503,552,473.000391 | 90,740 |
pythondev | help | but I'm wondering what's the best way to write it | 2017-08-24T05:28:01.000016 | Lanita | pythondev_help_Lanita_2017-08-24T05:28:01.000016 | 1,503,552,481.000016 | 90,741 |
pythondev | help | that's most readable | 2017-08-24T05:28:03.000371 | Lanita | pythondev_help_Lanita_2017-08-24T05:28:03.000371 | 1,503,552,483.000371 | 90,742 |
pythondev | help | Right now I'm using the first function annotation (with aliases), and the docstring also contains an example of actual data | 2017-08-24T05:28:43.000299 | Lanita | pythondev_help_Lanita_2017-08-24T05:28:43.000299 | 1,503,552,523.000299 | 90,743 |
pythondev | help | *without aliases I mean | 2017-08-24T05:29:18.000308 | Lanita | pythondev_help_Lanita_2017-08-24T05:29:18.000308 | 1,503,552,558.000308 | 90,744 |
pythondev | help | e.g. no RegistrationNumber... stuff | 2017-08-24T05:29:27.000164 | Lanita | pythondev_help_Lanita_2017-08-24T05:29:27.000164 | 1,503,552,567.000164 | 90,745 |
pythondev | help | I doubt that a good docstring is not enough; you can try showing your function (or only definition) to somebody and let them guess what it does | 2017-08-24T05:30:03.000357 | Suellen | pythondev_help_Suellen_2017-08-24T05:30:03.000357 | 1,503,552,603.000357 | 90,746 |
pythondev | help | Yes, but then how would you write the docstring? | 2017-08-24T05:30:28.000170 | Lanita | pythondev_help_Lanita_2017-08-24T05:30:28.000170 | 1,503,552,628.00017 | 90,747 |
pythondev | help | as in, actual "syntax" | 2017-08-24T05:30:35.000038 | Lanita | pythondev_help_Lanita_2017-08-24T05:30:35.000038 | 1,503,552,635.000038 | 90,748 |
pythondev | help | Describing it in words is super verbose and hard to understand | 2017-08-24T05:30:51.000077 | Lanita | pythondev_help_Lanita_2017-08-24T05:30:51.000077 | 1,503,552,651.000077 | 90,749 |
pythondev | help | especially with dicts, I've never found a good syntax I like for describing what the key and value represents that isn't overly verbose | 2017-08-24T05:31:10.000288 | Lanita | pythondev_help_Lanita_2017-08-24T05:31:10.000288 | 1,503,552,670.000288 | 90,750 |
pythondev | help | that's one of the hardest things in computer science :slightly_smiling_face: | 2017-08-24T05:31:10.000294 | Suellen | pythondev_help_Suellen_2017-08-24T05:31:10.000294 | 1,503,552,670.000294 | 90,751 |
pythondev | help | When I'm sketching out stuff on my own I usually use some type of Hindley–Milner with an Haskell-like syntax for describing these things | 2017-08-24T05:32:33.000205 | Lanita | pythondev_help_Lanita_2017-08-24T05:32:33.000205 | 1,503,552,753.000205 | 90,752 |
pythondev | help | but then I convert it to python's typing module annotations (e.g. valid python code/syntax) | 2017-08-24T05:33:29.000111 | Lanita | pythondev_help_Lanita_2017-08-24T05:33:29.000111 | 1,503,552,809.000111 | 90,753 |
pythondev | help | ```
"Returns a dictionary of cars, where keys are registration numbers, and values are Car objects. For a Car object definition see: `Car`"
``` | 2017-08-24T05:33:37.000154 | Suellen | pythondev_help_Suellen_2017-08-24T05:33:37.000154 | 1,503,552,817.000154 | 90,754 |
pythondev | help | The problem is that there's no key: value pair datatype in python, only unordered sets of key:value pairs, so things quickly get confusing | 2017-08-24T05:34:38.000075 | Lanita | pythondev_help_Lanita_2017-08-24T05:34:38.000075 | 1,503,552,878.000075 | 90,755 |
pythondev | help | What's confusing about a dict? | 2017-08-24T05:35:35.000297 | Suellen | pythondev_help_Suellen_2017-08-24T05:35:35.000297 | 1,503,552,935.000297 | 90,756 |
pythondev | help | Every Python programmer knows what to do with a function that outputs a dictionary. | 2017-08-24T05:35:51.000218 | Suellen | pythondev_help_Suellen_2017-08-24T05:35:51.000218 | 1,503,552,951.000218 | 90,757 |
pythondev | help | Ah, sorry, true, a Car object in this case is `Car = Dict[str, str]` | 2017-08-24T05:36:18.000128 | Lanita | pythondev_help_Lanita_2017-08-24T05:36:18.000128 | 1,503,552,978.000128 | 90,758 |
pythondev | help | ```Returns a dictionary of [registration number] -> `Car` ``` ? | 2017-08-24T06:38:58.000240 | Cristy | pythondev_help_Cristy_2017-08-24T06:38:58.000240 | 1,503,556,738.00024 | 90,759 |
pythondev | help | Is there anyone who is familier with HappyBase for Hbase Connectivity | 2017-08-24T07:15:11.000203 | Jenee | pythondev_help_Jenee_2017-08-24T07:15:11.000203 | 1,503,558,911.000203 | 90,760 |
pythondev | help | Design question for you guys. Not sure what is considered the correct way to do this in python
I have 2 types of output files (s3 and fs). I have created a class for each.
I have a script which actually creates the data and then writes it to the output files (obviously the s3 and fs classes are abstracing out the differences between the two).
I have been debating if it is better to pass the class of the output file in, or pass a generator function in which can create the output format. At first was leaning towards the class, but the more I think about it, the more I am leaning towards a generator function.
Multiple output files are created by the script which is why I can't just pass an actual instance of the object. | 2017-08-24T08:55:32.000092 | Gustavo | pythondev_help_Gustavo_2017-08-24T08:55:32.000092 | 1,503,564,932.000092 | 90,761 |
pythondev | help | That sounds like a case for a function | 2017-08-24T08:58:14.000206 | Collette | pythondev_help_Collette_2017-08-24T08:58:14.000206 | 1,503,565,094.000206 | 90,762 |
pythondev | help | `write_to_s3` and `write_to_fs`, specifically | 2017-08-24T08:58:28.000245 | Collette | pythondev_help_Collette_2017-08-24T08:58:28.000245 | 1,503,565,108.000245 | 90,763 |
pythondev | help | well the function wouldn't actually do the writing, just generate the "file" to write to | 2017-08-24T09:00:49.000354 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:00:49.000354 | 1,503,565,249.000354 | 90,764 |
pythondev | help | I basically just wrapped up the s3 to act like a file object so I could write and read to it like a normal file | 2017-08-24T09:01:21.000330 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:01:21.000330 | 1,503,565,281.00033 | 90,765 |
pythondev | help | ah | 2017-08-24T09:02:26.000577 | Collette | pythondev_help_Collette_2017-08-24T09:02:26.000577 | 1,503,565,346.000577 | 90,766 |
pythondev | help | this way the script doesn't care where it is writing | 2017-08-24T09:02:28.000478 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:02:28.000478 | 1,503,565,348.000478 | 90,767 |
pythondev | help | Then you just need to accept a file-like object to write into. | 2017-08-24T09:03:23.000187 | Collette | pythondev_help_Collette_2017-08-24T09:03:23.000187 | 1,503,565,403.000187 | 90,768 |
pythondev | help | right kinda. since the script is generating multiple files I can't just pass in the object | 2017-08-24T09:03:55.000398 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:03:55.000398 | 1,503,565,435.000398 | 90,769 |
pythondev | help | You'll need an object per file | 2017-08-24T09:04:10.000434 | Collette | pythondev_help_Collette_2017-08-24T09:04:10.000434 | 1,503,565,450.000434 | 90,770 |
pythondev | help | I was initially thinking to just pass in the class, but started to lean more towards passing in a funciton that returns the object | 2017-08-24T09:04:31.000069 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:04:31.000069 | 1,503,565,471.000069 | 90,771 |
pythondev | help | Just like you need a regular file object per file | 2017-08-24T09:04:33.000236 | Collette | pythondev_help_Collette_2017-08-24T09:04:33.000236 | 1,503,565,473.000236 | 90,772 |
pythondev | help | correct | 2017-08-24T09:04:39.000362 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:04:39.000362 | 1,503,565,479.000362 | 90,773 |
pythondev | help | would it be better to pass in an open_s3_file function or just pass in the s3_file class that responds to open (just like a normal file) | 2017-08-24T09:05:38.000584 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:05:38.000584 | 1,503,565,538.000584 | 90,774 |
pythondev | help | both will work, just wondering what is considered more pythonic | 2017-08-24T09:05:52.000205 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:05:52.000205 | 1,503,565,552.000205 | 90,775 |
pythondev | help | It would be better to pass a `S3File` instance that acts like a file-like object. | 2017-08-24T09:06:14.000158 | Collette | pythondev_help_Collette_2017-08-24T09:06:14.000158 | 1,503,565,574.000158 | 90,776 |
pythondev | help | I can't pass the instance since I don't have it yet. The script will need to create a bunch of them | 2017-08-24T09:06:51.000288 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:06:51.000288 | 1,503,565,611.000288 | 90,777 |
pythondev | help | the script/function is basically reading a bunch of tables from a database, doing some transformations and then writing them out to files | 2017-08-24T09:08:27.000415 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:08:27.000415 | 1,503,565,707.000415 | 90,778 |
pythondev | help | the destination could be an s3 or standard filesystem | 2017-08-24T09:08:36.000312 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:08:36.000312 | 1,503,565,716.000312 | 90,779 |
pythondev | help | the way it is currently written it only writes to the standard filesystem, I am trying to abstract out the destination so that it can write to s3 as well | 2017-08-24T09:09:15.000353 | Gustavo | pythondev_help_Gustavo_2017-08-24T09:09:15.000353 | 1,503,565,755.000353 | 90,780 |
pythondev | help | Yeah, pluginbase module seems to do what I want | 2017-08-24T09:15:29.000115 | Bruno | pythondev_help_Bruno_2017-08-24T09:15:29.000115 | 1,503,566,129.000115 | 90,781 |
pythondev | help | so, lets say you have a section of code with multiple try-catch blocks. Which do you prefer: breaking them out to handle specific exceptions, or just have a catch-all for everything? | 2017-08-24T09:21:25.000454 | Meg | pythondev_help_Meg_2017-08-24T09:21:25.000454 | 1,503,566,485.000454 | 90,782 |
pythondev | help | Anyone here familiar with Odoo? | 2017-08-24T09:22:10.000414 | Susann | pythondev_help_Susann_2017-08-24T09:22:10.000414 | 1,503,566,530.000414 | 90,783 |
pythondev | help | this particular case has to do with looking in solr(pysolr) and S3(boto) So I need to handle possible throws of `pysolr.SolrError` as well as `botocore.exceptions.ClientError` | 2017-08-24T09:22:46.000236 | Meg | pythondev_help_Meg_2017-08-24T09:22:46.000236 | 1,503,566,566.000236 | 90,784 |
pythondev | help | right now, I'm doing the former | 2017-08-24T09:23:07.000310 | Meg | pythondev_help_Meg_2017-08-24T09:23:07.000310 | 1,503,566,587.00031 | 90,785 |
pythondev | help | <@Gustavo> I don't think you're trying to understand what I'm trying to say. Can you look from another point of view? | 2017-08-24T09:27:57.000203 | Collette | pythondev_help_Collette_2017-08-24T09:27:57.000203 | 1,503,566,877.000203 | 90,786 |
pythondev | help | Hello everyone - I'm looking for direction on a work project. I'll put a sample of the information I can get below. I work in a factory making car parts. There are two plants, about 10 departments in each plant. About 650 machines total. I would like to have something set up that I can see machine downtime by week/month/year, by department/plant/machine. I would like to see the count of breakdown occurrences, and various other information. (I'd love to explain if someone has time to talk to me about it). Anyway, i can export our reports to csv and get the information from there..But not sure what to do with it. Should I be looking into classes, or a database, etc. | 2017-08-24T10:06:44.000387 | Blanche | pythondev_help_Blanche_2017-08-24T10:06:44.000387 | 1,503,569,204.000387 | 90,787 |
pythondev | help | Are they handled the same or different? | 2017-08-24T10:07:18.000102 | Beula | pythondev_help_Beula_2017-08-24T10:07:18.000102 | 1,503,569,238.000102 | 90,788 |
pythondev | help | Report number | Date | Machine Number | Downtime | Description | 2017-08-24T10:07:19.000470 | Blanche | pythondev_help_Blanche_2017-08-24T10:07:19.000470 | 1,503,569,239.00047 | 90,789 |
pythondev | help | There are 10,000 reports for this year alone. I made a massive spreadsheet to break all of this down, but it's soooooo slow | 2017-08-24T10:08:26.000782 | Blanche | pythondev_help_Blanche_2017-08-24T10:08:26.000782 | 1,503,569,306.000782 | 90,790 |
pythondev | help | Not sure what direction to go with this | 2017-08-24T10:10:48.000314 | Blanche | pythondev_help_Blanche_2017-08-24T10:10:48.000314 | 1,503,569,448.000314 | 90,791 |
pythondev | help | If you're familiar with databases, or have someone who is familiar with them, then why not - put stuff there. You basically get aggregations for free, and aggregations are a foundation for all reports. | 2017-08-24T10:13:12.000605 | Suellen | pythondev_help_Suellen_2017-08-24T10:13:12.000605 | 1,503,569,592.000605 | 90,792 |
pythondev | help | On the other hand, `pandas` can load CSV data and make reports on the fly as well. No need for a database if it's not a whole lot of data ( <10 GB) | 2017-08-24T10:14:11.000129 | Suellen | pythondev_help_Suellen_2017-08-24T10:14:11.000129 | 1,503,569,651.000129 | 90,793 |
pythondev | help | differently, primarily by setting different variable values | 2017-08-24T10:21:22.000478 | Meg | pythondev_help_Meg_2017-08-24T10:21:22.000478 | 1,503,570,082.000478 | 90,794 |
pythondev | help | It'll all be text, so small... I don't have any familiarity with databases, so I'll check pandas out | 2017-08-24T10:21:31.000011 | Blanche | pythondev_help_Blanche_2017-08-24T10:21:31.000011 | 1,503,570,091.000011 | 90,795 |
pythondev | help | which are then later set to a django model field | 2017-08-24T10:21:32.000538 | Meg | pythondev_help_Meg_2017-08-24T10:21:32.000538 | 1,503,570,092.000538 | 90,796 |
pythondev | help | Thank you very much | 2017-08-24T10:21:34.000701 | Blanche | pythondev_help_Blanche_2017-08-24T10:21:34.000701 | 1,503,570,094.000701 | 90,797 |
pythondev | help | that was the primary reason I split up into multiple try-except blocks | 2017-08-24T10:22:03.000116 | Meg | pythondev_help_Meg_2017-08-24T10:22:03.000116 | 1,503,570,123.000116 | 90,798 |
pythondev | help | Yeah, if anything is different I'd have the two separate handlers | 2017-08-24T10:23:29.000055 | Beula | pythondev_help_Beula_2017-08-24T10:23:29.000055 | 1,503,570,209.000055 | 90,799 |
pythondev | help | <@Blanche>, if the project is very time-sensitive, I agree with <@Suellen> ‘s suggestion, but if you’re going to be doing this sort of thing regularly, it might be good to start learning databases by building out small jobs to extract and store your data. | 2017-08-24T11:14:25.000231 | Winnifred | pythondev_help_Winnifred_2017-08-24T11:14:25.000231 | 1,503,573,265.000231 | 90,800 |
pythondev | help | It's not urgent, just trying to impress people :slightly_smiling_face: Any specific place to start with a database? | 2017-08-24T11:14:51.000465 | Blanche | pythondev_help_Blanche_2017-08-24T11:14:51.000465 | 1,503,573,291.000465 | 90,801 |
pythondev | help | I learned starting with mysql using <https://www.phpmyadmin.net/>, but you should also check out sqlite. | 2017-08-24T11:16:35.000204 | Winnifred | pythondev_help_Winnifred_2017-08-24T11:16:35.000204 | 1,503,573,395.000204 | 90,802 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.