File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,11 @@ jupyter-server==2.13.0
33ipykernel == 6.29.3
44ipython == 8.22.2
55
6+ orjson == 3.6.3
7+ pandas == 1.5.3
8+ matplotlib == 3.9.2
9+ pillow == 9.5.0
10+
611# Latest version for
712e2b_charts
813
@@ -14,12 +19,10 @@ gensim==4.3.2
1419imageio == 2.34.0
1520joblib == 1.3.2
1621librosa == 0.10.1
17- matplotlib == 3.9.2
1822nltk == 3.8.1
1923numpy == 1.26.4
2024opencv-python == 4.9.0.80
2125openpyxl == 3.1.2
22- pandas == 1.5.3
2326plotly == 5.19.0
2427pytest == 8.1.0
2528python-docx == 1.1.0
Original file line number Diff line number Diff line change 55from traitlets .traitlets import Unicode , ObjectName
66
77from e2b_charts import chart_figure_to_dict
8+ import orjson
89
910
1011def _figure_repr_e2b_chart_ (self : Figure ):
@@ -19,7 +20,7 @@ def _figure_repr_e2b_chart_(self: Figure):
1920
2021
2122def _dataframe_repr_e2b_data_ (self : pandas .DataFrame ):
22- return self .to_dict (orient = "list" )
23+ return orjson . loads ( orjson . dumps ( self .to_dict (orient = "list" )) )
2324
2425
2526class E2BDataFormatter (BaseFormatter ):
You can’t perform that action at this time.
0 commit comments