« first day (3903 days earlier)      last day (126 days later) » 

7:29 AM
@PrabhjotSingh Thank you for the helpful reference.
What's happening with DHFL?
 
7:59 AM
@FaheemMitha dataframe.iloc[::-1, :] might be clearer just a bit. But you still need to know how slices (or at least reversed slices) work in Python.
 
8:56 AM
@AndrasDeak Why would that be clearer?
The answer by Greg Hewgill is quite clear and helpful. The relevant para is
Slice objects also behave slightly differently depending on the number of arguments, similarly to range(), i.e. both slice(stop) and slice(start, stop[, step]) are supported. To skip specifying a given argument, one might use None, so that e.g. a[start:] is equivalent to a[slice(start, None)] or a[::-1] is equivalent to a[slice(None, None, -1)].
Fetched 58.3 MB in 3min 41s (263 kB/s)
And that's all text, as far as I know.
Debian is now so big that just fetching package information is the size of a small library.
2
 
 
2 hours later…
11:21 AM
@FaheemMitha because dataframes are 2d objects, and [::-1, :] might make it more obvious that you're operating on rows while keeping column order intact
 
12:12 PM
@AndrasDeak True, it's not obvious that the slicing is operating on rows, in the case of a Pandas dataframe.
 
12:29 PM
it matches the basic behaviour of python and numpy, but yeah
 
 
1 hour later…
1:37 PM
May I ask for a final close vote on
0
Q: Capture `active (running)` from the output of a `systemctl` command

JYOTI PRAKASH MALLICKCurrently an active service(telegraf) is running on a machine. Want to automate few steps in which the initial is to check the service is running from a shell script. I am running systemctl status telegraf command to check the status of the service manually. and the output is, telegraf.service - ...

(assuming someone else agrees that it should be closed)
 
would that I could
 
@StephenKitt Voted
 
@Archemar thanks!
 
 
3 hours later…
5:12 PM
Thanks @JeffSchaller
2016 you just helped me with a problem
 
5:31 PM
You're welcome!
 

« first day (3903 days earlier)      last day (126 days later) »