diff --git a/doc/source/conf.py b/doc/source/conf.py index 5538fe972..18a00ed7f 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -5,7 +5,7 @@ # -- Project information ----------------------------------------------------- project = "Xorbits" -copyright = "2022, Xprobe-inc" +copyright = "2022-2023, Xprobe Inc." author = "Xprobe-inc" from xorbits import __version__ @@ -29,6 +29,10 @@ templates_path = ["_templates"] exclude_patterns = [] +# i18n +locale_dirs = ['locale/'] # path is example but recommended. +gettext_compact = False # optional + # -- Options for HTML output ------------------------------------------------- html_theme = "pydata_sphinx_theme" diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/deployment/cloud.po b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/cloud.po new file mode 100644 index 000000000..24d64bf4e --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/cloud.po @@ -0,0 +1,90 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/deployment/cloud.rst:5 +msgid "Cloud deployment" +msgstr "" + +#: ../../source/deployment/cloud.rst:8 +msgid "Prerequisites" +msgstr "" + +#: ../../source/deployment/cloud.rst:9 +msgid "Currently, we support deploying Xorbits on an existing Amazon EKS cluster." +msgstr "" + +#: ../../source/deployment/cloud.rst:11 +msgid "" +"Install Xorbits on the machine for Amazon EKS cluster management. Refer " +"to :ref:`installation document `." +msgstr "" + +#: ../../source/deployment/cloud.rst:15 +msgid "Amazon EKS" +msgstr "" + +#: ../../source/deployment/cloud.rst:16 +msgid "" +"Firstly, make sure your EKS cluster can access `our Dockerhub " +"`_ to pull the " +"Xorbits image." +msgstr "" + +#: ../../source/deployment/cloud.rst:18 +msgid "" +"Secondly, install the `AWS Load Balancer Controller " +"`_." +msgstr "" + +#: ../../source/deployment/cloud.rst:20 +msgid "Then, deploy Xorbits cluster, for example:" +msgstr "" + +#: ../../source/deployment/cloud.rst:29 +msgid "" +"Note that the option ``cluster_type`` of the function ``new_cluster`` has" +" default value ``auto``, which means that Xorbits will detect the " +"``kubectl`` context automatically. Please make sure ``kubectl`` is using " +"the correct EKS context." +msgstr "" + +#: ../../source/deployment/cloud.rst:32 +msgid "" +"You should be able to see ``Xorbits endpoint " +"http://:80 is ready!`` soon, and you can access the " +"web UI of your Xorbits cluster using the endpoint." +msgstr "" + +#: ../../source/deployment/cloud.rst:35 +msgid "" +"Refer :ref:`Kubernetes deployment ` to deploy Xorbits " +"with your own image." +msgstr "" + +#: ../../source/deployment/cloud.rst:37 +msgid "" +"``new_cluster`` api refers to " +":meth:`xorbits.deploy.kubernetes.client.new_cluster`." +msgstr "" + +#: ../../source/deployment/cloud.rst:39 +msgid "To verify the cluster:" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/deployment/cluster.po b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/cluster.po new file mode 100644 index 000000000..b509ac686 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/cluster.po @@ -0,0 +1,269 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/deployment/cluster.rst:5 +msgid "Cluster deployment" +msgstr "" + +#: ../../source/deployment/cluster.rst:7 +msgid "" +"If you have some machines either on the cloud or not, and you want to " +"deploy Xorbits via command lines, you can refer to this documentation." +msgstr "" + +#: ../../source/deployment/cluster.rst:11 +msgid "Installation" +msgstr "" + +#: ../../source/deployment/cluster.rst:13 +msgid "" +"First, ensure Xorbits is correctly installed on each machine, if not, see" +" :ref:`installation document `." +msgstr "" + +#: ../../source/deployment/cluster.rst:16 +msgid "Starting Supervisor" +msgstr "" + +#: ../../source/deployment/cluster.rst:18 +msgid "" +"Among the machines, pick at least one as the supervisor which ships with " +"a web service as well, starting supervisor via command:" +msgstr "" + +#: ../../source/deployment/cluster.rst:25 +#: ../../source/deployment/cluster.rst:46 +msgid "Or using ``python -m``:" +msgstr "" + +#: ../../source/deployment/cluster.rst:31 +msgid "`` is used for creating a web service, which is used for:" +msgstr "" + +#: ../../source/deployment/cluster.rst:33 +msgid "" +"Provide a web UI to show cluster status and detailed information of " +"submitted tasks." +msgstr "" + +#: ../../source/deployment/cluster.rst:34 +msgid "" +"Accept connections from clients when users call " +"`xorbits.init(\":\")` to connect to a cluster." +msgstr "" + +#: ../../source/deployment/cluster.rst:38 +msgid "Starting Workers" +msgstr "" + +#: ../../source/deployment/cluster.rst:40 +msgid "The rest of the machines can be started as workers via command:" +msgstr "" + +#: ../../source/deployment/cluster.rst:53 +msgid "Connecting to Created Cluster" +msgstr "" + +#: ../../source/deployment/cluster.rst:55 +msgid "" +"Now, you can connect to the supervisor from anywhere that can run Python " +"code." +msgstr "" + +#: ../../source/deployment/cluster.rst:63 +msgid "" +"Replace the ```` with the supervisor IP that you just " +"specified and ```` with the supervisor web port." +msgstr "" + +#: ../../source/deployment/cluster.rst:67 +msgid "Xorbits Web UI" +msgstr "" + +#: ../../source/deployment/cluster.rst:69 +msgid "" +"You can open a web browser and type " +"``http://:`` to open Xorbits Web UI " +"to look up resource usage of workers and execution progress of submitted " +"tasks." +msgstr "" + +#: ../../source/deployment/cluster.rst:73 +msgid "Command Line Options" +msgstr "" + +#: ../../source/deployment/cluster.rst:76 +msgid "Common Options" +msgstr "" + +#: ../../source/deployment/cluster.rst:78 +msgid "Common Command line options are listed below." +msgstr "" + +#: ../../source/deployment/cluster.rst:81 +#: ../../source/deployment/cluster.rst:107 +#: ../../source/deployment/cluster.rst:116 +msgid "Argument" +msgstr "" + +#: ../../source/deployment/cluster.rst:81 +#: ../../source/deployment/cluster.rst:107 +#: ../../source/deployment/cluster.rst:116 +msgid "Description" +msgstr "" + +#: ../../source/deployment/cluster.rst:83 +msgid "``-H``" +msgstr "" + +#: ../../source/deployment/cluster.rst:83 +msgid "Service IP binding, ``0.0.0.0`` by default" +msgstr "" + +#: ../../source/deployment/cluster.rst:85 +msgid "``-p``" +msgstr "" + +#: ../../source/deployment/cluster.rst:85 +msgid "Port of the service. If absent, a randomized port will be used" +msgstr "" + +#: ../../source/deployment/cluster.rst:87 +msgid "``-f``" +msgstr "" + +#: ../../source/deployment/cluster.rst:87 +msgid "Path to service configuration file. Absent when use default configuration." +msgstr "" + +#: ../../source/deployment/cluster.rst:90 +msgid "``-s``" +msgstr "" + +#: ../../source/deployment/cluster.rst:90 +msgid "" +"List of supervisor endpoints, separated by commas. Useful for workers to " +"spot supervisors, or when you want to run more than one supervisor" +msgstr "" + +#: ../../source/deployment/cluster.rst:94 +msgid "``--log-level``" +msgstr "" + +#: ../../source/deployment/cluster.rst:94 +msgid "Log level, can be ``debug``, ``info``, ``warning``, ``error``" +msgstr "" + +#: ../../source/deployment/cluster.rst:96 +msgid "``--log-format``" +msgstr "" + +#: ../../source/deployment/cluster.rst:96 +msgid "Log format, can be Python logging format" +msgstr "" + +#: ../../source/deployment/cluster.rst:98 +msgid "``--log-conf``" +msgstr "" + +#: ../../source/deployment/cluster.rst:98 +msgid "Python logging configuration file, ``logging.conf`` by default" +msgstr "" + +#: ../../source/deployment/cluster.rst:100 +msgid "``--use-uvloop``" +msgstr "" + +#: ../../source/deployment/cluster.rst:100 +msgid "Whether to use ``uvloop`` to accelerate, ``auto`` by default" +msgstr "" + +#: ../../source/deployment/cluster.rst:104 +msgid "Extra Options for Supervisors" +msgstr "" + +#: ../../source/deployment/cluster.rst:109 +msgid "``-w``" +msgstr "" + +#: ../../source/deployment/cluster.rst:109 +msgid "Port of web service in supervisor" +msgstr "" + +#: ../../source/deployment/cluster.rst:113 +msgid "Extra Options for Workers" +msgstr "" + +#: ../../source/deployment/cluster.rst:118 +msgid "``--n-cpu``" +msgstr "" + +#: ../../source/deployment/cluster.rst:118 +msgid "" +"Number of CPU cores to use. If absent, the value will be the available " +"number of cores" +msgstr "" + +#: ../../source/deployment/cluster.rst:121 +msgid "``--n-io-process``" +msgstr "" + +#: ../../source/deployment/cluster.rst:121 +msgid "Number of IO processes for network operations. 1 by default" +msgstr "" + +#: ../../source/deployment/cluster.rst:123 +msgid "``--cuda-devices``" +msgstr "" + +#: ../../source/deployment/cluster.rst:123 +msgid "" +"Index of CUDA devices to use. If not specified, all devices will be used." +" Specifying an empty string will ignore all devices" +msgstr "" + +#: ../../source/deployment/cluster.rst:129 +msgid "Example" +msgstr "" + +#: ../../source/deployment/cluster.rst:131 +msgid "" +"For instance, if you want to start a Xorbits cluster with one supervisor " +"and two workers, you can run commands below (memory and CPU tunings are " +"omitted):" +msgstr "" + +#: ../../source/deployment/cluster.rst:134 +msgid "On Supervisor (192.168.1.10):" +msgstr "" + +#: ../../source/deployment/cluster.rst:140 +msgid "On Worker 1 (192.168.1.20):" +msgstr "" + +#: ../../source/deployment/cluster.rst:146 +msgid "On Worker 2 (192.168.1.21):" +msgstr "" + +#: ../../source/deployment/cluster.rst:152 +msgid "" +"On a client which is able to connect to supervisor, you can run the " +"Python code below to verify:" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/deployment/index.po b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/index.po new file mode 100644 index 000000000..0363ce48f --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/index.po @@ -0,0 +1,23 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/deployment/index.rst:5 +msgid "Deployment" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/deployment/kubernetes.po b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/kubernetes.po new file mode 100644 index 000000000..65f01afed --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/kubernetes.po @@ -0,0 +1,125 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/deployment/kubernetes.rst:5 +msgid "Kubernetes deployment" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:8 +msgid "Prerequisites" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:9 +msgid "" +"Install Xorbits on the machine where you plan to run the kubernetes " +"deploy code. Refer to :ref:`installation document `." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:13 +msgid "Kubernetes" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:14 +msgid "" +"Make sure a K8s cluster is properly installed on your machine(s), and " +"enable the `ingress service `_." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:16 +msgid "" +"For example, if you use Minikube, start a cluster and enable ingress like" +" this:" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:23 +msgid "" +"Follow `minikube documentation `_ to verify whether ingress is " +"enabled correctly." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:25 +msgid "" +"For MacOS with docker driver, `docker-mac-net-connect " +"`_ is needed due to its" +" `limitation `_:" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:36 +msgid "Then deploy Xorbits cluster, for example:" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:45 +msgid "Please make sure ``kubectl`` uses your kubernetes cluster context." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:47 +msgid "" +"You should be able to see ``Xorbits endpoint " +"http://:80 is ready!`` soon, and you can access the " +"web UI of your Xorbits cluster using the endpoint." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:50 +msgid "" +"``new_cluster`` api refers to " +":meth:`xorbits.deploy.kubernetes.client.new_cluster`." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:52 +msgid "To verify the cluster:" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:63 +msgid "Docker Image" +msgstr "" + +#: ../../source/deployment/kubernetes.rst:64 +msgid "" +"By default, the image tagged by ``xprobe/xorbits:`` on " +"`our Dockerhub " +"`_ is used in " +"the kubernetes deployment. Each released version of Xorbits has its " +"image, distinguished by the ````." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:67 +msgid "" +"If you need to build an image from source, the related Dockerfiles exists" +" at `this position `_ for reference. You " +"can follow the `Docker document " +"`_ to build " +"your own Xorbits image." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:70 +msgid "" +"After you build your own image, push it to a image repository accessible " +"by your K8s cluster, e.g. your own DockerHub namespace." +msgstr "" + +#: ../../source/deployment/kubernetes.rst:72 +msgid "" +"Finally, specify your own image during the deployment process through the" +" ``image`` option of the " +":meth:`xorbits.deploy.kubernetes.client.new_cluster` api." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/deployment/local.po b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/local.po new file mode 100644 index 000000000..863e3d192 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/deployment/local.po @@ -0,0 +1,63 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/deployment/local.rst:5 +msgid "Local deployment" +msgstr "" + +#: ../../source/deployment/local.rst:7 +msgid "" +"Local deployment means that you can run Xorbits on your local machine, " +"e.g. laptop." +msgstr "" + +#: ../../source/deployment/local.rst:10 +msgid "Installation" +msgstr "" + +#: ../../source/deployment/local.rst:12 +msgid "" +"First, ensure Xorbits is correctly installed, if not, see " +":ref:`installation document `." +msgstr "" + +#: ../../source/deployment/local.rst:15 +msgid "Init Xorbits runtime optionally" +msgstr "" + +#: ../../source/deployment/local.rst:17 +msgid "" +"Secondly, you don't have to, but you can optionally init an Xorbits " +"runtime manually." +msgstr "" + +#: ../../source/deployment/local.rst:24 +msgid "" +"Or Xorbits will try to init for you in the background when the first time" +" some computation is triggered." +msgstr "" + +#: ../../source/deployment/local.rst:28 +msgid "" +"Initialization of Xorbits may take a while to accomplish, if you try to " +"measure performance of your code and so forth, you'd better init Xorbits " +"runtime in advance, or the time of init may be accounted into execution " +"time which may be distracted." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/index.po b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/index.po new file mode 100644 index 000000000..d6e5d2479 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/index.po @@ -0,0 +1,23 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/getting_started/index.rst:5 +msgid "Getting Started" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/installation.po b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/installation.po new file mode 100644 index 000000000..041f1d6a5 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/installation.po @@ -0,0 +1,211 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/getting_started/installation.rst:5 +msgid "Installation" +msgstr "" + +#: ../../source/getting_started/installation.rst:7 +msgid "" +"Xorbits can be installed via pip from `PyPI " +"`__." +msgstr "" + +#: ../../source/getting_started/installation.rst:15 +msgid "Python version support" +msgstr "" + +#: ../../source/getting_started/installation.rst:17 +msgid "Officially Python 3,7, 3.8, 3.9 and 3.10." +msgstr "" + +#: ../../source/getting_started/installation.rst:20 +msgid "Dependencies" +msgstr "" + +#: ../../source/getting_started/installation.rst:23 +msgid "Package" +msgstr "" + +#: ../../source/getting_started/installation.rst:23 +msgid "Minimum supported version" +msgstr "" + +#: ../../source/getting_started/installation.rst:25 +msgid "`NumPy `__" +msgstr "" + +#: ../../source/getting_started/installation.rst:25 +msgid "1.20.3" +msgstr "" + +#: ../../source/getting_started/installation.rst:26 +msgid "`pandas `__" +msgstr "" + +#: ../../source/getting_started/installation.rst:26 +#: ../../source/getting_started/installation.rst:27 +msgid "1.0.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:27 +msgid "`scipy `__" +msgstr "" + +#: ../../source/getting_started/installation.rst:28 +msgid "`scikit-learn `__" +msgstr "" + +#: ../../source/getting_started/installation.rst:28 +msgid "0.20" +msgstr "" + +#: ../../source/getting_started/installation.rst:29 +msgid "cloudpickle" +msgstr "" + +#: ../../source/getting_started/installation.rst:29 +msgid "1.5.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:30 +msgid "pyyaml" +msgstr "" + +#: ../../source/getting_started/installation.rst:30 +msgid "5.1" +msgstr "" + +#: ../../source/getting_started/installation.rst:31 +msgid "psutil" +msgstr "" + +#: ../../source/getting_started/installation.rst:31 +msgid "5.9.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:32 +msgid "pickle5 (for python version < 3.8)" +msgstr "" + +#: ../../source/getting_started/installation.rst:32 +msgid "0.0.1" +msgstr "" + +#: ../../source/getting_started/installation.rst:33 +msgid "shared-memory38 (for python version < 3.8)" +msgstr "" + +#: ../../source/getting_started/installation.rst:33 +msgid "0.1.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:34 +msgid "tornado" +msgstr "" + +#: ../../source/getting_started/installation.rst:34 +msgid "6.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:35 +msgid "sqlalchemy" +msgstr "" + +#: ../../source/getting_started/installation.rst:35 +msgid "1.2.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:36 +msgid "defusedxml" +msgstr "" + +#: ../../source/getting_started/installation.rst:36 +msgid "0.5.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:37 +msgid "tqdm" +msgstr "" + +#: ../../source/getting_started/installation.rst:37 +msgid "4.1.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:38 +msgid "uvloop (for systems other than win32)" +msgstr "" + +#: ../../source/getting_started/installation.rst:38 +msgid "0.14.0" +msgstr "" + +#: ../../source/getting_started/installation.rst:42 +msgid "Recommended dependencies" +msgstr "" + +#: ../../source/getting_started/installation.rst:44 +msgid "Recommended dependencies can be installed conveniently using pip." +msgstr "" + +#: ../../source/getting_started/installation.rst:51 +msgid "The following extra dependencies will be installed." +msgstr "" + +#: ../../source/getting_started/installation.rst:53 +msgid "" +"`numexpr `__: for accelerating certain" +" numerical operations. ``numexpr`` uses multiple cores as well as smart " +"chunking and caching to achieve large speedups. If installed, must be " +"Version 2.6.4 or higher." +msgstr "" + +#: ../../source/getting_started/installation.rst:57 +msgid "" +"`pillow `__: the Python Imaging Library. If " +"installed, must be Version 7.0.0 or higher." +msgstr "" + +#: ../../source/getting_started/installation.rst:60 +msgid "" +"`pyarrow `__: python API for Arrow C++" +" libraries. If installed, must be Version 0.11.0 or higher and cannot be " +"0.16.x." +msgstr "" + +#: ../../source/getting_started/installation.rst:63 +msgid "" +"`lz4 `__: python bindings for " +"the LZ4 compression library. If installed, must be Version 1.0.0 or " +"higher." +msgstr "" + +#: ../../source/getting_started/installation.rst:66 +msgid "" +"`fsspec `__: for cloud data " +"accessing. If installed, must be Version 2022.7.1 or higher and cannot be" +" Version 2022.8.0." +msgstr "" + +#: ../../source/getting_started/installation.rst:71 +msgid "" +"You are highly encouraged to install these libraries, as they provide " +"speed improvements, especially when working with large data sets." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/numpy.po b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/numpy.po new file mode 100644 index 000000000..e38d5427c --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/numpy.po @@ -0,0 +1,360 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/getting_started/numpy.rst:3 +msgid "10 minutes to :code:`xorbits.numpy`" +msgstr "" + +#: ../../source/getting_started/numpy.rst:7 +msgid "" +"This is a short introduction to :code:`xorbits.numpy` which is originated" +" from NumPy's quickstart." +msgstr "" + +#: ../../source/getting_started/numpy.rst:10 +msgid "Array Creation" +msgstr "" + +#: ../../source/getting_started/numpy.rst:12 +msgid "" +"Popular mechanisms for creating arrays in NumPy are supported in " +":code:`xorbits.numpy`." +msgstr "" + +#: ../../source/getting_started/numpy.rst:14 +msgid "" +"For example, you can create an array from a regular Python list or tuple " +"using the ``array`` function. The type of the resulting array is deduced " +"from the type of the elements in the sequences." +msgstr "" + +#: ../../source/getting_started/numpy.rst:29 +msgid "In addition, creating an array from existing NumPy ndarray is supported." +msgstr "" + +#: ../../source/getting_started/numpy.rst:40 +msgid "" +"A frequent error consists in calling ``array`` with multiple arguments, " +"rather than providing a single sequence as an argument." +msgstr "" + +#: ../../source/getting_started/numpy.rst:51 +msgid "" +"``array`` transforms sequences of sequences into two-dimensional arrays, " +"sequences of sequences of sequences into three-dimensional arrays, and so" +" on." +msgstr "" + +#: ../../source/getting_started/numpy.rst:61 +msgid "The type of the array can also be explicitly specified at creation time:" +msgstr "" + +#: ../../source/getting_started/numpy.rst:70 +msgid "" +"Often, the elements of an array are originally unknown, but its size is " +"known. Hence, several functions are offered to create arrays with initial" +" placeholder content. These minimize the necessity of growing arrays, an " +"expensive operation." +msgstr "" + +#: ../../source/getting_started/numpy.rst:74 +msgid "" +"The function ``zeros`` creates an array full of zeros, the function " +"``ones`` creates an array full of ones, and the function ``empty`` " +"creates an array whose initial content is random and depends on the state" +" of the memory. By default, the dtype of the created array is " +"``float64``, but it can be specified via the key word argument ``dtype``." +msgstr "" + +#: ../../source/getting_started/numpy.rst:97 +msgid "" +"To create sequences of numbers, use ``arange`` function which is " +"analogous to the Python built-in ``range``, but returns an array." +msgstr "" + +#: ../../source/getting_started/numpy.rst:107 +msgid "" +"When ``arange`` is used with floating point arguments, it is generally " +"not possible to predict the number of elements obtained, due to the " +"finite floating point precision. For this reason, it is usually better to" +" use the function ``linspace`` that receives as an argument the number of" +" elements that we want, instead of the step::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:119 +msgid "" +"However, the way of loading and saving arrays is quite different. Please " +"see :ref:`io ` for detailed info. Here's an example of " +"loading an HDF5 file::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:124 +msgid "" +"Once an ndarray is created, use ``to_numpy`` to convert it to a local " +"NumPy ndarray::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:132 +msgid "Printing Arrays" +msgstr "" + +#: ../../source/getting_started/numpy.rst:134 +msgid "Xorbits displays an array in a similar way to NumPy:" +msgstr "" + +#: ../../source/getting_started/numpy.rst:136 +msgid "the last axis is printed from left to right," +msgstr "" + +#: ../../source/getting_started/numpy.rst:137 +msgid "the second-to-last is printed from top to bottom," +msgstr "" + +#: ../../source/getting_started/numpy.rst:138 +msgid "" +"the rest are also printed from top to bottom, with each slice separated " +"from the next by an empty line." +msgstr "" + +#: ../../source/getting_started/numpy.rst:141 +msgid "" +"One-dimensional arrays are then printed as rows, bidimensionals as " +"matrices and tridimensionals as lists of matrices." +msgstr "" + +#: ../../source/getting_started/numpy.rst:167 +msgid "" +"If an array is too large to be printed, the central part of the array " +"will be automatically skipped and only prints the corners::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:186 +msgid "Basic Operations" +msgstr "" + +#: ../../source/getting_started/numpy.rst:188 +msgid "" +"Arithmetic operators on arrays apply *elementwise*. A new array is " +"created and filled with the result." +msgstr "" + +#: ../../source/getting_started/numpy.rst:207 +msgid "" +"Unlike in many matrix languages, the product operator ``*`` operates " +"elementwise in :code:`xorbits.numpy` arrays. The matrix product can be " +"performed using the ``@`` operator (in python >=3.5) or the ``dot`` " +"function or method::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:225 +msgid "" +"Some operations, such as ``+=`` and ``*=``, act in place to modify an " +"existing array rather than create a new one." +msgstr "" + +#: ../../source/getting_started/numpy.rst:241 +msgid "" +"When operating with arrays of different types, the type of the resulting " +"array corresponds to the more general or precise one (a behavior known as" +" upcasting)." +msgstr "" + +#: ../../source/getting_started/numpy.rst:262 +msgid "" +"Many unary operations, such as computing the sum of all the elements in " +"the array, are implemented as methods of the ``ndarray`` class." +msgstr "" + +#: ../../source/getting_started/numpy.rst:278 +msgid "" +"By default, these operations apply to the array as though it were a list " +"of numbers, regardless of its shape. However, by specifying the ``axis`` " +"parameter you can apply an operation along the specified axis of an " +"array::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:301 +msgid "Universal Functions" +msgstr "" + +#: ../../source/getting_started/numpy.rst:303 +msgid "" +"Mathematical functions such as sin, cos, and exp are provided. These are " +"called \"universal functions\" (\\ ``ufunc``). These functions operate " +"elementwise on an array, producing an array as output." +msgstr "" + +#: ../../source/getting_started/numpy.rst:323 +msgid "Indexing, Slicing and Iterating" +msgstr "" + +#: ../../source/getting_started/numpy.rst:325 +msgid "" +"**One-dimensional** arrays can be indexed, sliced and iterated over, much" +" like `lists " +"`__ and other " +"Python sequences." +msgstr "" + +#: ../../source/getting_started/numpy.rst:361 +msgid "" +"**Multidimensional** arrays can have one index per axis. These indices " +"are given in a tuple separated by commas::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:382 +msgid "" +"When fewer indices are provided than the number of axes, the missing " +"indices are considered complete slices\\ ``:``" +msgstr "" + +#: ../../source/getting_started/numpy.rst:390 +msgid "" +"The expression within brackets in ``b[i]`` is treated as an ``i`` " +"followed by as many instances of ``:`` as needed to represent the " +"remaining axes. You can also write this using dots as ``b[i, ...]``." +msgstr "" + +#: ../../source/getting_started/numpy.rst:395 +msgid "" +"The **dots** (``...``) represent as many colons as needed to produce a " +"complete indexing tuple. For example, if ``x`` is an array with 5 axes, " +"then" +msgstr "" + +#: ../../source/getting_started/numpy.rst:399 +msgid "``x[1, 2, ...]`` is equivalent to ``x[1, 2, :, :, :]``," +msgstr "" + +#: ../../source/getting_started/numpy.rst:400 +msgid "``x[..., 3]`` to ``x[:, :, :, :, 3]`` and" +msgstr "" + +#: ../../source/getting_started/numpy.rst:401 +msgid "``x[4, ..., 5, :]`` to ``x[4, :, :, 5, :]``." +msgstr "" + +#: ../../source/getting_started/numpy.rst:418 +msgid "" +"**Iterating** over multidimensional arrays is done with respect to the " +"first axis::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:428 +msgid "" +"However, if one wants to perform an operation on each element in the " +"array, one can use the ``flat`` attribute which is an `iterator " +"`__ over all the" +" elements of the array::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:452 +msgid "Changing the shape of an array" +msgstr "" + +#: ../../source/getting_started/numpy.rst:454 +msgid "An array has a shape given by the number of elements along each axis::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:464 +msgid "" +"The shape of an array can be changed with various commands. Note that the" +" following three commands all return a modified array, but do not change " +"the original array::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:486 +msgid "" +"The order of the elements in the array resulting from ``ravel`` is " +"normally \"C-style\", that is, the rightmost index \"changes the " +"fastest\", so the element after ``a[0, 0]`` is ``a[0, 1]``. If the array " +"is reshaped to some other shape, again the array is treated as " +"\"C-style\". Normally arrays are created stored in this order, so " +"``ravel`` will usually not need to copy its argument, but if the array " +"was made by taking slices of another array or created with unusual " +"options, it may need to be copied. The functions ``ravel`` and " +"``reshape`` can also be instructed, using an optional argument, to use " +"FORTRAN-style arrays, in which the leftmost index changes the fastest." +msgstr "" + +#: ../../source/getting_started/numpy.rst:494 +msgid "" +"If a dimension is given as ``-1`` in a reshaping operation, the other " +"dimensions are automatically calculated::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:505 +msgid "Stacking together different arrays" +msgstr "" + +#: ../../source/getting_started/numpy.rst:507 +msgid "Several arrays can be stacked together along different axes::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:526 +msgid "" +"The function `column_stack` stacks 1D arrays as columns into a 2D array. " +"It is equivalent to `hstack` only for 2D arrays::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:550 +msgid "" +"On the other hand, the function `row_stack` is equivalent to `vstack` for" +" any input arrays. In fact, `row_stack` is an alias for `vstack`::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:558 +msgid "" +"In general, for arrays with more than two dimensions, `hstack` stacks " +"along their second axes, `vstack` stacks along their first axes, and " +"`concatenate` allows for an optional arguments giving the number of the " +"axis along which the concatenation should happen." +msgstr "" + +#: ../../source/getting_started/numpy.rst:564 +msgid "" +"In complex cases, `r_` and `c_` are useful for creating arrays by " +"stacking numbers along one axis. They allow the use of range literals " +"``:``. ::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:570 +msgid "" +"When used with arrays as arguments, `r_` and `c_` are similar to `vstack`" +" and `hstack` in their default behavior, but allow for an optional " +"argument giving the number of the axis along which to concatenate." +msgstr "" + +#: ../../source/getting_started/numpy.rst:575 +msgid "Splitting one array into several smaller ones" +msgstr "" + +#: ../../source/getting_started/numpy.rst:577 +msgid "" +"Using `hsplit`, you can split an array along its horizontal axis, either " +"by specifying the number of equally shaped arrays to return, or by " +"specifying the columns after which the division should occur::" +msgstr "" + +#: ../../source/getting_started/numpy.rst:599 +msgid "" +"`vsplit` splits along the vertical axis, and `array_split` allows one to " +"specify along which axis to split." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/pandas.po b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/pandas.po new file mode 100644 index 000000000..59378e0e3 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/getting_started/pandas.po @@ -0,0 +1,362 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/getting_started/pandas.rst:3 +msgid "10 minutes to :code:`xorbits.pandas`" +msgstr "" + +#: ../../source/getting_started/pandas.rst:7 +msgid "" +"This is a short introduction to :code:`xorbits.pandas` which is " +"originated from pandas' quickstart." +msgstr "" + +#: ../../source/getting_started/pandas.rst:9 +msgid "Customarily, we import and init as follows:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:19 +msgid "Object creation" +msgstr "" + +#: ../../source/getting_started/pandas.rst:21 +msgid "" +"Creating a :class:`Series` by passing a list of values, letting it create" +" a default integer index:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:29 +msgid "" +"Creating a :class:`DataFrame` by passing an array, with a datetime index " +"and labeled columns:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:38 +msgid "" +"Creating a :class:`DataFrame` by passing a dict of objects that can be " +"converted to series-like." +msgstr "" + +#: ../../source/getting_started/pandas.rst:49 +msgid "The columns of the resulting :class:`DataFrame` have different dtypes." +msgstr "" + +#: ../../source/getting_started/pandas.rst:57 +msgid "Viewing data" +msgstr "" + +#: ../../source/getting_started/pandas.rst:59 +msgid "Here is how to view the top and bottom rows of the frame:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:66 +msgid "Display the index, columns:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:74 +msgid "" +":meth:`DataFrame.to_numpy` gives a ndarray representation of the " +"underlying data. Note that this can be an expensive operation when your " +":class:`DataFrame` has columns with different data types, which comes " +"down to a fundamental difference between DataFrame and ndarray: " +"**ndarrays have one dtype for the entire ndarray, while DataFrames have " +"one dtype per column**. When you call :meth:`DataFrame.to_numpy`, " +":code:`xorbits.pandas` will find the ndarray dtype that can hold *all* of" +" the dtypes in the DataFrame. This may end up being ``object``, which " +"requires casting every value to a Python object." +msgstr "" + +#: ../../source/getting_started/pandas.rst:82 +msgid "" +"For ``df``, our :class:`DataFrame` of all floating-point values, " +":meth:`DataFrame.to_numpy` is fast and doesn't require copying data." +msgstr "" + +#: ../../source/getting_started/pandas.rst:89 +msgid "" +"For ``df2``, the :class:`DataFrame` with multiple dtypes, " +":meth:`DataFrame.to_numpy` is relatively expensive." +msgstr "" + +#: ../../source/getting_started/pandas.rst:98 +msgid "" +":meth:`DataFrame.to_numpy` does *not* include the index or column labels " +"in the output." +msgstr "" + +#: ../../source/getting_started/pandas.rst:101 +msgid ":func:`~DataFrame.describe` shows a quick statistic summary of your data:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:107 +msgid "Sorting by an axis:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:113 +msgid "Sorting by values:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:120 +msgid "Selection" +msgstr "" + +#: ../../source/getting_started/pandas.rst:124 +msgid "" +"While standard Python expressions for selecting and setting are intuitive" +" and come in handy for interactive work, for production code, we " +"recommend the optimized :code:`xorbits.pandas` data access methods, " +"``.at``, ``.iat``, ``.loc`` and ``.iloc``." +msgstr "" + +#: ../../source/getting_started/pandas.rst:131 +msgid "Getting" +msgstr "" + +#: ../../source/getting_started/pandas.rst:133 +msgid "" +"Selecting a single column, which yields a :class:`Series`, equivalent to " +"``df.A``:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:139 +msgid "Selecting via ``[]``, which slices the rows." +msgstr "" + +#: ../../source/getting_started/pandas.rst:148 +msgid "Selection by label" +msgstr "" + +#: ../../source/getting_started/pandas.rst:150 +msgid "For getting a cross section using a label:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:156 +msgid "Selecting on a multi-axis by label:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:162 +msgid "Showing label slicing, both endpoints are *included*:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:169 +msgid "Reduction in the dimensions of the returned object:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:175 +msgid "For getting a scalar value:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:181 +#: ../../source/getting_started/pandas.rst:226 +msgid "For getting fast access to a scalar (equivalent to the prior method):" +msgstr "" + +#: ../../source/getting_started/pandas.rst:188 +msgid "Selection by position" +msgstr "" + +#: ../../source/getting_started/pandas.rst:190 +msgid "Select via the position of the passed integers:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:196 +msgid "By integer slices, acting similar to python:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:202 +msgid "By lists of integer position locations, similar to the python style:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:208 +msgid "For slicing rows explicitly:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:214 +msgid "For slicing columns explicitly:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:220 +msgid "For getting a value explicitly:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:233 +msgid "Boolean indexing" +msgstr "" + +#: ../../source/getting_started/pandas.rst:235 +msgid "Using a single column's values to select data." +msgstr "" + +#: ../../source/getting_started/pandas.rst:241 +msgid "Selecting values from a DataFrame where a boolean condition is met." +msgstr "" + +#: ../../source/getting_started/pandas.rst:249 +msgid "Operations" +msgstr "" + +#: ../../source/getting_started/pandas.rst:252 +msgid "Stats" +msgstr "" + +#: ../../source/getting_started/pandas.rst:254 +msgid "Operations in general *exclude* missing data." +msgstr "" + +#: ../../source/getting_started/pandas.rst:256 +msgid "Performing a descriptive statistic:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:262 +msgid "Same operation on the other axis:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:269 +msgid "" +"Operating with objects that have different dimensionality and need " +"alignment. In addition, :code:`xorbits.pandas` automatically broadcasts " +"along the specified dimension." +msgstr "" + +#: ../../source/getting_started/pandas.rst:280 +msgid "Apply" +msgstr "" + +#: ../../source/getting_started/pandas.rst:282 +msgid "Applying functions to the data:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:289 +msgid "String Methods" +msgstr "" + +#: ../../source/getting_started/pandas.rst:291 +msgid "" +"Series is equipped with a set of string processing methods in the `str` " +"attribute that make it easy to operate on each element of the array, as " +"in the code snippet below. Note that pattern-matching in `str` generally " +"uses `regular expressions `__ " +"by default (and in some cases always uses them)." +msgstr "" + +#: ../../source/getting_started/pandas.rst:303 +msgid "Merge" +msgstr "" + +#: ../../source/getting_started/pandas.rst:306 +msgid "Concat" +msgstr "" + +#: ../../source/getting_started/pandas.rst:308 +msgid "" +":code:`xorbits.pandas` provides various facilities for easily combining " +"together Series and DataFrame objects with various kinds of set logic for" +" the indexes and relational algebra functionality in the case of join / " +"merge-type operations." +msgstr "" + +#: ../../source/getting_started/pandas.rst:313 +msgid "Concatenating :code:`xorbits.pandas` objects together with :func:`concat`:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:326 +msgid "" +"Adding a column to a :class:`DataFrame` is relatively fast. However, " +"adding a row requires a copy, and may be expensive. We recommend passing " +"a pre-built list of records to the :class:`DataFrame` constructor instead" +" of building a :class:`DataFrame` by iteratively appending records to it." +msgstr "" + +#: ../../source/getting_started/pandas.rst:332 +msgid "Join" +msgstr "" + +#: ../../source/getting_started/pandas.rst:334 +msgid "SQL style merges." +msgstr "" + +#: ../../source/getting_started/pandas.rst:344 +msgid "Another example that can be given is:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:355 +msgid "Grouping" +msgstr "" + +#: ../../source/getting_started/pandas.rst:357 +msgid "" +"By \"group by\" we are referring to a process involving one or more of " +"the following steps:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:360 +msgid "**Splitting** the data into groups based on some criteria" +msgstr "" + +#: ../../source/getting_started/pandas.rst:361 +msgid "**Applying** a function to each group independently" +msgstr "" + +#: ../../source/getting_started/pandas.rst:362 +msgid "**Combining** the results into a data structure" +msgstr "" + +#: ../../source/getting_started/pandas.rst:375 +msgid "" +"Grouping and then applying the " +":meth:`~xorbits.pandas.groupby.DataFrameGroupBy.sum` function to the " +"resulting groups." +msgstr "" + +#: ../../source/getting_started/pandas.rst:383 +msgid "" +"Grouping by multiple columns forms a hierarchical index, and again we can" +" apply the `sum` function." +msgstr "" + +#: ../../source/getting_started/pandas.rst:391 +msgid "Plotting" +msgstr "" + +#: ../../source/getting_started/pandas.rst:393 +msgid "We use the standard convention for referencing the matplotlib API:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:409 +msgid "" +"On a DataFrame, the :meth:`~DataFrame.plot` method is a convenience to " +"plot all of the columns with labels:" +msgstr "" + +#: ../../source/getting_started/pandas.rst:424 +msgid "Getting data in/out" +msgstr "" + +#: ../../source/getting_started/pandas.rst:427 +msgid "CSV" +msgstr "" + +#: ../../source/getting_started/pandas.rst:429 +msgid "Writing to a csv file." +msgstr "" + +#: ../../source/getting_started/pandas.rst:435 +msgid "Reading from a csv file." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/index.po b/doc/source/locale/zh_CN/LC_MESSAGES/index.po new file mode 100644 index 000000000..7cb0232d4 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/index.po @@ -0,0 +1,291 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/index.rst:11 +msgid "Xorbits: scalable Python data science, familiar & fast." +msgstr "Xorbits:熟悉的接口,自动并行或分布式" + +#: ../../source/index.rst:13 +msgid "" +"Xorbits is a scalable Python data science framework that aims to **scale " +"the whole Python data science world, including numpy, pandas, scikit-" +"learn and many other libraries**. It can leverage multi cores or GPUs to " +"accelerate computation on a single machine, or scale out up to thousands " +"of machines to support processing terabytes of data. In our benchmark " +"test, **Xorbits is the fastest framework among the most popular " +"distributed data science frameworks**." +msgstr "" + +#: ../../source/index.rst:19 +msgid "" +"As for the name of ``xorbits``, it has many meanings, you can treat it as" +" ``X-or-bits`` or ``X-orbits`` or ``xor-bits``, just have fun to " +"comprehend it in your own way." +msgstr "" + +#: ../../source/index.rst:23 +msgid "At a glance" +msgstr "" + +#: ../../source/index.rst:27 +msgid "" +"Codes are almost identical except for the import, replace ``import " +"pandas`` with ``import xorbits.pandas`` will just work, so does numpy and" +" so forth." +msgstr "" + +#: ../../source/index.rst:32 +msgid "Where to get it?" +msgstr "" + +#: ../../source/index.rst:34 +msgid "" +"The source code is currently hosted on GitHub at: https://github.com" +"/xprobe-inc/xorbits" +msgstr "" + +#: ../../source/index.rst:36 +msgid "" +"Binary installers for the latest released version are available at the " +"`Python Package Index (PyPI) `_" +msgstr "" + +#: ../../source/index.rst:45 +msgid "API compatibility" +msgstr "" + +#: ../../source/index.rst:47 +msgid "" +"As long as you know how to use numpy, pandas and so forth, you would " +"probably know how to use xorbits." +msgstr "" + +#: ../../source/index.rst:49 +msgid "All Xorbits APIs implemented or planned include:" +msgstr "" + +#: ../../source/index.rst:52 +msgid "API" +msgstr "" + +#: ../../source/index.rst:52 +msgid "Implemented version or plan" +msgstr "" + +#: ../../source/index.rst:54 +msgid ":ref:`xorbits.pandas `" +msgstr "" + +#: ../../source/index.rst:54 ../../source/index.rst:55 +msgid "v0.1.0" +msgstr "" + +#: ../../source/index.rst:55 +msgid ":ref:`xorbits.numpy `" +msgstr "" + +#: ../../source/index.rst:56 +msgid "``xorbits.sklearn``" +msgstr "" + +#: ../../source/index.rst:56 ../../source/index.rst:57 +#: ../../source/index.rst:58 +msgid "Planned in the near future" +msgstr "" + +#: ../../source/index.rst:57 +msgid "``xorbits.xgboost``" +msgstr "" + +#: ../../source/index.rst:58 +msgid "``xorbits.lightgbm``" +msgstr "" + +#: ../../source/index.rst:59 +msgid "``xorbits.xarray``" +msgstr "" + +#: ../../source/index.rst:59 +msgid "Planned in the future" +msgstr "" + +#: ../../source/index.rst:63 +msgid "Lightning fast speed" +msgstr "" + +#: ../../source/index.rst:65 +msgid "" +"Xorbits is the fastest compared to other popular frameworks according to " +"our benchmark tests." +msgstr "" + +#: ../../source/index.rst:67 +msgid "" +"We did benchmarks for TPC-H at scale factor 100 (~100 GB datasets) and " +"1000 (~1 TB datasets). The performances are shown as below." +msgstr "" + +#: ../../source/index.rst:71 +msgid "TPC-H SF100: Xorbits vs Dask" +msgstr "" + +#: ../../source/index.rst:75 +msgid "" +"Q21 was excluded since Dask ran out of memory. Across all queries, " +"Xorbits was found to be 7.3x faster than Dask." +msgstr "" + +#: ../../source/index.rst:78 +msgid "TPC-H SF100: Xorbits vs Pandas API on Spark" +msgstr "" + +#: ../../source/index.rst:82 +msgid "" +"Across all queries, the two systems have roughly similar performance, but" +" Xorbits provided much better API compatibility. Pandas API on Spark " +"failed on Q1, Q4, Q7, Q21, and ran out of memory on Q20." +msgstr "" + +#: ../../source/index.rst:86 +msgid "TPC-H SF100: Xorbits vs Modin" +msgstr "" + +#: ../../source/index.rst:90 +msgid "" +"Although Modin ran out of memory for most of the queries that involve " +"heavy data shuffles, making the performance difference less obvious, " +"Xorbits was still found to be 3.2x faster than Modin." +msgstr "" + +#: ../../source/index.rst:94 +msgid "TPC-H SF1000: Xorbits" +msgstr "" + +#: ../../source/index.rst:98 +msgid "" +"Although Xorbits is able to pass all the queries in a row, Dask, Pandas " +"API on Spark and Modin failed on most of the queries. Thus, we are not " +"able to compare the performance difference now, and we plan to try again " +"later." +msgstr "" + +#: ../../source/index.rst:102 +msgid "" +"For more information, see `performance benchmarks " +"`_." +msgstr "" + +#: ../../source/index.rst:105 ../../source/index.rst:111 +msgid "Deployment" +msgstr "" + +#: ../../source/index.rst:107 +msgid "" +"Xorbits can be deployed on your local machine, largely deployed to a " +"cluster via command lines, or deploy via Kubernetes and clouds." +msgstr "" + +#: ../../source/index.rst:111 +msgid "Description" +msgstr "" + +#: ../../source/index.rst:113 +msgid ":ref:`Local `" +msgstr "" + +#: ../../source/index.rst:113 +msgid "Running Xorbits on a local machine, e.g. laptop" +msgstr "" + +#: ../../source/index.rst:114 +msgid ":ref:`Cluster `" +msgstr "" + +#: ../../source/index.rst:114 +msgid "Deploy Xorbits to existing cluster via command lines" +msgstr "" + +#: ../../source/index.rst:115 +msgid ":ref:`Kubernetes `" +msgstr "" + +#: ../../source/index.rst:115 +msgid "Deploy Xorbits to existing k8s cluster via python codes" +msgstr "" + +#: ../../source/index.rst:116 +msgid ":ref:`Cloud `" +msgstr "" + +#: ../../source/index.rst:116 +msgid "Deploy Xorbits to various cloud platforms via python codes" +msgstr "" + +#: ../../source/index.rst:120 +msgid "Getting involved" +msgstr "" + +#: ../../source/index.rst:123 +msgid "**Platform**" +msgstr "" + +#: ../../source/index.rst:123 +msgid "**Purpose**" +msgstr "" + +#: ../../source/index.rst:125 +msgid "`Discourse Forum `_" +msgstr "" + +#: ../../source/index.rst:125 +msgid "Asking usage questions and discussing development." +msgstr "" + +#: ../../source/index.rst:127 +msgid "`Github Issues `_" +msgstr "" + +#: ../../source/index.rst:127 +msgid "Reporting bugs and filing feature requests." +msgstr "" + +#: ../../source/index.rst:129 +msgid "`Slack `_" +msgstr "" + +#: ../../source/index.rst:129 +msgid "Collaborating with other Xorbits users." +msgstr "" + +#: ../../source/index.rst:131 +msgid "`StackOverflow `_" +msgstr "" + +#: ../../source/index.rst:131 +msgid "Asking questions about how to use Xorbits." +msgstr "" + +#: ../../source/index.rst:133 +msgid "`Twitter `_" +msgstr "" + +#: ../../source/index.rst:133 +msgid "Staying up-to-date on new features." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/index.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/index.po new file mode 100644 index 000000000..9c399a57e --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/index.po @@ -0,0 +1,23 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/index.rst:5 +msgid "API Reference" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/array-creation.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/array-creation.po new file mode 100644 index 000000000..92d9d7ceb --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/array-creation.po @@ -0,0 +1,261 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/numpy/array-creation.rst:4 +msgid "Array creation routines" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:9 +msgid "From shape or value" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`empty `\\ \\(shape\\[\\, dtype\\, order\\, " +"like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a new array of given shape and type, without initializing entries." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`empty_like `\\ \\(prototype\\[\\, " +"dtype\\, order\\, subok\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a new array with the same shape and type as a given array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`eye `\\ \\(N\\[\\, M\\, k\\, dtype\\, " +"sparse\\, gpu\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a 2-D array with ones on the diagonal and zeros elsewhere." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`identity `\\ \\(n\\[\\, dtype\\, " +"sparse\\, gpu\\, chunk\\_size\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return the identity array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`ones `\\ \\(shape\\[\\, dtype\\, " +"chunk\\_size\\, gpu\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a new array of given shape and type, filled with ones." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`ones_like `\\ \\(a\\[\\, dtype\\, " +"gpu\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return an array of ones with the same shape and type as a given array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`zeros `\\ \\(shape\\[\\, dtype\\, order\\, " +"like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a new array of given shape and type, filled with zeros." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`zeros_like `\\ \\(a\\[\\, dtype\\, " +"gpu\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return an array of zeros with the same shape and type as a given array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`full `\\ \\(shape\\, fill\\_value\\[\\, " +"dtype\\, chunk\\_size\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a new array of given shape and type, filled with `fill_value`." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "" +":py:obj:`full_like `\\ \\(a\\, " +"fill\\_value\\[\\, dtype\\, gpu\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:23::1 +msgid "Return a full array with the same shape and type as a given array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:25 +msgid "From existing data" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "" +":py:obj:`array `\\ \\(x\\[\\, dtype\\, copy\\, " +"order\\, ndmin\\, chunk\\_size\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "array(object, dtype=None, *, copy=True, order='K', subok=False, ndmin=0," +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "" +":py:obj:`asarray `\\ \\(a\\[\\, dtype\\, order\\, " +"like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "Convert the input to an array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "" +":py:obj:`ascontiguousarray `\\ " +"\\(a\\[\\, dtype\\, like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "Return a contiguous array (ndim >= 1) in memory (C order)." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid ":py:obj:`copy `\\ \\(a\\[\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:42::1 +msgid "Return an array copy of the given object." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:44 +msgid "Numerical ranges" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "" +":py:obj:`arange `\\ \\(\\[start\\,\\] stop\\[\\, " +"step\\,\\]\\[\\, dtype\\, like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "Return evenly spaced values within a given interval." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "" +":py:obj:`linspace `\\ \\(start\\, stop\\[\\, " +"num\\, endpoint\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "Return evenly spaced numbers over a specified interval." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid ":py:obj:`meshgrid `\\ \\(\\*xi\\, \\*\\*kwargs\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "Return coordinate matrices from coordinate vectors." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid ":py:obj:`mgrid `\\" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "`nd_grid` instance which returns a dense multi-dimensional \"meshgrid\"." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid ":py:obj:`ogrid `\\" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:55::1 +msgid "`nd_grid` instance which returns an open multi-dimensional \"meshgrid\"." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:57 +msgid "Building matrices" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid "" +":py:obj:`diag `\\ \\(v\\[\\, k\\, sparse\\, gpu\\, " +"chunk\\_size\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid "Extract a diagonal or construct a diagonal array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid "" +":py:obj:`diagflat `\\ \\(v\\[\\, k\\, sparse\\, " +"gpu\\, chunk\\_size\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid "Create a two-dimensional array with the flattened input as a diagonal." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid ":py:obj:`tril `\\ \\(m\\[\\, k\\, gpu\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid "Lower triangle of an array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid ":py:obj:`triu `\\ \\(m\\[\\, k\\, gpu\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:67::1 +msgid "Upper triangle of an array." +msgstr "" + +#: ../../source/reference/numpy/array-creation.rst:69 +msgid "The Matrix class" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/array-manipulation.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/array-manipulation.po new file mode 100644 index 000000000..c5fd2b8eb --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/array-manipulation.po @@ -0,0 +1,447 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/numpy/array-manipulation.rst:2 +msgid "Array manipulation routines" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:7 +msgid "Basic operations" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:13::1 +msgid "" +":py:obj:`copyto `\\ \\(dst\\, src\\[\\, casting\\, " +"where\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:13::1 +msgid "Copies values from one array to another, broadcasting as necessary." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:13::1 +msgid ":py:obj:`shape `\\ \\(a\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:13::1 +msgid "Return the shape of an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:15 +msgid "Changing array shape" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid "" +":py:obj:`reshape `\\ \\(a\\, newshape\\[\\, " +"order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid "Gives a new shape to an array without changing its data." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid ":py:obj:`ravel `\\ \\(a\\[\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid "Return a contiguous flattened array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid ":py:obj:`ndarray.flat `\\" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid "A 1-D iterator over the array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid "" +":py:obj:`ndarray.flatten `\\ " +"\\(\\[order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:24::1 +msgid "Return a copy of the array collapsed into one dimension." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:26 +msgid "Transpose-like operations" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "" +":py:obj:`moveaxis `\\ \\(a\\, source\\, " +"destination\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "Move axes of an array to new positions." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "" +":py:obj:`rollaxis `\\ \\(tensor\\, axis\\[\\, " +"start\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "Roll the specified axis backwards, until it lies in a given position." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid ":py:obj:`swapaxes `\\ \\(a\\, axis1\\, axis2\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "Interchange two axes of an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid ":py:obj:`ndarray.T `\\" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "The transposed array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid ":py:obj:`transpose `\\ \\(a\\[\\, axes\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:35::1 +msgid "Reverse or permute the axes of an array; returns the modified array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:37 +msgid "Changing number of dimensions" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid ":py:obj:`atleast_1d `\\ \\(\\*tensors\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "Convert inputs to arrays with at least one dimension." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid ":py:obj:`atleast_2d `\\ \\(\\*tensors\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "View inputs as arrays with at least two dimensions." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid ":py:obj:`atleast_3d `\\ \\(\\*tensors\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "View inputs as arrays with at least three dimensions." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "" +":py:obj:`broadcast_to `\\ \\(tensor\\, " +"shape\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "Broadcast an array to a new shape." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "" +":py:obj:`broadcast_arrays `\\ " +"\\(\\*args\\, \\*\\*kwargs\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "Broadcast any number of arrays against each other." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid ":py:obj:`expand_dims `\\ \\(a\\, axis\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "Expand the shape of an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid ":py:obj:`squeeze `\\ \\(a\\[\\, axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:49::1 +msgid "Remove axes of length one from `a`." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:51 +msgid "Changing kind of array" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:63::1 +msgid "" +":py:obj:`asarray `\\ \\(a\\[\\, dtype\\, order\\, " +"like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:63::1 +msgid "Convert the input to an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:63::1 +msgid "" +":py:obj:`asfortranarray `\\ \\(a\\[\\, " +"dtype\\, like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:63::1 +msgid "Return an array (ndim >= 1) laid out in Fortran order in memory." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:63::1 +msgid "" +":py:obj:`ascontiguousarray `\\ " +"\\(a\\[\\, dtype\\, like\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:63::1 +msgid "Return a contiguous array (ndim >= 1) in memory (C order)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:65 +msgid "Joining arrays" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "" +":py:obj:`concatenate `\\ \\(\\[axis\\, out\\, " +"dtype\\, casting\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Join a sequence of arrays along an existing axis." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid ":py:obj:`stack `\\ \\(tensors\\[\\, axis\\, out\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Join a sequence of arrays along a new axis." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid ":py:obj:`block `\\ \\(arrays\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Assemble an nd-array from nested lists of blocks." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid ":py:obj:`vstack `\\ \\(tup\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Stack arrays in sequence vertically (row wise)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid ":py:obj:`hstack `\\ \\(tup\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Stack arrays in sequence horizontally (column wise)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid ":py:obj:`dstack `\\ \\(tup\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Stack arrays in sequence depth wise (along third axis)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid ":py:obj:`column_stack `\\ \\(tup\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:77::1 +msgid "Stack 1-D arrays as columns into a 2-D array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:79 +msgid "Splitting arrays" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "" +":py:obj:`split `\\ \\(ary\\, " +"indices\\_or\\_sections\\[\\, axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "Split an array into multiple sub-arrays as views into `ary`." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "" +":py:obj:`array_split `\\ \\(a\\, " +"indices\\_or\\_sections\\[\\, axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "Split an array into multiple sub-arrays." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "" +":py:obj:`dsplit `\\ \\(a\\, " +"indices\\_or\\_sections\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "Split array into multiple sub-arrays along the 3rd axis (depth)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "" +":py:obj:`hsplit `\\ \\(a\\, " +"indices\\_or\\_sections\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "Split an array into multiple sub-arrays horizontally (column-wise)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "" +":py:obj:`vsplit `\\ \\(a\\, " +"indices\\_or\\_sections\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:88::1 +msgid "Split an array into multiple sub-arrays vertically (row-wise)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:90 +msgid "Tiling arrays" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:96::1 +msgid ":py:obj:`tile `\\ \\(A\\, reps\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:96::1 +msgid "Construct an array by repeating A the number of times given by reps." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:96::1 +msgid ":py:obj:`repeat `\\ \\(a\\, repeats\\[\\, axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:96::1 +msgid "Repeat elements of an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:98 +msgid "Adding and removing elements" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid ":py:obj:`delete `\\ \\(arr\\, obj\\[\\, axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "Return a new array with sub-arrays along an axis deleted." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "" +":py:obj:`insert `\\ \\(arr\\, obj\\, values\\[\\, " +"axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "Insert values along the given axis before the given indices." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "" +":py:obj:`append `\\ \\(arr\\, values\\[\\, " +"axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "Append values to the end of an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "" +":py:obj:`unique `\\ \\(ar\\[\\, return\\_index\\, " +"return\\_inverse\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:108::1 +msgid "Find the unique elements of an array." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:110 +msgid "Rearranging elements" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid ":py:obj:`flip `\\ \\(m\\, axis\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid "Reverse the order of elements in an array along the given axis." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid ":py:obj:`fliplr `\\ \\(m\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid "Reverse the order of elements along axis 1 (left/right)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid ":py:obj:`flipud `\\ \\(m\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid "Reverse the order of elements along axis 0 (up/down)." +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid ":py:obj:`roll `\\ \\(a\\, shift\\[\\, axis\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/array-manipulation.rst:119::1 +msgid "Roll array elements along a given axis." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/bitwise.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/bitwise.po new file mode 100644 index 000000000..5f72223ef --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/bitwise.po @@ -0,0 +1,95 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/numpy/bitwise.rst:2 +msgid "Binary operations" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:7 +msgid "Elementwise bit operations" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "" +":py:obj:`bitwise_and `\\ \\(x1\\, x2\\, " +"\\/\\[\\, out\\, where\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "Compute the bit-wise AND of two arrays element-wise." +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "" +":py:obj:`bitwise_or `\\ \\(x1\\, x2\\, " +"\\/\\[\\, out\\, where\\, casting\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "Compute the bit-wise OR of two arrays element-wise." +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "" +":py:obj:`bitwise_xor `\\ \\(x1\\, x2\\, " +"\\/\\[\\, out\\, where\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "Compute the bit-wise XOR of two arrays element-wise." +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "" +":py:obj:`invert `\\ \\(x\\, \\/\\[\\, out\\, " +"where\\, casting\\, order\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "Compute bit-wise inversion, or bit-wise NOT, element-wise." +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "" +":py:obj:`left_shift `\\ \\(x1\\, x2\\, " +"\\/\\[\\, out\\, where\\, casting\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "Shift the bits of an integer to the left." +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "" +":py:obj:`right_shift `\\ \\(x1\\, x2\\, " +"\\/\\[\\, out\\, where\\, ...\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:17::1 +msgid "Shift the bits of an integer to the right." +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:19 +msgid "Bit packing" +msgstr "" + +#: ../../source/reference/numpy/bitwise.rst:27 +msgid "Output formatting" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/fft.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/fft.po new file mode 100644 index 000000000..a64b45b87 --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/fft.po @@ -0,0 +1,187 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/numpy/fft.rst:2 +msgid "Discrete Fourier Transform" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:7 +msgid "Standard FFTs" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid ":py:obj:`fft `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid "Compute the one-dimensional discrete Fourier Transform." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid ":py:obj:`ifft `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid "Compute the one-dimensional inverse discrete Fourier Transform." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid ":py:obj:`fft2 `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid "Compute the 2-dimensional discrete Fourier Transform." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid ":py:obj:`ifft2 `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid "Compute the 2-dimensional inverse discrete Fourier Transform." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid ":py:obj:`fftn `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid "Compute the N-dimensional discrete Fourier Transform." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid ":py:obj:`ifftn `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:20::1 +msgid "Compute the N-dimensional inverse discrete Fourier Transform." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:22 +msgid "Real FFTs" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid ":py:obj:`rfft `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid "Compute the one-dimensional discrete Fourier Transform for real input." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid ":py:obj:`irfft `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid "Computes the inverse of `rfft`." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid ":py:obj:`rfft2 `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid "Compute the 2-dimensional FFT of a real array." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid ":py:obj:`irfft2 `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid "Computes the inverse of `rfft2`." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid ":py:obj:`rfftn `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid "Compute the N-dimensional discrete Fourier Transform for real input." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid ":py:obj:`irfftn `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:35::1 +msgid "Computes the inverse of `rfftn`." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:37 +msgid "Hermitian FFTs" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:46::1 +msgid ":py:obj:`hfft `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:46::1 +msgid "" +"Compute the FFT of a signal that has Hermitian symmetry, i.e., a real " +"spectrum." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:46::1 +msgid ":py:obj:`ihfft `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:46::1 +msgid "Compute the inverse FFT of a signal that has Hermitian symmetry." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:48 +msgid "Helper routines" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid ":py:obj:`fftfreq `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid "Return the Discrete Fourier Transform sample frequencies." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid ":py:obj:`rfftfreq `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid "" +"Return the Discrete Fourier Transform sample frequencies (for usage with " +"rfft, irfft)." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid ":py:obj:`fftshift `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid "Shift the zero-frequency component to the center of the spectrum." +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid ":py:obj:`ifftshift `" +msgstr "" + +#: ../../source/reference/numpy/fft.rst:57::1 +msgid "The inverse of `fftshift`." +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/index.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/index.po new file mode 100644 index 000000000..83a55b28a --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/index.po @@ -0,0 +1,23 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/numpy/index.rst:5 +msgid "NumPy API" +msgstr "" + diff --git a/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/indexing.po b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/indexing.po new file mode 100644 index 000000000..2576aa86c --- /dev/null +++ b/doc/source/locale/zh_CN/LC_MESSAGES/reference/numpy/indexing.po @@ -0,0 +1,175 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) 2022-2023, Xprobe Inc. +# This file is distributed under the same license as the Xorbits package. +# FIRST AUTHOR , 2023. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: Xorbits \n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-01-12 11:23+0800\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Generated-By: Babel 2.11.0\n" + +#: ../../source/reference/numpy/indexing.rst:5 +msgid "Indexing routines" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:7 +msgid ":ref:`basics.indexing`" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:12 +msgid "Generating index arrays" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid ":py:obj:`c_ `\\" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "Translates slice objects to concatenation along the second axis." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid ":py:obj:`r_ `\\" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "Translates slice objects to concatenation along the first axis." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid ":py:obj:`nonzero `\\ \\(a\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "Return the indices of the elements that are non-zero." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "" +":py:obj:`where `\\ \\(condition\\, \\[x\\, y\\]\\, " +"\\/\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "Return elements chosen from `x` or `y` depending on `condition`." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "" +":py:obj:`indices `\\ \\(dimensions\\[\\, dtype\\, " +"chunk\\_size\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "Return an array representing the indices of a grid." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid ":py:obj:`ogrid `\\" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "`nd_grid` instance which returns an open multi-dimensional \"meshgrid\"." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "" +":py:obj:`unravel_index `\\ \\(indices\\, " +"shape\\[\\, order\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:33::1 +msgid "" +"Converts a flat index or array of flat indices into a tuple of coordinate" +" arrays." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:35 +msgid "Indexing-like operations" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "" +":py:obj:`take `\\ \\(a\\, indices\\[\\, axis\\, " +"out\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "Take elements from an array along an axis." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "" +":py:obj:`choose `\\ \\(a\\, choices\\[\\, out\\, " +"mode\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "" +"Construct an array from an index array and a list of arrays to choose " +"from." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "" +":py:obj:`compress `\\ \\(condition\\, a\\[\\, " +"axis\\, out\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "Return selected slices of an array along given axis." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "" +":py:obj:`diag `\\ \\(v\\[\\, k\\, sparse\\, gpu\\, " +"chunk\\_size\\]\\)" +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid "Extract a diagonal or construct a diagonal array." +msgstr "" + +#: ../../source/reference/numpy/indexing.rst:48::1 +msgid ":py:obj:`select