Commit 1e9bffab authored by mouadh's avatar mouadh

change some non pythonic methods names

parent d2d20736
......@@ -12,7 +12,7 @@ class XmlaExecuteTools():
def __init__(self, executer):
self.executer = executer
def split_DataFrame(self, mdx_execution_result):
def split_dataFrame(self, mdx_execution_result):
"""
Split DataFrame into multiple ones by dimension
example:
......@@ -248,7 +248,7 @@ class XmlaExecuteTools():
"""
# TODO must be OPTIMIZED every time!!!!!
dfs = self.split_DataFrame(mdx_execution_result)
dfs = self.split_dataFrame(mdx_execution_result)
if mdx_execution_result['columns_desc'][
'rows'] and mdx_execution_result['columns_desc']['columns']:
......
......@@ -7,7 +7,7 @@ import plotly
import plotly.graph_objs as go
class graphs:
class Graphs:
"""
Manage graphs for the web clients
"""
......
......@@ -18,7 +18,7 @@ from olapy.web.pivottable import pivot_ui
from ..core.mdx.executor.execute import MdxEngine
from ..web import app, login_manager
from ..web.logger import Logs
from ..web.stats_utils import graphs
from ..web.stats_utils import Graphs
from .forms import LoginForm, QueryForm
from .models import User
......@@ -234,7 +234,7 @@ def export_file(type):
@login_required
def stats():
ex = MdxEngine(CUBE)
graph = graphs()
graph = Graphs()
columns = list(
itertools.chain.from_iterable([[column for column in df.columns]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment