[-] driving_crooner@lemmy.eco.br 1 points 14 hours ago

Why is a problem adding an electronical sock on your parking space?

[-] driving_crooner@lemmy.eco.br 7 points 15 hours ago

Write terrorists just to see what happens

[-] driving_crooner@lemmy.eco.br 7 points 18 hours ago

I think they're going "fabless", and focusing on the automation technology and leaving the manufacturing to third parties.

[-] driving_crooner@lemmy.eco.br 4 points 21 hours ago

She's all over youtube shorts.

Have you seen yellow milk? I don't think so.

Maybe not cheddar, whom I'm still don't think is a real cheese, but other kind of cheese can work.

[-] driving_crooner@lemmy.eco.br 19 points 1 day ago

Oh my god! They admit it!

[-] driving_crooner@lemmy.eco.br 43 points 1 day ago* (last edited 1 day ago)

Don't tell me where you do your dangerously hobby, so if you have an accident and don't come home I have no idea where to look for you.

Hope you recover your Mojo soon enough keto or otherwise.

[-] driving_crooner@lemmy.eco.br 5 points 1 day ago* (last edited 1 day ago)

Hope they lie and colonize Germany and all Europe.

[-] driving_crooner@lemmy.eco.br 16 points 2 days ago* (last edited 2 days ago)

Not the boss, just like in real life.

25

Hi, I want to know what is the best way to keep the databases I use in different projects? I use a lot of CSVs that I need to prepare every time I'm working with them (I just copy paste the code from other projects) but would like to make some module that I can import and it have all the processes of the databases for example for this database I usually do columns = [(configuration of, my columns)], names = [names], dates = [list of columns dates], dtypes ={column: type},

then database_1 = pd.read_fwf(**kwargs), database_2 = pd.read_fwf(**kwargs), database_3 = pd.read_fwf(**kwargs)...

Then database = pd.concat([database_1...])

But I would like to have a module that I could import and have all my databases and configuration of ETL in it so I could just do something like 'database = my_module.dabase' to import the database, without all that process everytime.

Thanks for any help.

779
submitted 1 week ago* (last edited 1 week ago) by driving_crooner@lemmy.eco.br to c/programmerhumor@lemmy.ml
5
4
submitted 2 months ago* (last edited 2 months ago) by driving_crooner@lemmy.eco.br to c/thelyricsgame@lemmy.ca
20
submitted 2 months ago* (last edited 2 months ago) by driving_crooner@lemmy.eco.br to c/thelyricsgame@lemmy.ca
12
submitted 2 months ago* (last edited 2 months ago) by driving_crooner@lemmy.eco.br to c/thelyricsgame@lemmy.ca
11
submitted 3 months ago* (last edited 3 months ago) by driving_crooner@lemmy.eco.br to c/python@programming.dev

Hi, I'm currently using this to log my python process

logging.basicConfig(filename='filename.log', level=logging.DEBUG)

logger = logging.getLogger()

sys.stderr.write = logger.error

sys.stdout.write = logger.info

And then using print(f'{datetime.now()} log message') where I want to log.

It's working OK, buy I would like to live it to ic, but can't find any info on how to send the ic output to the logger.

Thanks for any help.

17

Guardando está notícia pra mandar ao pessoal quando falar que na favela não pagam energia.

24
4
52
submitted 5 months ago* (last edited 5 months ago) by driving_crooner@lemmy.eco.br to c/mathmemes@lemmy.blahaj.zone

E[S] = μE[N]

😳

7
Chaddify this. (lemmy.eco.br)
view more: next ›

driving_crooner

joined 1 year ago
MODERATOR OF