-
Notifications
You must be signed in to change notification settings - Fork 2
/
utilities_namespace.py
44 lines (30 loc) · 1001 Bytes
/
utilities_namespace.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
from copy import deepcopy, copy
from itertools import chain
from functools import reduce
from statistics import mean
from types import SimpleNamespace
import warnings
warnings.simplefilter(action='ignore', category=FutureWarning)
from helpers.r import *
import pandas as pd
from data_frames import MyDataFrame as DataFrame
from jupyter_helpers.table import display_table
from jupyter_helpers.source import embed_source_styling, show_source
from jupyter_helpers.namespace import Namespace, NeatNamespace, HorizontalNamespace
import jupyter_helpers.rpy2_autocompletion
from IPython.display import HTML
from pandas import read_table, read_csv, concat, Series
import numpy as np
import seaborn as sns
from matplotlib import pyplot
from typing import Iterable
from tqdm.auto import tqdm
MyDataFrame = DataFrame
pd.options.display.max_rows = 10
pd.options.display.max_columns = 10
show_table = display_table
def keys(obj):
return list(obj.keys())
embed_source_styling()
T = True
F = False