EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

Parameters Explained: mstrio for Python - Create Dataset


Community Admin

• Strategy


This article explains what each parameter is in the create_dataset () function of mstrio for Python.

Creating datasets in Strategy with Python requires the create_dataset () function from the mstrio Python package.  This function has 3 required parameters and 1 optional parameters.
Required:

  • Dataframe - this is a Pandas dataframe object from which an in-memory
  • Dataset Name - this is a string object that will create the name of the dataset
  • Table Name - this is a string object that will create the name of the table


Optional:

  • To Metric - a vector of column names from the dataframe that will be formatted as metrics in the created dataset.  By default, numeric types are formatted as metrics while character and date types are formatted as attributes.
  • To Attribute - the logical opposite of to_metric

KB442243


Comment

0 comments

Details

Knowledge Article

Published:

November 13, 2018

Last Updated:

November 13, 2018