« first day (3621 days earlier)      last day (1319 days later) » 

 
2 hours later…
2:15 AM
sorry to interrupt you guys. i have a question about pandas and I truly get stuck on this question. can anyone take a look at it? thanks! stackoverflow.com/questions/63867307/…
 
 
6 hours later…
8:16 AM
@ChenJin it seems you already got an answer, seeing how you directly linked to it.
 
 
3 hours later…
11:07 AM
@CoolCloud I don't think this specifically is somehing you've discussed here before, so please wait the 48 hours before posting your question here in parallel, as per our rules
 
 
1 hour later…
12:13 PM
Might need to integrate a scrollbar into the tkinter UI I'm working on. Pray for me.
 
12:28 PM
Just to be clear: Your plan B doesn't just happen to be "replace GUI with megalomaniac, self-aware voice recognition AI", does it?
 
12:44 PM
That's plan C. Plan B is separating the data into screen-sized pages
 
1:03 PM
If you bump up priority for Plan B, you can exploit prayers for the future of mankind. What could possibly go wrong?
 
1:25 PM
> Note that you can also create horizontal scrollbars on Entry widgets.
That's... an idea
The real question is: Can you create a scrollbar for another scrollbar?
 
I sorely miss the nested-progress-bar style for current/total progress...
I'm sure that'd work for scrollbars as well...
 
tkinter scrollbars are relatively customizable so in principle you can hook them up to whatever you want
Basically it just fires a callback saying "hey, the user scrolled me to position X" and it's the canvas/entry/whatever's job to do something with that info
 
Someone should make a scrollbar that instead of scrolling the widget slides the window across your screen
 
1:44 PM
I imagine the simplest implementation of that would go into a feedback loop, because as the window moves around, the cursor's position relative to the scrollbar would also move
 
Hmm, good point. Once again reality foils my plans for good UX.
 
@Aran-Fey As in, drag and drop?
 
Simply take control of the cursor and move that too. The users will love it.
 
Not really drag'n'drop, no. More like the Entry (or whatever) is at a fixed location on your screen, and moving the scrollbar makes your window slide across the screen, which lets you see a part of the Entry that you couldn't see before
i.e. the widget moves inside the window, but stays at the same "physical" location on your display
 
@Aran-Fey That's interesting ... I shall try it.
 
1:57 PM
good luck
 
You can embed widgets inside canvases, which may be useful there
 
@Aran-Fey :)
 
morning cabbages, folks
 
2:19 PM
Oh man, it's morning cabbage time already? That marks another unproductive day
 
2:32 PM
Can anybody please help with what this slicing part of code is doing:
binary_ip = str(11000000101010000000101000000001)
no_of_ones = 24
no_of_zeros = 8

network_address_binary = binary_ip[:(no_of_ones)] + "0" * no_of_zeros
print(network_address_binary)

broadcast_address_binary = binary_ip[:(no_of_ones)] + "1" * no_of_zeros
print(broadcast_address_binary)
 
Are you familiar with bitwise operations? These two lines of string operations are basically doing a bitwise AND and a bitwise OR
 
That's the .docs say but i still can't
"match them both in binary 'binary_ip' & subnet i.e "no_of_ones" & "no_of_zeros" and identify which bits of the Ip address overlap with the bits in the mask having the value of 1"
bitwise, no but i will look into it now
 
cbg
@raghav - if that is supposed to be binary, you need to prefix with 0b
>>> 1100
1100
>>> 0b1100
12
Oh, nevermind, you just want a binary string - you could just enclose it in quotes too.
 
yea i did used lstrip just for the binary, just can't understand how this slicing or bitwise operation is returning a binary value
 
it's not, it's returning a string
 
2:46 PM
...a string that looks like a binary value
 
Also, for some ease of poking about, you might change no_of_zeros = 8 to no_of_zeros = 32 - no_of_ones. Then if you change the size of your no_of_ones mask, the no_of_zeros will update properly.
Change your print statements from print(x) to print(repr(x)) to see that these are strings, not binary.
 
@Aran-Fey all the more reason to be suspicious
 
Keep in mind that Python does not have a native "binary" data type.
I'm not clear on why no_of_ones equals 24, when the ip contains 8 ones
 
It is the number of leading digits to mask as if you were OR'ing
Not the number of ones in that value.
 
Discuss: Bit operations should be implemented for bytes rather than int
 
2:51 PM
But it's also the number of leading digits to mask as if you were AND'ing. Or is that a typo in the code?
 
a = str(11000000101010000000101000000001)[: (24)] + "0" * 8
print(a)
This returns:
11000000101010000000101000000000
This string, i just wanted to how that's all
it's a binary string, not a binary value
 
some_string[:24] chops off all but the first 24 characters of the string. + "0" * 8" adds eight "0" characters to the end of the string.
I'm assuming you're asking "I just wanted to [know] how [this result was calculated] that's all"
 
@Kevin Basically num_of_ones = 24 is their stupid way of creating a bit mask that starts with 24 ones and ends with 8 zeroes. That bit mask can be used for whatever you want, be it AND or OR or XOR or ...
 
Hmm I see
 
@Kevin Wheew, Got it thanks! leave the first 24 values but replace the last 8 values with 0
and that 24 & 8 i just took it as an example from the org code, the main code gets input as 255.255.255.0 & later converts it to binary before comparing
 
3:03 PM
obligatory remark: there's standard library ipaddress and friends that probably help you work with IP addresses
 
zfill could have been easier to replace the last values, not sue why they did that
@AndrasDeak yes i know, this is someones code im trying to fix
 
Are you fixing it by rewriting from scratch? :)
6
 
I'm tempted to say "you should almost always do binary arithmetic using ordinary ints, and only 'convert to binary' at the very end when you need to display results" but I confess that I've had to resort to strings every once in a while
"Get the Nth bit of the number" is easier in strings for instance
@Aran-Fey I'd like them on both. There may need to be a good bit of bikeshedding to get it working for bytes because we need to hash out e.g. whether b"011" << 1 gives b"0110", or b"110", or what
 
@AndrasDeak trying to understand the logic before i can write with the lib
 
yeah, I was only joking
you absolutely should
 
3:12 PM
the code uses .lstrip to strip that 0b, later get it into str then compare at last
@Kevin bin(int(octet)).lstrip('0b')
 
ugh
 
I do wish bin() had an option to not add the 0b. You can do it with str.format, but what's wrong with having two ways to do something? ;-)
 
>>> '0b00001'.lstrip('0b')
'1'
not technically a problem but a subtle semantic mistake
 
HR: "please log into the redesigned employee portal and sign the new agreement by the end of the day"
Me: "Ok, but I need login credentials for the portal. When will I be getting those?"
HR: "No later than Wednesday"
Hmm I see, today's theme is Kafka
 
so your week off experience is extending to this week
 
3:24 PM
I hope I metamorphize into a large bug by the end of this
 
@Kevin did you look funny at her and did she realize while talkin?
Also I'm so annoyed I'm facing an issue I faced a while ago, but I forgot to write down how I fixed it and I can't remember :( :D
 
@Aran-Fey Are bytes big or little bit-endian?
 
I suspect all HR workers are aware that they're complicit in The Machine. But then again, so am I...
 
^^
 
The actual conversation took place over two hours on a 100 person conference call during which I was muted the whole time. My dramatic retellings are only loosely based on reality
 
3:37 PM
No one knows I'm a dog :)
a dream within a dream
I think some neural nets could be roaming /6 without us noticing :P
 
Likewise, nobody has yet discovered that I am a levitating chrome orb
 
@MisterMiyagi Aha, good question. Although the same question could be asked for integers, so I guess for consistency they should be little-endian
 
Ideally you would be able to round-trip the hex representation through ints and back
 
3:57 PM
I just realised they removed "The form '!' is available for those poor souls who claim they can’t remember whether network byte order is big-endian or little-endian." from the docs. 'Tis a sad day.
 
I am one such poor soul :<
 
:!
typo (wrong indentation of method) stackoverflow.com/questions/63887841/…
 
cbg
high level question: why was reduce moved out from built-in methods between python 2 and 3
 
cbg
 
the question is why map was kept ;)
 
4:05 PM
:D
 
@Skyler Guido didn't like the functional style, and opted to remove various builtin functional helpers in favour of comprehensions.
Which... doesn't make sense as reduce is the only one not expressible by comprehensions. :/
 
I used reduce quite rarely, compared to filter and map
It may be more powerful than a comprehension, but it can also bend the reader's mind into a pretzel
 
an easy use case i picture for reduce Kevin is doing custom aggregations over a pd df for example
 
@MisterMiyagi it's probably just a mental health safety measure
@Skyler note docs.python.org/3/library/functools.html#functools.reduce. It was moved, not removed.
 
4:09 PM
@Kevin I can do pretzels. reduce I'd rather do not.
 
and I bet you should use pandas aggregations rather than stdlib ones
 
"almost every time I see a reduce() call with a non-trivial function argument, I need to grab pen and paper to diagram what's actually being fed into that function before I understand what the reduce() is supposed to do" -- wow, so the behavior isn't obvious even if you're Dutch
 
pandas aggregations seem mostly focused on numerical data and are pretty run of the mil
 
Hmm! GVR wanted to axe lambdas too. What a world that would be.
 
which admittedly is one of pandas main contexts
 
4:10 PM
from my admittedly limited experience with pandas, non-numerical data doesn't make good use of pandas so the actual container could be anything else
 
data scientists would shutter at the thought of no real string support
and thats probably a large part of why theres the whole series.str set of operations
 
He also proposes adding product(), which I would have liked
 
@Kevin 3.8
although I've been using numpy's for years ;)
 
Ok, what's the past participle of "would have liked". In between Guido suggesting it for Python 2.5, and its introduction in 3.8, I would have having been likened it
 
I think there's a Douglas Adams quote for something like that... probably involving futures too
 
4:14 PM
you could sort of accomplish what you want with "would have appreciated" since it covers both tenses
 
English must be burned to the ground and rebuilt from more logical foundations
 
May I interest you in these hip new letters? áéíőű
 
people always complain about the pronunciation and spelling mismatches but there's actually a very strong argument in favor of them
 
"Perhaps the best system around". Yeah, that would absolutely make me want to watch that video :P
 
give it a shot, he points out a very compelling optimization that the english language tries to do in comparison to most other languages
 
4:18 PM
Based on the thumbnail, I will agree that letters are more practical than ideograms.
 
ideogram languages have certain strengths to them that alphabetical ones dont, english recovers a few of those among other things
 
nice, trying to sell the perversely non-phonetical nature of English as a feature ;)
 
I mean you can argue the optimization isn't worth it but especially before globalized communication the advantages differentiate it from basically every other european language
And I think given how pronunciation has stayed somewhat rigid despite globailzed communication that value may have actually increased
 
4:36 PM
Hello! I need a couple of pointers on "how to get started". I'm thinking of creating a small "simulation game" where players change paramters of their "simulated world" through a web interface, those changes are eventually stored into a database, and the game server "run a simulation tick" with all the parameters of all the players ever x minutes. I'd like to have the "game server" software (the actual simulation/game) programmed in python.
I'm a software engineer working in c++ on 3D desktop apps, so I'm a bit out of my ecosystem here. I have experience writing python scripts executing on the command line. I thought that essentially any front-end framework (such as Django?) could be used for the user interaction with the game, while the server "ticks" could be run using a cron job, but I wonder if there is a "more standard" approach when writing this kind of web app? Thanks!
 
hello
 
you could start by writing the core logic of the game and interacting with it through a CLI so you dont have to commit to a framework and actually create the logic of your game in a way that lets you interface with a view at a later time if this is more about learning python
 
Yes, I suppose that would be the first step; being able to also test it "offline" looks like an added benefit.
 
since interfaces are a bit more informal in python then C++ and sounds like you've got plenty of programming background you'd probably learn things pretty quickly without getting bogged down by some library. Like you said you can test it offline (and you could write a test suite for just the core logic) and then you've also managed to isolate dependencies by design
 
4:45 PM
Then it's going to be slapping a web interface over a database (essentially).
 
A cron job doesn't sound too controversial of a choice for periodically updating the server data
Unless you're updating every 60th of a second or something
 
I'm aware of the existence of celery for regularly scheduling stuff within python, but that's the extent of my knowledge in the domain
that doesn't even sound like celery's main goal: "Task queues are used as a mechanism to distribute work across threads or machines."
 
Yeah, for now I'm not thinking of updating the simulation that often, but maybe later.
 
yea, the nice part of the isolated dependencies is that you could now choose to:
write a django app to interact with it
a tkinter desktop program to interact with or adminstrate over the DB
a flask microservice that could be middleware for any of other products to interact via REST or some other method
ttoss it into a game engine like pygame as a module that updates some clientside stuff with serverside info

so you've decoupled your core code and can port it into many projects
 
Something like sockets might be more appropriate for real-time stuff
 
4:52 PM
@Skyler yes, ok, that's interesting!
 
@Vaillancourt cron seems like an unusual choice for this task. Having a main loop in a Python program that continuously does whatever it needs to do appears more natural, maintainable and extensible.
Unless you want actual web connectivity and/or client-server multi-user, there are other GUI alternatives as well.
 
@MisterMiyagi Yes, that was my next question regarding this: if I use a cron job, I need to "lock the database", "load all the data in memory", "tick the game", "save the data again to the database", "unlock the database".
having "the app running all the time" could let users "save the data to memory" and have the game "store it to database" once in a while, without needing to lock it every tick.
 
AFAIK Django keeps a death-grip on its own mainloop, so I think you'll still need a separate process for the server tick loop, regardless of whether you use cron or not.
 
Ok, apps like Django are "apps that run all the time", and are not just "awaken when a client does a request"? (That's how I used to make websites back in the day, in another life.)
 
As I understand it yes
Or perhaps that's a false dichotomy. An app that sleeps 99% of the time and awakens only in response to requests is still, strictly speaking, running all the time
 
5:02 PM
Oh, right.
Well that gives me a few pointers, thanks all for your help. Now let's see if this project will even see its first line of code!
 
5:21 PM
            Hello.

                    I'm having the error "NameError: name 'float_error_ignore' is not defined", when I execute the code below:

        def gaussian(x, y, xsigma, ysigma):
            """
            Two-dimensional oriented Gaussian pattern (i.e., 2D version of a
            bell curve, like a normal distribution but not necessarily summing
            to 1.0).
            """
            if xsigma==0.0 or ysigma==0.0:
                return x*0.0

            with float_error_ignore():
 
NameError usually occurs when you try to use a variable that hasn't been defined yet.
Function objects are commonly defined using a def block.
 
Which seems to be the case. Python works as expected.
 
If you're trying to borrow the gaussian function from imagen.holoviz.org/_modules/imagen/patternfn.html, you'll need to copy-paste the float_error_ignore function block too
And the contextlib import etc etc
 
I actually put the pure code in to simplify execution. Does this code need libraries anyway?
 
Well, it certainly needs the np library.
I don't think you need the entire imagen library though. As far as I can tell, gaussian only depends on float_error_ignore, so you just need those two.
 
5:26 PM
float_error_ignore is.... a library?
 
It's a function, defined ten lines above the gaussian function
 
@Marco whenever you use a name it must have been defined by then. Either via an import or by a function or class definition or an assignment
(((or an assignment expression)))
 
I don't know where flot_error_ignore is defined... :(
 
ten lines above gaussian.
Maybe we're looking at different sources...
 
most websites and editors support text search
 
5:29 PM
 
Ohh, I understand now
I will test again .... what is the "@" at @contextmanager?
 
it's called a decorator (I mean the @ uses contextmanager as a decorator)
 
It essentially informs Python that it's a special type of function.
In this case, a context manager is a function that you can use in a with block.
 
so you need to use it, right?
 
Yeah.
Re: simplifying execution by copying only the functions you need. I don't think your program will run much faster just by deleting functions you're not using. parsing and compiling function objects only takes a fraction of a second, and it only happens once per program execution. Less, if the .pyc file hangs around.
So you've got to ask yourself whether that fraction of a second is worth the extra thirty minutes of development time you've accrued so far. Compared to the five seconds of dev time it would take to pip install imagen and use it as-is
 
5:35 PM
it's because I want to understand what's going on with the code.
 
Why am I getting the error : tkinter.TclError: couldn't recognize data in image file "news1.png"
Here's the code :img1 = PhotoImage(file="news1.png")
img_lb = Label(image=img1,padx="60",pady="30").grid(row="2", column="1")
 
Thank you @Kevin and @AndrasDeak
 
@TanishSarmah PhotoImage can only read GIFs and PPMs. To read pngs, you need PIL
I feel like I'm getting increasingly inconsistent with my capitalization. Oh well.
[insert "oh no! ...anyway" meme]
 
Capitalization is only as important as your membership to The Avengers... and only if Chris Evans is away that day :P
 
5:58 PM
based on this code (chat.stackoverflow.com/transcript/message/50456582#50456582), now the error that I had quoted no longer occurs ... I thought I would return a 2D array (image) when executing this function, but I got only one value as return ... this is the expected value same? I wanted to get the image of a Gaussian ...
 
@Marco the output is shaped according to the inputs. If you pass scalars you get a scalar.
You have to generate a 2d mesh for x and y to get a 2d grid of values as output. Look at numpy.meshgrid or numpy.mgrid as a helper.
 
Oh, nice.
for xsigma and ysigma do I just pass scalar values?
 
yes
otherwise you'd have to pass 4d arrays which could generate a 2d Gaussian for you for each of the input sigmas
but that's an advanced exercise, you should get familiar with basic numpy first
 
Thank you very much, @AndrasDeak
 
no problem
 
6:13 PM
@AndrasDeak the return was an array in 3D, I expected one in 2D. Did I do something wrong or was it expected behavior?
 
At a glance I can't see why an additional dimension would be injected, so make sure to check the shape of your inputs.
 
Wild guess: what happens if you pass in 1d inputs?
 
@Kevin I get a 1D array with one value.
 
Note that most of your function is return np.exp(-x**2/(2*xsigma) - y**2/(2*ysigma)), assuming you promise not to pass zero sigmas
 
Odd.
 
6:18 PM
x = np.mgrid[1:100,1:100]

I expected this to return an array in 2D but it is returning an array in 3D, problem encountered.
 
@Marco x,y = np.mgrid[1:100, 1:100]
Start reading tutorials/docs
 
Perfect.
 
None of this makes any sense to me so I can confirm that it's not readily understandable without tutorials/docs
 
Ty again and sorry anything.
@Kevin yeah.
 
I have a lot of experience in having no experience in numpy
 
6:25 PM
(It's just a helper that returns a 2-tuple-like 3d array. Having a tuple of (2d array, 2d array) is equivalent to having a single 3d array where the first dimension has length 2)
 
@Kevin, yeah, it seems simple at first sight but it is quite complex
 
It's all just rectangles with numbers in em
 
but it returns a 3d array instead of a tuple of 2d arrays so that I can do github.com/adeak/AoC2018/blob/…
 
But there are literally dozens of numbers in existence so the combinations are boggling
 
6:39 PM
Does Python automatically flush its buffer when calling seek and/or read operations following a write? was wrongly closed into a Windows-only question. (If anyone has a better dupe, please post it there (rather than here)
 
6:53 PM
...I invited @MarkRansom to discuss here
Being discussed on Meta: Whether a review ban was merited for tagging 'Looks OK' on a VLQ/zero-effort (PHP) question where the answer is a one-liner. Which brings us back to the perennial heated-discussion/enhance request whether SO should use a more community-specific close reason for that case (also so that reviews don't go haywire, like in this case).
 
7:16 PM
cbg
i was wondering if there is an easy way to print out a pandas dataframe so that you can copy and paste that exact output and wrap it with pd.DataFrame to load the df again
it'd just be kind of a convenient bit of helper code if I could do that for running a few tests since I have sessions which die with inactivity and it'd be nice to copy the interim outputs so I could just resume where i was
 
Does it also have to be pretty or are you really asking about serialization?
 
pretty not required, before when I've loaded some dummy data into a dataframe ive just made dicts like {'col1':[1,2,3],'col2':[3,4,5]} so i figure something like that would be ideal
oh wait, its just a dict, not anything more fancy, to_dict() should work just fine
 
7:33 PM
@Skyler Yes, this is easy. You can use whitespace, tabs, commas, or pipes | as delimiter. I suggest using pipes (or some character that doesn't naturally occur in your data, e.g. Unicode ¦ U+00A6 Broken Bar). Post us a snippet if you still have an issue.
 
[tag: cv-pls] stackoverflow.com/q/63890603/1426065 gimme teh codez
 
also unclear
 
I got it working though its interesting to note that it decided to swap from my {'colname':[vals as list]} to {'colname':{index key: row value}} for format
 
why is my tag not appearing?
 
use [tag:cv-pls] instead of [tag: cv-pls]
 
8:09 PM
can someone help with that error?
I want to show "-4 + 6" in that cell, i.e., where 6 is written and so on
 
What is "self" as a function argument? What I should pass when I call a function like this?
 
@VisheshMangla do your rows already contain strings?
 
nope the default datatype is int
 
@Marco self is canonically the instance in methods of a class. It is passed automatically when calling the method on the instance.
 
@VisheshMangla please stop posting images of code
 
8:12 PM
@MisterMiyagi right, thanks
 
ok @AndrasDeak . Actually the problem lies in copying from jupyter cells to text
 
That's a problem that you have to figure out, not us.
 
ok
but can I be helped for now? I have a test
 
Are you preparing for the test, or is the test ongoing as we speak?
 
8:14 PM
college test
 
that's not an answer to my question
 
test is tomorow
 
then you can be helped
 
actually its 1:44 am so today
 
4 mins ago, by Vishesh Mangla
nope the default datatype is int
check that assumption, for the column MeshNum
Actually, nevermind. The very loop you are showing tries to convert row by row to str.
 
8:16 PM
btw guys, is there a way to do what the person here is suggesting using .astype() for a column who's values you've already specified
12
A: Convert columns to string in Pandas

cs95pandas >= 1.0: It's time to stop using astype(str)! Prior to pandas 1.0 (well, 0.25 actually) this was the defacto way of declaring a Series/column as as string: # pandas <= 0.25 # Note to pedants: specifying the type is unnecessary since pandas will # automagically infer the type as object s = ...

 
yeah, actually I dont know much about how implicit type conversion is handled here
 
once you've converted earleir rows to str you have to prepend '-' rather than trying to negate the string
 
I m negating an int and then using astype str
 
so far the best i've managed is something like inputs['Text']=pd.Series(inputs['Text'],dtype="string")
 
df.loc[k-1, "MeshNum"] should be int
 
8:19 PM
@VisheshMangla for k=1 you convert row k to string, yes? And then for k=2 you're referring to k=1 which is now string, yes?
check the type of the expressions you are using on that row, within the loop, in each iteration
 
oh
right, I totally forgot about this
thanks @AndrasDeak, nice observation
thats y the docs say modifying dataframe in iterrows is bad
 
modifying any container while you loop over it is bad
 
yeah, I got it now
 
looping over dataframes is also a bad idea usually
 
FWIW, this seems like something you should either do with dataframe and its methods, or with builtin types and looping
 
8:32 PM
@smci Mark never got back to you, did they? Although, I'm curious: could I ask why you mentioned py2.x? Would not sunset mean that we can top talking about it? Or are we trying to provide support to "those poor souls stuck in legacy hell"?
 
@MisterMiyagi When I call

def methodA(self, x, y):
# do something
How can I call a method like this?
Because when I call this (foo = methodA(x, y), I get the error "methodA() missing 1 required positional argument: 'y'"
 
Please have a look at the formatting guide
Note that as said previously, methods only make sense in relation with classes and instances. Neither seems present in your snippet.
 
I've tried to do ctrl+k to code part, but it did not work.
 
@Marco - look at the code examples here in the standard Python tutorial - note how add_trick is called.
 
@PaulMcG right.
 
8:47 PM
@Marco You generally can have only one kind of formatting per message. So you can have either code blocks or @mentions. To reply with code blocks use separate messages, one for the mention and one for the code block.
 
@MisterMiyagi right, that's why, then.
 
There is nothing wrong about using several messages instead of one big, bulky one.
 
Got it
Ty
 
@Marco is that definition inside a class?
 
Yes
I already managed to solve
But why?
 
9:01 PM
Why what?
 
Your question
 
Because your example didn't make it clear, and that definition only makes sense inside a class. And since it's a proper instance method: you have to call it on an instance of your class.
 
Right, Ty
 
@inspectorG4dget Sadly no because most of the existing content both on SO and third-party sites is 2.x or a confusing mishmash of mostly 2.x with occasional and will continue to be so years, we have to constantly fight the disinformation. So we should give a 3.x answer, but include 2.x explanation and where they differ. (We are losing the battle: look at the SEO war for the top-10 hits on any Python-related question, it's dominated by paid-traffic site, low-grade bootcamps, tutorials...)
...see any of our discussions here in chat on the whole SEO-war matter for last 2+ years. But yeah we have to be pragmatic and pick our battles, we can't fix all the ills, or even 5% of the ills...
 
 
2 hours later…
10:53 PM
@MisterMiyagi oh, thanks. Stupid space...
 
11:17 PM
cbg
 
@MisterMiyagi yeah. But I think the answer does not really help. I think the answer below is skipping the codes that might cause an error. however, I wish to have complete data, rather than data with skipped components. do you have any idea on how to solve the builtin Keyerror? thanks.
 

« first day (3621 days earlier)      last day (1319 days later) »