Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spell mistakes and code fixes on docs #467

Merged
merged 3 commits into from
Feb 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,7 @@ specification might contain:
* ``default_hierarchy_name`` – name of default hierarchy for a dimension in
the context of the cube
* ``cardinality`` – cardinality of the dimension with regards to the cube. For
example one cube might contain housands product types, another might have
example one cube might contain thousands of product types, another might have
only a few, but they both share the same `products` dimension
* ``alias`` – how the dimension is going to be called in the cube. For
example, you might have two date dimensions and name them `start_date` and
Expand Down
11 changes: 8 additions & 3 deletions doc/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This chapter describes step-by-step how to use the Cubes. You will learn:
* model preparation
* measure aggregation
* drill-down through dimensions
* how to slice&dice the dube
* how to slice & dice the cube

The tutorial contains examples for both: standard tool use and Python use. You
don't need to know Python to follow this tutorial.
Expand Down Expand Up @@ -82,8 +82,13 @@ In Python, a workspace can be configured using the `ini` configuration:
.. code-block:: python

from cubes import Workspace

workspace = Workspace(config="slicer.ini")

# initialize configparser and read "slicer.ini" configuration
from configparser import ConfigParser
config = ConfigParser()
config.read("./slicer.ini")

workspace = Workspace(config)

or programatically:

Expand Down