摘要:
zzh@ZZHPC:~$ pip install langchain Collecting langchain Downloading langchain-0.3.18-py3-none-any.whl.metadata (7.8 kB) Collecting langchain-core<1.0.
阅读全文
posted @ 2025-02-11 20:39
ZhangZhihuiAAA
阅读(26)
推荐(0)
摘要:
zzh@ZZHPC:~$ which pip /home/zzh/venvs/zpy313/bin/pip zzh@ZZHPC:~$ pip install chromadb Collecting chromadb Downloading chromadb-0.6.3-py3-none-any.wh
阅读全文
posted @ 2025-02-11 12:06
ZhangZhihuiAAA
阅读(27)
推荐(0)
摘要:
Analyze and Optimize sqlite_stat1 is an internal table. It is not in the output of .tables. Suggested Pragmas Faster inserts Method 1 (a bit risky): M
阅读全文
posted @ 2025-02-11 10:39
ZhangZhihuiAAA
阅读(12)
推荐(0)
摘要:
Flexible Typing Type is at cell level. Sqlite will convert the type to the declared type if it can without losing data. 5 data types: Type Affinity Co
阅读全文
posted @ 2025-02-10 16:01
ZhangZhihuiAAA
阅读(17)
推荐(0)
摘要:
zzh@ZZHPC:~$ sudo apt install sqlite3 zzh@ZZHPC:~$ sqlite3 SQLite version 3.37.2 2022-01-06 13:25:41 Enter ".help" for usage hints. Connected to a tra
阅读全文
posted @ 2025-02-10 13:29
ZhangZhihuiAAA
阅读(21)
推荐(0)
摘要:
In Databricks Community Edition, you cannot use Workflows because it is a premium feature that requires an upgraded subscription. This chapter and the
阅读全文
posted @ 2025-02-09 21:02
ZhangZhihuiAAA
阅读(11)
推荐(0)
摘要:
from delta import configure_spark_with_delta_pip from pyspark.sql import SparkSession from pyspark.sql.functions import when, rand import timeit build
阅读全文
posted @ 2025-02-09 16:09
ZhangZhihuiAAA
阅读(36)
推荐(0)
摘要:
from pyspark.sql import SparkSession # Create a new SparkSession spark = (SparkSession .builder .appName("monitor-spark-ui") .master("spark://ZZHPC:70
阅读全文
posted @ 2025-02-08 13:15
ZhangZhihuiAAA
阅读(38)
推荐(0)
摘要:
from delta import configure_spark_with_delta_pip, DeltaTable from pyspark.sql import SparkSession from pyspark.sql.functions import col, from_json fro
阅读全文
posted @ 2025-02-07 18:21
ZhangZhihuiAAA
阅读(17)
推荐(0)
摘要:
nc -lk 9999 from pyspark.sql import SparkSession from pyspark.sql.functions import explode, split spark = (SparkSession.builder .appName("config-strea
阅读全文
posted @ 2025-02-05 16:34
ZhangZhihuiAAA
阅读(17)
推荐(0)