github.com/goplus/llgo@v0.8.3/py/pandas/pandas.go (about) 1 /* 2 * Copyright (c) 2024 The GoPlus Authors (goplus.org). All rights reserved. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package pandas 18 19 import ( 20 _ "unsafe" 21 22 "github.com/goplus/llgo/py" 23 ) 24 25 // https://pandas.pydata.org/docs/reference/index.html 26 27 // read_excel(io, sheet_name=0, *, header=0, names=None, index_col=None, usecols=None, 28 // dtype=None, engine=None, converters=None, true_values=None, false_values=None, 29 // skiprows=None, nrows=None, na_values=None, keep_default_na=True, na_filter=True, 30 // verbose=False, parse_dates=False, date_parser=_NoDefault.no_default, date_format=None, 31 // thousands=None, decimal='.', comment=None, skipfooter=0, storage_options=None, 32 // dtype_backend=_NoDefault.no_default, engine_kwargs=None) 33 // 34 // See https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html 35 // 36 //go:linkname ReadExcel py.read_excel 37 func ReadExcel(io, sheetName *py.Object) *py.Object 38 39 // See https://pandas.pydata.org/docs/reference/api/pandas.read_csv.html 40 // 41 //go:linkname ReadCsv py.read_csv 42 func ReadCsv(filepathOrBuffer *py.Object) *py.Object 43 44 // eval(expr, parser='pandas', engine=None, local_dict=None, global_dict=None, resolvers=(), 45 // level=0, target=None, inplace=False) 46 // 47 // See https://pandas.pydata.org/docs/reference/api/pandas.eval.html#pandas.eval 48 // 49 //go:linkname Eval py.eval 50 func Eval(expr, parser, engine, localDict, globalDict, resolvers, level, target, inplace *py.Object) *py.Object 51 52 // show_versions(as_json=False) 53 // 54 // See https://pandas.pydata.org/docs/reference/api/pandas.show_versions.html 55 // 56 //go:linkname ShowVersions py.show_versions 57 func ShowVersions(asJson *py.Object) *py.Object