Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 10:23
    pep8speaks commented #29022
  • 10:23
    iamrajhans synchronize #29022
  • 10:16
    simonjayhawkins milestoned #29022
  • 10:13
    randomstuff synchronize #28459
  • 10:12
    pep8speaks commented #29022
  • 10:12
    iamrajhans synchronize #29022
  • 10:08
    randomstuff synchronize #28459
  • 10:05
    simonjayhawkins milestoned #29021
  • 10:01
    jjlkant synchronize #29014
  • 09:44
    simonjayhawkins milestoned #29016
  • 09:43
    K3UL opened #29024
  • 09:41
    topper-123 commented #27242
  • 09:32
    PrimozGodec commented #28992
  • 09:31
    PrimozGodec commented #28992
  • 09:30
    PrimozGodec edited #28992
  • 09:23
    simonjayhawkins milestoned #29014
  • 09:13
    topper-123 commented #27242
  • 09:11
    topper-123 commented #27242
  • 09:10
    topper-123 commented #27242
  • 09:09
    topper-123 commented #27242
Tom Augspurger
@TomAugspurger
I think we’ve talked about it before. I’m -0.5 on bots closing issues, just because I’ve been on the other end of issues going stale and being closed becuase the maintainer hasn’t responded yet.
William Ayd
@WillAyd
Do you think that’s a problem with pandas?
I guess the counter to that is that I feel like more often than not in pandas a maintainer is going through and pinging for an update (exceptions certainly apply)
So automating could take save a little on the review side
Tom Augspurger
@TomAugspurger
Oh, I missed that this was for PRs. Are you aware of any bots that could check with the last comment was by a pandas maintainer / requested changes? Ideally we would only auto-close when we were the last one to comment.
Kolmar Kafran
@kafran
Guys, I have a large table in a database and a DataFrame. Is it possible to use a key in the DataFrame to filter the table in the database in the SQL query?
Like an inner join between the DataFrame and the DataBase
William Ayd
@WillAyd
@TomAugspurger I don’t think so but looks like the Stale bot has a daysUntilStale and daysUntilClose, so the former can be set to notify everyone (both users and maintainers) that something has gone stale
I think helpful for both sides
William Ayd
@WillAyd
Anyone else seeing the SSL: CERTIFICATE_VERIFY_FAILED in CI for the Docs build?
Joris Van den Bossche
@jorisvandenbossche
yes, it has been failing in some PRs I saw
Tom Augspurger
@TomAugspurger
I’m not able to reproduce locally though. I think the only URL we’re fetching in that file is the file is the tips dataset from GitHub, right?
Joris Van den Bossche
@jorisvandenbossche
I am also seeing similar failures on geopandas CI tests that fetch urls
so probably a problem at Travis CI
William Ayd
@WillAyd
Failing for us on the Azure build so I don’t think just a Travis thing
William Ayd
@WillAyd
So maybe something with the cert bundle not downloading as part of CI?
Behnaz khazai
@BK9966_twitter
hi, is there anyone familiar with PyDeface ?
I would really appreciate if you can reach out, I will be active on this twitter account
Joris Van den Bossche
@jorisvandenbossche
@WillAyd it's maybe a certifi/ca-certificates update that is needed (eg on conda-forge they did an update release last night)
Loïc Estève
@lesteve
I thought the same but ended up putting the blame on openssl=1.1.1d (not 100% sure). I opened ContinuumIO/anaconda-issues#11274.
(openssl 1.1.1d is not available on conda-forge which I think is the reason why there is no problem if you install from conda-forge)
Joris Van den Bossche
@jorisvandenbossche
thanks for opening that issue!
it's indeed only happening on envs that use defaults (not conda-forge)
but not on all envs using default
The failing build has
openssl 1.1.1d h7b6447c_0
while the non-failing build from defaults has
openssl 1.0.2s h7b6447c_0
so that seems to confirm what you posted in the issue
Loïc Estève
@lesteve
scikit-learn approach is pinning openssl=1.1.1c which seems reasonable
as a temporary work-around
Joris Van den Bossche
@jorisvandenbossche
Trying that for pandas as well, thanks
Kolmar Kafran
@kafran
Whats that site its a big white area where people copy and paste code live in the meetings?
PatrykJacak
@PatrykJacak
Hello
Someone is here? :)
I have a latest version Pandas: 0.25.0 and I have a problem with pandas.DataFrame.loc - I don't know why however i don't have that
Gabriel Corona
@randomstuff
What's your problem ?
londheshubham
@londheshubham
Whats the problem?
PatrykJacak
@PatrykJacak
I don't now why however my installation of Pandas have missing this function
image.png
For example :)
PatrykJacak
@PatrykJacak
Okay, however how I can use this?
Gabriel Corona
@randomstuff
Just try using it anyway
PatrykJacak
@PatrykJacak
Okay
I will try
PatrykJacak
@PatrykJacak
It works :) thank you
matrixbot
@matrixbot

Florian Hi there, can anyone help me with a seamingly simple task?

I have the following DataFrame:

   Participant  Time  Value
0            1     1      1
1            1     2      2
2            1     3      3
3            2     1      2
4            2     2      5
5            2     3      7

And now I want to subtract the Value at Time==1 from the Value at Time==2 and Time==3, such that the DataFrame becomes:

   Participant  Time  Value
0            1     1      0
1            1     2      1
2            1     3      2
3            2     1      0
4            2     2      3
5            2     3      5

I just cannot figure out how to do this :-)

matrixbot
@matrixbot

kir0ul > <@fladd:matrix.org> Hi there, can anyone help me with a seamingly simple task?

I have the following DataFrame:

   Participant  Time  Value
0            1     1      1
1            1     2      2
2            1     3      3
3            2     1      2
4            2     2      5
5            2     3      7

And now I want to subtract the Value at Time==1 from the Value at Time==2 and Time==3, such that the DataFrame becomes:

   Participant  Time  Value
0            1     1      0
1            1     2      1
2            1     3      2
3            2     1      0
4            2     2      3
5            2     3      5

I just cannot figure out how to do this :-)

Maybe this can help?
https://stackoverflow.com/questions/34855859/is-there-a-way-in-pandas-to-use-previous-row-value-in-dataframe-apply-when-previ

matrixbot
@matrixbot

Florian kir0ul: Thanks for the pointer. However, this does not seem to work. I do:

for i in range(1, len(data)):
    time = data.loc[i, "Time"]
    if time != 1:
        data.loc[i, "Time"] = data.loc[i, "Time"] - data.loc[i-time-1, "Time"]

But I get the error:

KeyError: 'the label [-2] is not in the [index]'
Florian ha, paranthesis error :-)