09 2022 档案
摘要:use arrow_odbc::{odbc_api::Environment, OdbcReader}; const CONNECTION_STRING: &str = "Driver={PostgreSQL ANSI(x64)}; Server=127.0.0.1;Port=5433; UID=p
阅读全文
摘要:下载地址: https://www.postgresql.org/ftp/odbc/versions/msi/ 连接字符串,一般的结构是: Driver={PostgreSQL ODBC Driver(UNICODE)};server=127.0.0.1;port=5432;database=数据库
阅读全文
摘要:extern crate r2d2; use std::{thread, io::Read}; use r2d2_postgres::{postgres::{NoTls, GenericClient, SimpleQueryRow, SimpleQueryMessage}, PostgresConn
阅读全文
摘要:#[tokio::main] async fn main()->Result<()> { let m = read_excel("abc.xlsx", 1, "Sheet1").unwrap(); let ctx = SessionContext::new(); ctx.register_table
阅读全文
摘要:// // // // 字符串 // let mut sbuilder = StringBuilder::new(100); // sbuilder.append_value("a").unwrap(); // sbuilder.append_null().unwrap(); // sbuilder
阅读全文
摘要:// Licensed to the Apache Software Foundation (ASF) under one // or more contributor license agreements. See the NOTICE file // distributed with this
阅读全文
Rust 里 String,str,Vec<u8>,Vec<char> 相互转换【Conversion between String, str, Vec<u8>, Vec<char> in Rust】
摘要:use std::str; fn main() { // 起始:Vec let src1: Vec<char> = vec!['j','{','"','i','m','m','y','"','}']; // 从 Vec 转换为String let string1: String = src1.ite
阅读全文
摘要:extern crate tokio; pub mod datatable; pub mod handle_error; pub mod common; use chrono::prelude::*; use chrono::offset::LocalResult; use datafusion::
阅读全文
摘要:document.getElementsByTagName("video")[0].playbackRate = 1.75 数字1.75代表1.75倍速 playbackRate
阅读全文
摘要:首先单击“开始运行”,在输入框中键入“regedit”打开注册表编辑器,然后在注册表编辑器左方控制台中依次单击展开 “HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows NT/Current Version/Winlogon”,再选择“编辑添加字符串值”,在数
阅读全文
摘要:源代码里要改这个位置, 增加async _channel.setMethodCallHandler((MethodCall call) { _channel.setMethodCallHandler((MethodCall call) async {
阅读全文
摘要:use std::sync::Arc; use datafusion::arrow::datatypes::{ DataType, Field, Schema}; use datafusion::arrow::record_batch::RecordBatch; use datafusion::ar
阅读全文
摘要:extern crate arrow; extern crate tokio; use std::convert::TryFrom; use std::sync::Arc; // use arrow::array::{Float64Array, Int64Array, Date32Array, Da
阅读全文
摘要:pandas索引尽量避免写成dfd.loc[0]['a'],会导致赋值失败-- 尽量写成dfd.loc[0, 'a']格式 遇到需要loc与iloc结合的混合索引办法
阅读全文
摘要:import pywifi import time from pywifi import const # WiFi扫描模块 def wifi_scan(): # 初始化wifi wifi = pywifi.PyWiFi() # 使用第一个无线网卡 interface = wifi.interface
阅读全文
摘要:布署 这是我的目录结构: . ├── Cargo.lock ├── Cargo.toml ├── code.md ├── diesel.toml ├── .env ├── migrations ├── README.md ├── src ├── static └── target 使用cargo r
阅读全文
摘要:https://www.easysap.com/index.php?q-6884.html
阅读全文