Code Monkey home page Code Monkey logo

Comments (4)

Aloqeely avatar Aloqeely commented on June 15, 2024

Thanks for the report! This is caused by the current method of guessing the date format which just guesses the date format for the first item and applies it to the other items, and the problem here is that it cannot actually identify if you want 'full month name' (May) or 'abbreviated month name' (also May).

Currently it just guesses full month name for whenever it sees May, but, there is an effort to fix this in #58328
I recommend passing the format parameter to stop relying on the broken guessing behavior e.g. to_datetime(..., format="%a, %d %b %Y %H:%M:%S %z")

from pandas.

barenxing avatar barenxing commented on June 15, 2024

Thank you, add the format string worked.

from pandas.

anandratna348 avatar anandratna348 commented on June 15, 2024

Screenshot_2024-05-04-14-44-24-126_com android chrome
Screenshot_2024-05-04-14-44-28-073_com android chrome
Your code is work, i check this . Please see the above images.

from pandas.

Aloqeely avatar Aloqeely commented on June 15, 2024

Closing as duplicate, feel free to continue discussion in the original issue.

from pandas.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.