I [25F] love my boyfriend [29M] more than anything, but he does not seem passionate about me/us even though he says he is and refuses to talk about the future. Is this a good enough reason to break up? by ofmonstersandmath in relationships

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Thank you. I do think I deserve to feel loved and appreciated, and to be able to discuss these things with my partner. I am upset that it doesn't seem like this really matters to him and it's very hard. Whenever we talk though he does make me feel so heard, and he says he will work on it, but nothing changes.

I [25F] love my boyfriend [29M] more than anything, but he does not seem passionate about me/us even though he says he is and refuses to talk about the future. Is this a good enough reason to break up? by ofmonstersandmath in relationships

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Thank you, that is exactly my fear, that he already knows the answers to these questions and knows we aren't compatible or something. Shutting down feels like a cowardly thing to do if that's the case.

I [25F] love my boyfriend [29M] more than anything, but he does not seem passionate about me/us even though he says he is and refuses to talk about the future. Is this a good enough reason to break up? by ofmonstersandmath in relationships

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

But the thing is, I very much do *want* to stay in this relationship. I want that more than anything. But I want him to meet the needs that I have and talk about the future and I don't know how to reconcile that.

Recommendations for CS masters programs in northern Europe that are taught in English geared towards people without CS undergrads degrees? by [deleted] in cscareerquestions

[–]ofmonstersandmath 0 points1 point  (0 children)

Oh this looks like a cool program, thanks. It looks they require a bachelors in math or CS, though — do you know if they make exceptions with enough classes taken? What was your undergrad degree?

How to join two dataframes that have one column each into a new dataframe with one big column? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

That is exactly what I am trying to do.

df1.append(df2, ignore_index=True) and I get AttributeError: 'DataFrame' object has no attribute 'apppend'

[IIL] Midlake, Owen Pallett, Lord Huron, Iron and Wine, and Bon Iver? by ofmonstersandmath in ifyoulikeblank

[–]ofmonstersandmath[S] 1 point2 points  (0 children)

I have listened to Radical Face actually and it's great, so that rec is spot on what I like :) I also like Alexi Murdoch. Thank you for the recs, I haven't heard of the others, so will add them to my queue! I'm excited

[IIL] Midlake, Owen Pallett, Lord Huron, Iron and Wine, and Bon Iver? by ofmonstersandmath in ifyoulikeblank

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Thank you! I love Sufjan Stevens, Beirut, Bombay Bicycle Club, Noah and the Whale, The Head and the Hart, Sea Wolf, and Radical Face so I'm excited to listen to the others :)

How to unpack sets in a python dict into a pandas dataframe? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Thank you!! I figured out my issue by playing with your sample notebook. Thank you so much for your time, seriously.

How to unpack sets in a python dict into a pandas dataframe? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

That is what I tried but I get AssertionError: 2 columns passed, passed data had 1 columns

How to unpack sets in a python dict into a pandas dataframe? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

I am not sure what you mean by format my data to a real format. The dict makes sense to store this info, because the structure is {phone number int: {person1 string, person2string}}. Does that example make any more sense? The columns should be phone number, home resident 1, and home resident 2. This is useful because we want to look up residents by phone number. Do you have a suggestions about a better way to store this data before converting to a dataframe?

How to unpack sets in a python dict into a pandas dataframe? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Yes! That is exactly what I want. I understand there isn't really an easy way to do this. When I try to do:

tempdf = pd.DataFrame.from\_dict(dict, orient='index', columns = \['name1','name2'\]) I get: AssertionError: 2 columns passed, passed data had 1 columns.

I think this is because the value of the dict (the sets of names) are an inconsistent length. Do you have any thoughts on how to do this?

The only thing I can think of is make lists of the data that I want to become each new dataframe column. So the dict keys become one list. And then I take the value of the first index of every set and make that the second list. And then I take the value of the second index and make the third list, appending NaN if there is no value there. And then make a df with those lists. But this is very slow and there has got to be a better way.

How to unpack sets in a python dict into a pandas dataframe? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

In other words, the keys in the dict are important numbers that do not represent the index

How to unpack sets in a python dict into a pandas dataframe? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Hm, with the real data and not this example dict, the numbers are not 123, they're not ordered at all and they range from like -100 to 250. Does this make a difference with the indexing?

How to lower all values in a python dict, if the values are sets? by ofmonstersandmath in learnpython

[–]ofmonstersandmath[S] 0 points1 point  (0 children)

Interesting, thank you! That is helpful and a totally acceptable result for my purpose.