Please help contribute to the Reddit categorization project here

    lieutenant_lowercase

    + friends - friends
    17,910 link karma
    9,718 comment karma
    send message redditor for

    [–] pandas.to_csv() using columns parameter lieutenant_lowercase 3 points ago in learnpython

    Use this instead:

    df[['col1', 'col3']].to_csv('some_file.csv')
    

    [–] please help lieutenant_lowercase 5 points ago in learnpython

    Because you aren't chaining your if statements together. The final else statement is only against this statement

    if s in ww2_keywords3:
    

    You should change your if statements to else if statements (elif), except the first one ofcourse

    if ....
    
    elif ....
    
    elif ....
    
    else ...
    

    [–] Should I report a drug user ? lieutenant_lowercase 21 points ago in london

    She’s trying to snitch on this dude because he isn’t in to her lol

    [–] What's the most fucked up statistic you know of? lieutenant_lowercase 0 points ago in AskReddit

    How does this compare to the overall population suicide rate? Genuine question

    edit: Found the answer myself. About twice the average rate

    A recent analysis found a suicide rate among veterans of about 30 per 100,000 population per year, compared with the civilian rate of 14 per 100,000

    source: https://en.wikipedia.org/wiki/United_States_military_veteran_suicide

    [–] Filtering lists lieutenant_lowercase 1 points ago in learnpython

    He was asking for the index of those numbers above 0.75

    [–] Filtering lists lieutenant_lowercase 5 points ago in learnpython

    You can use list comprehension and enumerate

    numbers = [0.1, 0.6, 0.9]
    [i for i, x in enumerate(numbers) if x > 0.75]
    

    [–] What skill to learn? lieutenant_lowercase 3 points ago in RocketLeague

    Strong clears and power shots. Do the consistency packs where there are 50 shots and do that every time before you play.

    [–] (XB1) I am pretty bad at Rocket League. lieutenant_lowercase 3 points ago in RocketLeague

    11 * 60 = 660mins

    660 / 145games = 4.6mins per game

    Sounds about right if he is playing casual

    [–] [Discussion] Whats your Standard vs your Solo Standard Rank? lieutenant_lowercase 1 points ago in RocketLeague

    Standard: Champ 3

    Solo Standard: Champ 2

    Personally solo standard is my favourite playlist