{"id":52281,"date":"2025-11-26T00:00:00","date_gmt":"2025-11-26T08:00:00","guid":{"rendered":"https:\/\/www.griddb-linux-griddb-linux-clone-gnbah8a6f2fwd5eb.westus-01.azurewebsites.net\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/"},"modified":"2026-02-02T01:35:35","modified_gmt":"2026-02-02T09:35:35","slug":"a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python","status":"publish","type":"post","link":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/","title":{"rendered":"A Guide to Querying GridDB Timeseries Containers with TQL and Python"},"content":{"rendered":"<p>[nbconvert url=&#8217;https:\/\/github.com\/SubhaGanapathi\/GridDB\/blob\/4c908d10a4da5dda39f92ad017073b0e07298c64\/Milestone22-A%20Guide%20to%20Querying%20GridDB%20Timeseries%20Containers%20with%20TQL%20and%20Python.ipynb&#8217;]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[nbconvert url=&#8217;https:\/\/github.com\/SubhaGanapathi\/GridDB\/blob\/4c908d10a4da5dda39f92ad017073b0e07298c64\/Milestone22-A%20Guide%20to%20Querying%20GridDB%20Timeseries%20Containers%20with%20TQL%20and%20Python.ipynb&#8217;]<\/p>\n","protected":false},"author":41,"featured_media":52282,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[121,753],"tags":[],"class_list":["post-52281","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-time-series"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Guide to Querying GridDB Timeseries Containers with TQL and Python | GridDB: Open Source Time Series Database for IoT<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Guide to Querying GridDB Timeseries Containers with TQL and Python | GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/\" \/>\n<meta property=\"og:site_name\" content=\"GridDB: Open Source Time Series Database for IoT\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/griddbcommunity\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-26T08:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-02T09:35:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.griddb.net\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1-1024x565.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"565\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"griddb-admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:site\" content=\"@GridDBCommunity\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"griddb-admin\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/\"},\"author\":{\"name\":\"griddb-admin\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#\\\/schema\\\/person\\\/9ea3a8e1df7c341ea8dae82d8a8c4865\"},\"headline\":\"A Guide to Querying GridDB Timeseries Containers with TQL and Python\",\"datePublished\":\"2025-11-26T08:00:00+00:00\",\"dateModified\":\"2026-02-02T09:35:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/\"},\"wordCount\":42,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png\",\"articleSection\":[\"Blog\",\"Time Series\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/\",\"url\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/\",\"name\":\"A Guide to Querying GridDB Timeseries Containers with TQL and Python | GridDB: Open Source Time Series Database for IoT\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/#primaryimage\"},\"thumbnailUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png\",\"datePublished\":\"2025-11-26T08:00:00+00:00\",\"dateModified\":\"2026-02-02T09:35:35+00:00\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/blog\\\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\\\/#primaryimage\",\"url\":\"\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png\",\"contentUrl\":\"\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png\",\"width\":2560,\"height\":1412},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#website\",\"url\":\"https:\\\/\\\/www.griddb.net\\\/\",\"name\":\"GridDB: Open Source Time Series Database for IoT\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.griddb.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#organization\",\"name\":\"Fixstars\",\"url\":\"https:\\\/\\\/www.griddb.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.griddb.net\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/fixstars_logo_web_tagline.png\",\"contentUrl\":\"https:\\\/\\\/www.griddb.net\\\/wp-content\\\/uploads\\\/2019\\\/04\\\/fixstars_logo_web_tagline.png\",\"width\":200,\"height\":83,\"caption\":\"Fixstars\"},\"image\":{\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/griddbcommunity\\\/\",\"https:\\\/\\\/x.com\\\/GridDBCommunity\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/griddb-by-toshiba\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.griddb.net\\\/#\\\/schema\\\/person\\\/9ea3a8e1df7c341ea8dae82d8a8c4865\",\"name\":\"griddb-admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g\",\"caption\":\"griddb-admin\"},\"url\":\"https:\\\/\\\/www.griddb.net\\\/en\\\/author\\\/griddb-admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Guide to Querying GridDB Timeseries Containers with TQL and Python | GridDB: Open Source Time Series Database for IoT","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/","og_locale":"en_US","og_type":"article","og_title":"A Guide to Querying GridDB Timeseries Containers with TQL and Python | GridDB: Open Source Time Series Database for IoT","og_url":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/","og_site_name":"GridDB: Open Source Time Series Database for IoT","article_publisher":"https:\/\/www.facebook.com\/griddbcommunity\/","article_published_time":"2025-11-26T08:00:00+00:00","article_modified_time":"2026-02-02T09:35:35+00:00","og_image":[{"width":1024,"height":565,"url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1-1024x565.png","type":"image\/png"}],"author":"griddb-admin","twitter_card":"summary_large_image","twitter_creator":"@GridDBCommunity","twitter_site":"@GridDBCommunity","twitter_misc":{"Written by":"griddb-admin"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/#article","isPartOf":{"@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/"},"author":{"name":"griddb-admin","@id":"https:\/\/www.griddb.net\/#\/schema\/person\/9ea3a8e1df7c341ea8dae82d8a8c4865"},"headline":"A Guide to Querying GridDB Timeseries Containers with TQL and Python","datePublished":"2025-11-26T08:00:00+00:00","dateModified":"2026-02-02T09:35:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/"},"wordCount":42,"commentCount":0,"publisher":{"@id":"https:\/\/www.griddb.net\/#organization"},"image":{"@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png","articleSection":["Blog","Time Series"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/","url":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/","name":"A Guide to Querying GridDB Timeseries Containers with TQL and Python | GridDB: Open Source Time Series Database for IoT","isPartOf":{"@id":"https:\/\/www.griddb.net\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/#primaryimage"},"image":{"@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/#primaryimage"},"thumbnailUrl":"\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png","datePublished":"2025-11-26T08:00:00+00:00","dateModified":"2026-02-02T09:35:35+00:00","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.griddb.net\/en\/blog\/a-guide-to-querying-griddb-timeseries-containers-with-tql-and-python\/#primaryimage","url":"\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png","contentUrl":"\/wp-content\/uploads\/2025\/12\/Gemini_Generated_Image_f62lnff62lnff62l-scaled-1.png","width":2560,"height":1412},{"@type":"WebSite","@id":"https:\/\/www.griddb.net\/#website","url":"https:\/\/www.griddb.net\/","name":"GridDB: Open Source Time Series Database for IoT","description":"","publisher":{"@id":"https:\/\/www.griddb.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.griddb.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.griddb.net\/#organization","name":"Fixstars","url":"https:\/\/www.griddb.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.griddb.net\/#\/schema\/logo\/image\/","url":"https:\/\/www.griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","contentUrl":"https:\/\/www.griddb.net\/wp-content\/uploads\/2019\/04\/fixstars_logo_web_tagline.png","width":200,"height":83,"caption":"Fixstars"},"image":{"@id":"https:\/\/www.griddb.net\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/griddbcommunity\/","https:\/\/x.com\/GridDBCommunity","https:\/\/www.linkedin.com\/company\/griddb-by-toshiba"]},{"@type":"Person","@id":"https:\/\/www.griddb.net\/#\/schema\/person\/9ea3a8e1df7c341ea8dae82d8a8c4865","name":"griddb-admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5bceca1cafc06886a7ba873e2f0a28011a1176c4dea59709f735b63ae30d0342?s=96&d=mm&r=g","caption":"griddb-admin"},"url":"https:\/\/www.griddb.net\/en\/author\/griddb-admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/52281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/comments?post=52281"}],"version-history":[{"count":1,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/52281\/revisions"}],"predecessor-version":[{"id":54994,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/posts\/52281\/revisions\/54994"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/media\/52282"}],"wp:attachment":[{"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/media?parent=52281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/categories?post=52281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.griddb.net\/en\/wp-json\/wp\/v2\/tags?post=52281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}