This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
from piecash import open_book | |
from datetime import date | |
import pandas as pd | |
import matplotlib.pyplot as plt | |
def main(): | |
with open_book('example.gnucash', readonly=True) as book: | |
df = book.splits_df( | |
additional_fields=["account.type"]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function inportJsonByGdd2011() { | |
var data = UrlFetchApp.fetch("http://gdd-2011-quiz-japan.appspot.com/apps_script/data?param=3800952189735731210"); | |
// var data = UrlFetchApp.fetch("http://gdd-2011-quiz-japan.appspot.com/apps_script/sample"); | |
var json = Utilities.jsonParse(data.getContentText()); | |
var ss = SpreadsheetApp.getActiveSpreadsheet(); | |
for(var i in json){ | |
var city = json[i]; | |
ss.insertSheet(city["city_name"]); | |
var sheet = ss.getActiveSheet(); |