Q12. Group Initiatives on DE&I

Q12. Group Initiatives on DE&I#

Question#

What do you think about the initiatives on DE&I of your group?

Choices#

Very Good

Good

Poor

Very Poor

No interest

Prefer no to answer

Gender Balance

Diversity

Equity

Inclusion

Note

きちんとリッカートスケールで聞いた方がよかったかもしれない。

Responses#

import pandas as pd

import titanite as ti

print(f"Pandas: {pd.__version__}")
print(f"Titanite: {ti.__version__}")
Pandas: 3.0.2
Titanite: 0.7.0
f_cfg = "../../../sandbox/config.toml"
f_csv = "../../../data/test_data/prepared_data.csv"
d = ti.Data(read_from=f_csv, load_from=f_cfg)
config = d.config()
data = d.read()
2026-05-11 20:43:36.168 | ERROR    | titanite.config:load_toml:87 - File not found: ../../../sandbox/config.toml
---------------------------------------------------------------------------
Exit                                      Traceback (most recent call last)
Cell In[2], line 4
      1 f_cfg = "../../../sandbox/config.toml"
      2 f_csv = "../../../data/test_data/prepared_data.csv"
      3 d = ti.Data(read_from=f_csv, load_from=f_cfg)
----> 4 config = d.config()
      5 data = d.read()

File ~/work/surveys/surveys/titanite/config.py:261, in Data.config(self)
    259 def config(self):
    260     c = Config(load_from=self.load_from)
--> 261     return c.load_config()

File ~/work/surveys/surveys/titanite/config.py:95, in Config.load_config(self)
     94 def load_config(self) -> dict:
---> 95     config = self.load_toml()
     96     return config

File ~/work/surveys/surveys/titanite/config.py:88, in Config.load_toml(self)
     86 if not fname.exists():
     87     logger.error(f"File not found: {fname}")
---> 88     raise typer.Exit(code=1)
     90 with fname.open("rb") as f:
     91     config = tomllib.load(f)

Exit: 
names = ["q12_genderbalance"]
bd = ti.analysis.breakdowns(data, names)
bd.graph.cols(1)
names = ["q12_diversity"]
bd = ti.analysis.breakdowns(data, names)
bd.graph.cols(1)
names = ["q12_equity"]
bd = ti.analysis.breakdowns(data, names)
bd.graph.cols(1)
names = ["q12_inclusion"]
bd = ti.analysis.breakdowns(data, names)
bd.graph.cols(1)

Breakdowns#

copied = data.copy()
# copied.info()
x = "q12_genderbalance"
y = "q17_genderbalance"

xlabel = ti.analysis.TITLES.get(x)
ylabel = ti.analysis.TITLES.get(y)

pd.crosstab(data[x], data[y]).T.hvplot.heatmap(
    width=600,
    height=600,
    rot=90,
    xlabel=xlabel,
    ylabel=ylabel,
)
x = "q12_diversity"
y = "q17_diversity"

xlabel = ti.analysis.TITLES.get(x)
ylabel = ti.analysis.TITLES.get(y)

pd.crosstab(data[x], data[y]).T.hvplot.heatmap(
    width=600,
    height=600,
    rot=90,
    xlabel=xlabel,
    ylabel=ylabel,
)
x = "q12_equity"
y = "q17_equity"

xlabel = ti.analysis.TITLES.get(x)
ylabel = ti.analysis.TITLES.get(y)

pd.crosstab(data[x], data[y]).T.hvplot.heatmap(
    width=600,
    height=600,
    rot=90,
    xlabel=xlabel,
    ylabel=ylabel,
)
x = "q12_inclusion"
y = "q17_inclusion"

xlabel = ti.analysis.TITLES.get(x)
ylabel = ti.analysis.TITLES.get(y)

pd.crosstab(data[x], data[y]).T.hvplot.heatmap(
    width=600,
    height=600,
    rot=90,
    xlabel=xlabel,
    ylabel=ylabel,
)