[-] [email protected] 15 points 6 hours ago

And what left for us? Microplastics? What a shame.

[-] [email protected] 8 points 15 hours ago

What's the difference?

[-] [email protected] 1 points 21 hours ago
[-] [email protected] 4 points 1 day ago

Isn't her silhouette revealed when you die?

[-] [email protected] 2 points 1 day ago

Can't say, the best thing of the pellets os that they dissolve when they piss on, so you can filter the dirty wood for the clean one.

[-] [email protected] 0 points 1 day ago

You can look for them on hardware stores too, they're cheaper there.

[-] [email protected] 9 points 1 day ago

Dis you try wood pellets?

[-] [email protected] 5 points 1 day ago

My pillow came with 3 mini pillows that you insert on the middle of the pillow to regulate the height.

[-] [email protected] 15 points 1 day ago

It can also work in a meta level, we're tou can't talk to anyone on the table an need to communicate by mimething.

[-] [email protected] 56 points 1 day ago

The wall thing wouldn't work because once a mime talk, all the elements created by the mime dissappear. It should have gesture the rouge to come in to work.

[-] [email protected] 68 points 3 days ago

Artistic depiction of AI models training on AI generated data.

[-] [email protected] 28 points 4 days ago

the Russian Volunteer Corps, a pro-Ukrainian group fighting Russian forces,

This name is confusing af.

824
submitted 1 week ago by [email protected] to c/[email protected]
14
submitted 1 week ago by [email protected] to c/[email protected]
7
submitted 1 week ago by [email protected] to c/[email protected]
24
submitted 2 weeks ago by [email protected] to c/[email protected]

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.

764
submitted 3 weeks ago* (last edited 3 weeks ago) by [email protected] to c/[email protected]
5
submitted 2 months ago by [email protected] to c/[email protected]
4
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
20
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
12
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]
11
submitted 3 months ago* (last edited 3 months ago) by [email protected] to c/[email protected]

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
submitted 4 months ago by [email protected] to c/[email protected]

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

24
submitted 5 months ago by [email protected] to c/[email protected]
view more: next ›

driving_crooner

joined 1 year ago
MODERATOR OF