Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 17:54
    SaturnFromTitan commented #29405
  • 17:53
    tlaytongoogle review_requested #29134
  • 17:46
    jbrockmendel commented #30083
  • 17:46

    jorisvandenbossche on master

    CI: correct azure-36-locale slo… (compare)

  • 17:43
    jorisvandenbossche closed #30065
  • 17:43
    jorisvandenbossche commented #30065
  • 17:42
    jorisvandenbossche labeled #30081
  • 17:40
    jorisvandenbossche commented #30082
  • 17:39
    jorisvandenbossche milestoned #30063
  • 17:39
    jorisvandenbossche labeled #30063
  • 17:28
    jbrockmendel edited #30082
  • 17:28
    jbrockmendel commented #30082
  • 17:27
    jbrockmendel commented #30077
  • 17:22
    jorisvandenbossche commented #30082
  • 17:21
    jbrockmendel commented #29547
  • 17:15
    jbrockmendel opened #30085
  • 17:12
    jbrockmendel opened #30084
  • 17:05
    jbrockmendel commented #30067
  • 16:58
    hwalinga synchronize #28215
  • 16:56
    pep8speaks commented #29134
Florent Piétot
@florentpietot
Johannes Wienke
@languitar
Hi, has anyone seen that parquet files generated with the fastparquet backend cannot be read with the pyarrow implementation? pyarrow can read the parquet file but the conversion to pandas data frame seems to be messed up and fails
William Ayd
@WillAyd
Does anyone know what our rules for coercing np.datetime64 objects to pd types (Timestamp or NaTType) are?
I found the following somewhat interesting
>>> ser = pd.Series([np.datetime64("2000-01-01")], dtype=object)
>>> type(ser.iloc[0])
numpy.datetime64
>>> type(ser.to_frame().iloc[0, 0])
pandas._libs.tslibs.timestamps.Timestamp
It seems like a Series can hold np.datetime64 in an object array, but a DataFrame cannot (tried also by constructing the DataFrame directly)
Amy
@AmyHUJI
Plots are not appearing in Spyder IDE, but scripts work fine in Jupyter. I did run below scripts in Jupyter and it did work fine. Why don't plots appear in the spyder console? Do these libraries only specific to Jupyter? What should I have to follow to get the scripts in Spyder. Could someone help me with his https://www.biostars.org/p/397000/#397092
Sakitha
@Sakitha
Hi, does apply in df.apply(fun) iterate over each columns in 'df' data-frame and pass them to 'fun' function as a series?
Assaf Ben-amitai
@assaf758_twitter
hi, does anyone knows if pandas can be instruct to format dataframe prints to use engineering notation (10M, 4G etc)?
William Ayd
@WillAyd
@datapythonista or anyone else with knowledge, is there a particular reason why we customize isort to control the placement of pandas.core?
Is it purely a stylistic concern or was it driven out of circular imports
Just came to mind while reviewing #27552
Peter M. Landwehr
@pmlandwehr
Curious: does anyone have a good trivial example of an extension array for holding a fixed length numpy vector?
Jeff Reback
@jreback
@WillAyd import ordering is meant to be in ordered blocks@for consistency; it’s stylistic
William Ayd
@WillAyd
Yea isn’t that the standard isort behavior?
So we override that?
Jeff Reback
@jreback
no it’s not standard the way we order
Peter M. Landwehr
@pmlandwehr
(We are trying to move some data around after a conversion from raw numpy, so just want to be able to carry the data in the vector without it getting mangled.)
William Ayd
@WillAyd
Right so just asking if there’s an overarching reason for the way we order
Outside of pandas if I run isort it would do something like this
from pandas.api import DataFrame
from pandas.core.dtypes.inference import is_list_like
With our current config though we get this in our code base
from pandas.core.dtypes.inference import is_list_like

from pandas.api import DataFrame
The former behaviour seems more intuitive and just readable (though subjective)
Jeff Reback
@jreback
i think brock setup some rules
Gabriel Corona
@randomstuff
@jreback, Hi! I sent you an email few days ago about a possible security issue in pandas. What's the recommended course of action? Submit a public issue ?
Tom Augspurger
@TomAugspurger
Gabriel Corona
@randomstuff
@TomAugspurger , I did not find this :)
Tom Augspurger
@TomAugspurger
It’s somewhat new :)
William Ayd
@WillAyd
Has anyone used the Stale app on GitHub before?
Right now we manually go through and close stale projects. If it’s pretty simple I feel like this could be an easy thing to set up and it could help keep things clean without the “personal” aspect of someone going through and closing another persons’ PR
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