mirror of
https://github.com/erg-lang/erg.git
synced 2025-09-29 12:24:45 +00:00
feat: enhance pandas
type declarations
This commit is contained in:
parent
ef5a724100
commit
20935796fd
14 changed files with 32 additions and 0 deletions
|
@ -1,5 +1,17 @@
|
||||||
|
.core = pyimport "core"
|
||||||
|
.io = pyimport "io"
|
||||||
|
.plotting = pyimport "plotting"
|
||||||
|
.util = pyimport "util"
|
||||||
|
|
||||||
{
|
{
|
||||||
.DataFrame!;
|
.DataFrame!;
|
||||||
.Series!;
|
.Series!;
|
||||||
.Index;
|
.Index;
|
||||||
} = pyimport "core/api"
|
} = pyimport "core/api"
|
||||||
|
|
||||||
|
{
|
||||||
|
.read_csv!;
|
||||||
|
} = pyimport "io/parsers"
|
||||||
|
{
|
||||||
|
.read_json!;
|
||||||
|
} = pyimport "io/json"
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
.algorithms = pyimport "algorithms"
|
||||||
|
.api = pyimport "api"
|
||||||
|
.frame = pyimport "frame"
|
||||||
|
.indexes = pyimport "indexes"
|
||||||
|
.series = pyimport "series"
|
0
crates/erg_compiler/lib/external/pandas.d/core.d/algorithms.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/core.d/algorithms.d.er
vendored
Normal file
7
crates/erg_compiler/lib/external/pandas.d/io.d/__init__.d.er
vendored
Normal file
7
crates/erg_compiler/lib/external/pandas.d/io.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.api = pyimport "api"
|
||||||
|
.clipboads = pyimport "clipboards"
|
||||||
|
.common = pyimport "common"
|
||||||
|
.excel = pyimport "excel"
|
||||||
|
.html = pyimport "html"
|
||||||
|
.json = pyimport "json"
|
||||||
|
.parsers = pyimport "parsers"
|
0
crates/erg_compiler/lib/external/pandas.d/io.d/api.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/api.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/clipboards.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/clipboards.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/common.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/common.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/excel.d/__init__.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/excel.d/__init__.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/html.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/io.d/html.d.er
vendored
Normal file
3
crates/erg_compiler/lib/external/pandas.d/io.d/json.d/__init__.d.er
vendored
Normal file
3
crates/erg_compiler/lib/external/pandas.d/io.d/json.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{DataFrame!;} = pyimport "../../core/frame"
|
||||||
|
|
||||||
|
.read_json!: (path: PathLike) => DataFrame!
|
3
crates/erg_compiler/lib/external/pandas.d/io.d/parsers.d/__init__.d.er
vendored
Normal file
3
crates/erg_compiler/lib/external/pandas.d/io.d/parsers.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{DataFrame!;} = pyimport "../../core/frame"
|
||||||
|
|
||||||
|
.read_csv!: (path: PathLike) => DataFrame!
|
0
crates/erg_compiler/lib/external/pandas.d/plotting.d/__init__.d.er
vendored
Normal file
0
crates/erg_compiler/lib/external/pandas.d/plotting.d/__init__.d.er
vendored
Normal file
1
crates/erg_compiler/lib/external/pandas.d/util.d/__init__.d.er
vendored
Normal file
1
crates/erg_compiler/lib/external/pandas.d/util.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.version = pyimport "version"
|
1
crates/erg_compiler/lib/external/pandas.d/util.d/version.d/__init__.d.er
vendored
Normal file
1
crates/erg_compiler/lib/external/pandas.d/util.d/version.d/__init__.d.er
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
.Version: ClassType
|
Loading…
Add table
Add a link
Reference in a new issue