in

Examples of Askdata usage in serving different types of data


This repository contains examples of Askdata usage in serving different types of data.

Installation

pip install askdata
or
pip install -r requirements.txt

Authentication

Lets handle our authenticaton

from askdata import Askdata
askdata = Askdata()

Once your insert your account and password you’re all set

Query your data

# Load the list of the agents connected to your account as a pandas dataframe
get_agents_df = askdata.agents_dataframe()
#get one agent
agent = askdata.agent("sales_demo")
# Simple query
df = agent.ask('give me sales by countries')
df

Create a new Workspace (agent) and Create a dataset Starting from a Dataframe

# Load the list of the agents connected to your account as a pandas dataframe
agent.create_dataset(frame=df, dataset_name="Web Sources")

Askdata Demo

Check the following tutorial, to learn more about Askdata end-to-end.

GitHub – AskdataHQ/askdata-api-python-client: The best way to use Python and Askdata

The best way to use Python and Askdata. Contribute to AskdataHQ/askdata-api-python-client development by creating an account on GitHub.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

GIPHY App Key not set. Please check settings

An opinionated formatter for Android XML resources

A cross platform CLI for Flyte Written in Golang