<jupyter_start><jupyter_text>Google Sheets - Gsheets Get data **Tags:** gsheet data naas_drivers Pre-requisite: share your Google Sheet with our service accountFor the driver to fetch the contents of your google sheet, you need to share it with the service account linked with Naas.🔗 <EMAIL>  Input  Import library<jupyter_code>from naas_drivers import gsheet<jupyter_output><empty_output><jupyter_text>Variables<jupyter_code>spreadsheet_id = "---------"<jupyter_output><empty_output><jupyter_text>Model  Connect to gsheet<jupyter_code>gsheet.connect(spreadsheet_id)<jupyter_output><empty_output><jupyter_text>Output  Get the data<jupyter_code>gsheet.get(sheet_name="TSLA")<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.09672830725462304, 'fraction_numerical': 0.0, 'mean_word_length': 8.513513513513514, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '107478', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 247, 'n_tokens_neox': 236, 'n_words': 54, 'path': 'Google Sheets/Gsheets_Get_data.ipynb', 'repo_name': 'vivard/awesome-notebooks', 'size': '743'}