You need to decode the bytes object to produce a string:
>>> b"abcde"
b'abcde'
# utf-8 is used here because it is a very common encoding, but you
# need to use the encoding your data is actually in.
>>> b"abcde".decode("utf-8")
'abcde'
looks like I do need to decode...
wtf, how am I supposed to know the string encoding ._.
@danielunderwood If you have many symbols exceeding ASCII, it is usually better to use UTF-16 so that you don't get so many multiple-character code points, but it is not required
yeah if I use 'latin' encoding it actually loads the dataset at least
I can try lol
he file contains more than 1,048,576 rows or 16,384 columns. To fix this problem, open the source file in a text editor such as Microsoft Word. Save the source file as several smaller files that conform to this row and column limit, and then open the smaller files in Microsoft Excel. If the source data cannot be opened in a text editor, try importing the data into Microsoft Access, and then exporting subsets of the data from Access to Excel.
my main problem at this point is probably more to do with the math than the programming
the only way I know how to do the computation is to start from something relatively simple, go to something absurdly complicated, and extract something simple from that
it'd be really nice if I could circumvent that middle step
(with my hardest case so far, it takes about an hour to create the complicated intermediate object and then about another 15 minutes to reduce it to the final simple object)
(for anyone who is somehow curious about the problem, it's essentially the same one posed here: math.stackexchange.com/questions/184955/…. the first approach is the one I've been doing)
this recruiter...so funky...asked me for a "couple minute conversation" to talk about a role...then straight up sends me a list of data science questions "he might ask" during the conversation...
feels like a study guide lol
alrighty...did some preprocessing...now I gotta figure out how to I want to use these...
living legend™ ... he used his own programming language in his books which think decreases their value substantially, although maybe almost nobody else is saying that... out loud... this is your fathers oldsmobile™ :P
@danielunderwood when were you in china? what for? exotic :P
Well the first week or so was in Beijing and we were in dorms. That was mainly kind of a culture thing where we took Mandarin classes and did some sort of cultural activity during the evening. That also happened to be the time that there was an eclipse there, which was neat. There were also students from the US and UK staying in the dorms and in the courses, which was cool. Then we traveled around Shandong for another week or so
At some point we also went to the Great Wall of course