Json is a lightweight data exchange file format. In pcdl output from the TimeSeries mcdsts.get_conc_attribute() and mcdsts.get_cell_attribute() can store, and output from the pcdl command line command ...
もっといい方法があるよとChatGPTに教わったので、教わった内容を共有します。 私はデータ分析業務に携わってますが、たま~に変なデータ形式のファイルに遭遇します。こういう変なデータにあたってしまうとデータの成型に時間を要してしまうんですよね。
Python allows you to use the popular data interchange format called JSON (JavaScript Object Notation). The standard module called json can take Python data hierarchies, and convert them to string ...
オライリーのPythonチュートリアルを読んで知らなかったことを自分用メモとしてまとめておく。 対話モードでは、最後に表示した式を「_」に代入してある。 >>> price = 1000 >>> tax = 10 >>> price * (tax+100)/100 1100.0 >>> print(_) 1100.0 3.1.2 文字列 raw文字列:エスケープ用 ...