![](https://lemmy.eco.br/pictrs/image/0fd624b1-4ba6-485a-b683-d308c93888f4.jpeg)
![](https://lemmy.world/pictrs/image/8f2046ae-5d2e-495f-b467-f7b14ccb4152.png)
The freakonomic guys are hacks that have no idea on how to do sociology or econometric analysis.
The freakonomic guys are hacks that have no idea on how to do sociology or econometric analysis.
Are you asking how to write a module that you can import?
Yes, kinda.
Are these the same set of DB files every time? Are the columns and other configurations the same? Are you writing new python code every month?
They get updated by the accounting team each month. Some of them are csv, other come from an access database file, other from the sql server.
Some of the code need to be run each month with the updated databases, but there’s a lot of ad hoc statistical studies that my boss ask for that use the same databases.
Are you using some ETL process to spit out a bunch of files that you’d like to have imported and available easily? Are the formats the same but the filenames differ?
I guess yes. And not, the accountants keep the same filenames but change the directory lmao.
I think it’s the first thing you’re after. There are a bunch of tutorials knocking around about this, eg,
Thanks, im checking it out.
how do I make it available for all my new python projects to use?
import sys sys.path.append('my\\modules\\directory) import my_module
I get the impression you’re a data person rather than a programmer -perhaps you have a colleague who’s more of the latter you can tap up for this?
You’re right, I’m an actuarie. I wanted to do computer science instead of actuarial sciences, but I tough that it would be better getting an actuarial degree and then doing a masters on CS (still in planning, maybe 2026). I’m the only guy on the company who uses python and people here thinks I’m a genius because I have automated some boring things from excel.
Can’t add micro transactions or lootboxes to emulated games.
I have a Datawerehouse some of the dabases I got come from there, but can only be accessed in the virtual machine.
There’s some reports that need to be run monthly, they need to be edited each month to add the directories with the new databases and it causes problems, some of them im trying to solve with this. There’s also a lot of ad hoc statistics studies I need to do, that use the same bases.
Never heard of that, just saw a video and even if isn’t exactly what I need it’s looked really cool.
There’s some data that comes in CSV, other are database files, in the SQL server, excel or web apis. From some of them I need to combine multiple sources with different formags even.
I guess I could have a database with everything more tidy, easier to use, secure and with less failure ratio. I’m still going to prepare the databases (I’m thinking on dataframe objects on a pickle, but I want to experiment with parquetd) so they don’t have to be processed every time, but I wanted something I could just write the name of the database and get the update version.
Thanks, I could solve it creating a file with a def get_database(name):
if name == ‘database’:
all the process to create the database
return database
And then df = get_database(‘database’) execute all the processes and return it.
Early chess engine that used AI, were trained by games of GMs, and the engine would go out of its way to sacrifice the queen, because when GMs do it, it’s comes with a victory.
The details can be fixed but the general idea is good.
The last one is a cool concept, but pie charts are pretty useless lmao
The gray box kinda looks like an VR glasses
I was hoping for a sand clock and the python snake, but now I’m not sure if the sand clock is an international actuarial thing, or if is just a brazillian one. But for mathematical notation related to actuarial sciences the annuanity [1] is the main one, so 2/10.
Guess is the blue and yellow hexagons
Hello there
Severance Kenobi
*Acess granted to the homologation DB that haven’t been fully updated since 2018*
Some guy opened like 10 jira tickets asking a bunch of data that is already available for them on the BI. I show it how to extract it himself, and then marked all the other ones as duplicated and for a moment I felt myself as an stackoverflow mod.
That’s sounds like the intro scene from The Fight Club, where the narrator talks about paying extra for handmade cups because they have little imperfections that make them unique.