Skip to content

Release v2.5.0 #247

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

Merged
merged 41 commits into from
Sep 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
7f10ea7
Fixed #233 - Update File, Import
Minku-Koo Aug 26, 2023
9b4f24a
Fixed #233 - Add 'Use PyArrow' checkbox
Minku-Koo Aug 27, 2023
1134d44
Merge pull request #238 from Minku-Koo/devops
minjk-bl Sep 13, 2023
1bd07bd
Move SMOTE position to ETC
Sep 13, 2023
cf2e0d6
Edit to display output on Instance
Sep 13, 2023
7416969
Set default user method's input to non-text
Sep 13, 2023
616ddb9
Add option to SMOTE
Sep 13, 2023
1e5a67b
Fix MultiSelector bug on variable mode
Sep 13, 2023
e46aa1e
Edit SMOTE actions
Sep 13, 2023
ffec38c
Add SMOTE model info
Sep 13, 2023
8001e7c
Fix feature importances code
Sep 18, 2023
112792c
Edit permutation importances and add plot
Sep 18, 2023
97457ff
Edit to consider SMOTE
Sep 18, 2023
36c75a8
Edit FileNavigation to get use multi-extensions
Sep 18, 2023
20ba6f3
Edit File to use multi-extensions
Sep 18, 2023
1b8cc36
Add orient option to barplot on Seaborn
Sep 18, 2023
c16cb89
Edit style to show scrollbar on Seaborn option page
Sep 18, 2023
bd5595b
Edit to save last action as a default run type
Sep 18, 2023
17ab970
Edit to show horizontal scrollbar on DataView
Sep 18, 2023
4368367
Edit mechanism for selecting runtype
Sep 18, 2023
b2a0cc6
Fix typo
Sep 21, 2023
d86539c
Edit to remove dist plot on multinomial
Sep 21, 2023
d8cfbf2
small changes
Sep 21, 2023
36f0e8e
Add esc shortcut to FileNavigation
Sep 21, 2023
a4ae360
Edit to remove dist plot on multinomial
Sep 21, 2023
6d79f5a
Add hover title on multiselector columns
Sep 21, 2023
795c2f5
Add txt extension
Sep 21, 2023
5a23518
Edit PopupComponent to focus on limited tags
Sep 21, 2023
a7e7328
Add to_datetime to Frame app
Sep 21, 2023
8140976
Merge pull request #244 from minjk-bl/devops
minjk-bl Sep 21, 2023
c95a6be
Edit to_datetime ui and functions on Frame app
Sep 25, 2023
daf5bab
Merge pull request #245 from minjk-bl/devops
minjk-bl Sep 25, 2023
1d9e221
Edit version updater for lab with v2.5.0
Sep 27, 2023
686e1b8
Edit widget change event's api getting prepared for lab4x
Sep 27, 2023
4b52c7c
Edit basic codemirror style
Sep 27, 2023
166bc26
Edit Import app
Sep 27, 2023
5515d60
Fix Import app
Sep 27, 2023
bdcd71a
Fix loop for preventing lab4x bug
Sep 27, 2023
a726faa
Edit lab console's markdown cell code
Sep 27, 2023
c5d08e9
Merge pull request #246 from minjk-bl/devops
minjk-bl Sep 27, 2023
9d93210
deploy visualpython 2.5.0
visualpython Sep 27, 2023
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
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Set version and replace it
#=============================================================================
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9
VP_ORG_VER=2.4.9
VP_NEW_VER=2.5.0

# update version info
grep -REil "VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh | xargs sed -i "s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"
Expand Down
4 changes: 2 additions & 2 deletions colab/build.colab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version
#=============================================================================
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9
VP_ORG_VER=2.4.9
VP_NEW_VER=2.5.0

# update version info
# update manifest version with new numbering for new version
Expand Down
2 changes: 1 addition & 1 deletion colab/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Visual Python for Colab",
"description": "GUI-based Python code generator for Google Colab as an extension",
"version": "2.4.9",
"version": "2.5.0",
"manifest_version": 3,
"icons": {
"48": "icon.png",
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/build.jupyterlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9
VP_ORG_VER=2.4.9
VP_NEW_VER=2.5.0

# update version info
grep -REil "\"version\": \"${VP_ORG_VER}\"" package.json | xargs sed -i "s/\"version\": \"${VP_ORG_VER//\./\\.}\"/\"version\": \"${VP_NEW_VER}\"/g"
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion jupyterlab/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-visualpython",
"version": "2.4.9",
"version": "2.5.0",
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
"keywords": [
"jupyter",
Expand Down
4 changes: 2 additions & 2 deletions jupyterlab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
]
version = "2.4.9"
version = "2.5.0"

[project.license]
file = "LICENSE"
Expand Down Expand Up @@ -92,7 +92,7 @@ file = [
]

[tool.tbump.version]
current = "2.4.9"
current = "2.5.0"
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"

[tool.tbump.git]
Expand Down
4 changes: 2 additions & 2 deletions jupyternotebook/build.jupyternotebook.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
#=============================================================================
# Replace Version and Basic Files
#=============================================================================
VP_ORG_VER=2.4.8
VP_NEW_VER=2.4.9
VP_ORG_VER=2.4.9
VP_NEW_VER=2.5.0

# update version info
grep -REil ${VP_ORG_VER//\./\\.} setup.py visualpython/js/com/com_Config.js visualpython/js/com/com_Const.js | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"
Expand Down
2 changes: 1 addition & 1 deletion jupyternotebook/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

setup(
name = name,
version = '2.4.9',
version = '2.5.0',
packages = find_packages(),
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],
Expand Down
2 changes: 1 addition & 1 deletion visualpython/css/component/popupComponent.css
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@
height: 25px;
}
.vp-popup-frame .vp-accordian-box {
padding: 0px 15px 15px 0px;
padding: 0px 15px 0px 0px;
}

/* resizable handler */
Expand Down
19 changes: 19 additions & 0 deletions visualpython/css/m_apps/frame.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
top: 0;
background-color: var(--vp-background-color);
border-bottom: 1px solid var(--vp-border-gray-color);
border-right: 1px solid var(--vp-border-gray-color);

text-align: right;
text-overflow: ellipsis;
Expand All @@ -168,6 +169,12 @@
/* background: var(--vp-light-gray-color); */
/* background: rgba(66, 165, 245, 0.2); */
}
.vp-fe-table-column-isnumeric {
margin-right: 5px;
vertical-align: middle;
height: 15px;
line-height: 15px;
}

/* Row Hover */
.vp-fe-table tbody tr:hover {
Expand Down Expand Up @@ -302,6 +309,18 @@
float: right;
display: inline-block;
}
/* to datetime */
.vp-inner-popup-todt-addcol-content {
display: grid;
row-gap: 5px;
max-height: 105px;
}
.vp-inner-popup-todt-addcol-head,
.vp-inner-popup-todt-addcol-item {
display: grid;
grid-template-columns: 160px 160px auto;
column-gap: 5px;
}

/* UDF Editor - CodeMirror */
.vp-fr-subset-box {
Expand Down
28 changes: 24 additions & 4 deletions visualpython/css/m_visualize/seaborn.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,28 @@
height: 100%;
}
.vp-tab-page-box.figure {
height: calc(100% - 30px);
height: 100%;
align-content: baseline;
grid-template-rows: 1fr;
overflow: hidden;
}
.vp-tab-page-box.figure > .vp-tab-page {
overflow: auto;
}
.vp-tab-page-box.plot {
height: calc(100% - 30px);
min-height: 352px;
/* height: calc(100% - 30px);
min-height: 352px; */
align-content: baseline;
height: 100%;
max-height: 100%;
overflow: scroll;
padding: 15px 15px 0px 15px;
}
.vp-chart-plot-box {
height: 100%;
display: grid;
grid-template-rows: 30px calc(100% - 30px);
overflow: auto;
}
.vp-chart-body {
display: grid;
Expand All @@ -75,6 +86,14 @@
.vp-chart-left-box,
.vp-chart-right-box {
height: 100%;
display: grid;
grid-template-rows: 30px calc(100% - 30px);
}
.vp-chart-left-box {
overflow: auto;
}
.vp-chart-right-box {
overflow: hidden;
}
.vp-chart-preview-title {
line-height: 30px;
Expand All @@ -86,7 +105,8 @@
.vp-chart-preview-box {
min-height: 352px;
width: 100%;
height: calc(100% - 30px);
/* height: calc(100% - 30px); */
height: 100%;
}
.vp-chart-preview-content:empty::after {
content: 'No preview image';
Expand Down
183 changes: 183 additions & 0 deletions visualpython/data/m_library/pandasLibrary.js
Original file line number Diff line number Diff line change
Expand Up @@ -6880,6 +6880,189 @@ define([
},
]
},
// ***
"pd_toParquet": {
"name": "To Parquet",
"library": "pandas",
"description": "DataFrame/Series to Parquet file",
"code": "${i0}.to_parquet(${path}${etc})",
"options": [
{
"name": "i0",
"label": "DataFrame",
"required": true,
"component": [
"data_select"
],
"var_type": [
"DataFrame",
"Series"
]
},
{
"name": "path",
"label": "File path/variable",
"required": true,
"type": "text"
}
]
},
"pd_readParquet": {
"name": "Read Parquet",
"library": "pandas",
"description": "Parquet to pandas object",
"code": "${o0} = pd.read_parquet(${i0}${etc})",
"options": [
{
"name": "i0",
"label": "File path/object",
"required": true,
"type": "text",
"component": [
"file"
]
},
{
"name": "o0",
"label": "Allocate to",
"output": true,
"component": [
"input"
],
"value": "vp_df"
},
]
},
"pa_readCsv": {
"name": "Read Csv as pyarrow",
"library": "pyarrow",
"description": "Csv to pandas object",
"code": "${o0} = pa.csv.read_csv(${i0}${etc}).to_pandas()",
"options": [
{
"name": "i0",
"label": "File path/object",
"required": true,
"type": "text",
"component": [
"file"
]
},
{
"name": "o0",
"label": "Allocate to",
"output": true,
"component": [
"input"
],
"value": "vp_df"
}
]
},
"pa_toCsv": {
"name": "To Csv as pyarrow",
"library": "pyarrow",
"description": "DataFrame/Series to csv file",
"code": "pa.csv.write_csv(${i0}, ${path})",
"options": [
{
"name": "i0",
"label": "DataFrame",
"required": true,
"component": [
"data_select"
],
"var_type": [
"DataFrame",
"Series"
]
},
{
"name": "path",
"label": "File path/variable",
"required": true,
"type": "text"
}
]
},
"pa_readJson": {
"name": "Read Json as pyarrow",
"library": "pyarrow",
"description": "Json to pyarrow object",
"code": "${o0} = pa.json.read_json(${i0}${etc}).to_pandas()",
"options": [
{
"name": "i0",
"label": "File path/object",
"required": true,
"type": "text",
"component": [
"file"
]
},
{
"name": "o0",
"label": "Allocate to",
"output": true,
"component": [
"input"
],
"value": "vp_df"
}
]
},
"pa_readParquet": {
"name": "Read Parquet as pyarrow",
"library": "pyarrow",
"description": "Parquet to pandas object",
"code": "${o0} = pa.parquet.read_table(${i0}${etc}).to_pandas()",
"options": [
{
"name": "i0",
"label": "File path/object",
"required": true,
"type": "text",
"component": [
"file"
]
},
{
"name": "o0",
"label": "Allocate to",
"output": true,
"component": [
"input"
],
"value": "vp_df"
}
]
},
"pa_toParquet": {
"name": "To Parquet as pyarrow",
"library": "pyarrow",
"description": "DataFrame/Series to Parquet file",
"code": "pa.parquet.write_table(${i0}, ${path})",
"options": [
{
"name": "i0",
"label": "DataFrame",
"required": true,
"component": [
"data_select"
],
"var_type": [
"DataFrame",
"Series"
]
},
{
"name": "path",
"label": "File path/variable",
"required": true,
"type": "text"
}
]
},
}

return {
Expand Down
Loading