Skip Navigation
Jump
What things from the 2020s do you think will age horribly?
  • Fast fashion is older that the 2020's

    19
  • Jump
    Yup...i can confirm that
  • I was doing a job interview and the manager asked me why I choose python over other languages like R, like if I tough that python was the best language or what? I answered that python is not the best language for anything, for any job you want there's a better language, but python is the second best one for everything, so it offers a flexibility that no other language can. Like in my actuarial sciences MBA, all the professors use R, for 99% of they do I have an equivalent library in python, for the 1% that don't I can use rpy2 and run R code directly in python. Guess they liked my answer because I was approved and I'm about to start there in October.

    28
  • Jump
    Post summer songs in this thread for the summer edition of Lemmyvision!
  • From Brazil: Clubber das planetarias - DJ Caio Prince, et al.

    It's what you're going to listen in the typical São Paulo club.

    3
  • Jump
    Horseshoe crabs be like
  • One minute earth just did a great video about that https://youtube.com/watch?v=_skYZFmr0Lg

    1
  • Jump
    Anon goes to school with a menace
  • Record girls to jackoff at school? What does that mean?

    39
  • Jump
    Double exposure
  • True Detective intro credits be like:

    2
  • Jump
    Double exposure
  • True Detective intro credits be like:

    1
  • Jump
    Parental leave isn't a holiday or a 'year off' – so don't pit parents against workers | Rhiannon Lucy Cosslett
  • The stupidest take I have read today, and I even read OP comment here too.

    17
  • Jump
    Crumbs causes a ruckus
  • Something like that almost happened to us. There was a stray visiting our apartment building and we feed him a couple of times until the building manager call us telling us that there were already other 3 neighbors feeding him, and that he was taking care so please stop. But he just keep running and crying for food every time we came in to the building.

    34
  • Jump
    Donald Trump Infringed 'Electric Avenue' In Campaign Video, Judge Says
  • This is going to be like that every election cycle for the rest of history

    9
  • Jump
    Crumbs causes a ruckus
  • People who let their pets get in that conditions should be charged with animal abuse.

    81
  • Jump
    Colorado teen shot in the face by town councilman after going to home to ask permission to take homecoming photos
  • Isn't like one of the basic rules of gin ownership that you only point a gun at someone you are going to kill?

    35
  • Jump
    It's Saturday, what have you watched this week?
  • I think is Ok, and I like it like that. People expect every show to being Game of Thrones 9.9/10, and anything that doesn't get to that is completely trash, but they're space for 7/10 shows too.

    I'm enjoying the pace of this season, were they don't feel the need to show every character on every episode, and they don't feel all over the place.

    2
  • Jump
    Every element of the periodic table
  • Did M|O|O|N have released something else after the soundtrack of Hotline Miami? I love that soundtrack and have tried to find more from them but can't.

    8
  • Jump
    It's Saturday, what have you watched this week?
  • The rings of powers, only Murders on the building and Snowpiercer.

    For movies Kind of Kindess, love it. Latitmos is the best. The Favorite and Poor Things were good, but didn't felt as much as their style, but Kind of Kindness is right on his field.

    1
  • Jump
    Cars
  • I don't get it

    7
  • Jump
    Biden moves to crack down on Shein and Temu, slow shipments into US
  • Free market countries when free markets enter their house:

    7
  • Jump
    Just a typo rule
  • Keeping the trend of the other characters, "Brasil" isn't a music genre, but if they wanted to add a brazillian character using a brazillian genre, o would recommend Bruxaria, a sub genre of brazillian funk. Here's a set from DJ Dayeh of Funk Bruxaria for anyone interested https://soundcloud.com/beco-eletrico/dj-dayeh-beco-eletrico-6-anos

    11
  • 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.

    18

    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.

    7

    Hi, When im working with some big dataframes and I need to create some columns based on functions. So i have some code like this

    Def function(row): function

    And then I run the function on the df as

    df['new column'] = df.apply(function, axis=1)

    But I do this with 10 or more columns/functions at time. I don't think this is efficient because each time a column is created it had to parce the entire data frame. There's a way to create all the columns at the same time while parsing the rows only once?

    Thanks for any help.

    5

    You are trying to click a link in a comment but the comment keep collapsing, also, pressing for a second should select the comment text to copy or other actions instead of hiding the upvotes section.

    Thank you.

    32
    13

    I just got a new job in a different city, São Paulo, but my wife is staying for the time being in Rio de Janeiro. I'm planning to travel home at least one weekend each month and would like to find deals for them. I tried Google flights alerts, but it just gives me deals for random week long flights.

    Thanks.

    0