Code Monkey home page Code Monkey logo

Comments (4)

ryo-ma avatar ryo-ma commented on May 26, 2024 1

報告ありがとうございます。
元データのカラムに変更があったことが原因となっておりました。
取り急ぎ修正しました。

Thank you for the report.
This was caused by a change in the column of the original data.
Fix hastily.

from covid19-japan-web-api.

TBNV999 avatar TBNV999 commented on May 26, 2024

そもそもREADMEに挙げられている感染者情報のJSONファイルには"date"という要素がありません。恐らく発病した日時と思われる"onset"という要素があるので"date"は要らないのではないでしょうか。

from covid19-japan-web-api.

RuiHirano avatar RuiHirano commented on May 26, 2024

自分で定義しているjson形式ではなく「https://covid19-japan-web-api.now.sh/api/v1/positives
」にアクセスした結果ずれています。

header = ('date', 'prefecture', 'residence_prefecture',
'age', 'gender', 'attribute', 'prefecture_number',
'travel_or_contact', 'detail', 'src', 'onset', 'symptom',
'death_or_discharge_date', 'comment1', 'outcome', 'outcome_src', 'comment2')
positive_detail_df = pd.read_csv(POSITIVE_DETAIL_DATA_PATH, names=header, encoding='utf-8')

のCSVカラムと合っていないのが原因だと思います。
dateを削除していただけないでしょうか?

from covid19-japan-web-api.

TBNV999 avatar TBNV999 commented on May 26, 2024

すみません、元となっているデータを確認したところ、カラムが発表日、確定日、都道府県となっていて、確定日が空データとなっていることからこの現象が発生していると思われます。dateはそのまま削除して大丈夫でしょうか。

from covid19-japan-web-api.

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.