diff options
author | Reynold Xin <rxin@apache.org> | 2015-11-09 23:54:32 +0000 |
---|---|---|
committer | Reynold Xin <rxin@apache.org> | 2015-11-09 23:54:32 +0000 |
commit | 86ac2008a4bbc556bb94916216092d9e51f622e6 (patch) | |
tree | b56ba8ae8829e2d066ee1c2fe2dfcb5ee949dfc5 /site/docs/1.5.2/api/R/dtypes.html | |
parent | eb794e708e3c84625840ec89af02f50f9474bdd5 (diff) | |
download | spark-website-86ac2008a4bbc556bb94916216092d9e51f622e6.tar.gz spark-website-86ac2008a4bbc556bb94916216092d9e51f622e6.tar.bz2 spark-website-86ac2008a4bbc556bb94916216092d9e51f622e6.zip |
Add Spark 1.5.2 doc
Diffstat (limited to 'site/docs/1.5.2/api/R/dtypes.html')
-rw-r--r-- | site/docs/1.5.2/api/R/dtypes.html | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/site/docs/1.5.2/api/R/dtypes.html b/site/docs/1.5.2/api/R/dtypes.html new file mode 100644 index 000000000..560ab98a6 --- /dev/null +++ b/site/docs/1.5.2/api/R/dtypes.html @@ -0,0 +1,52 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: DataTypes</title> +<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> +<link rel="stylesheet" type="text/css" href="R.css" /> + +<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/styles/github.min.css"> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script> +<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script> +<script>hljs.initHighlightingOnLoad();</script> +</head><body> + +<table width="100%" summary="page for dtypes {SparkR}"><tr><td>dtypes {SparkR}</td><td style="text-align: right;">R Documentation</td></tr></table> + +<h2>DataTypes</h2> + +<h3>Description</h3> + +<p>Return all column names and their data types as a list +</p> + + +<h3>Usage</h3> + +<pre> +## S4 method for signature 'DataFrame' +dtypes(x) +</pre> + + +<h3>Arguments</h3> + +<table summary="R argblock"> +<tr valign="top"><td><code>x</code></td> +<td> +<p>A SparkSQL DataFrame</p> +</td></tr> +</table> + + +<h3>Examples</h3> + +<pre><code class="r">## Not run: +##D sc <- sparkR.init() +##D sqlContext <- sparkRSQL.init(sc) +##D path <- "path/to/file.json" +##D df <- jsonFile(sqlContext, path) +##D dtypes(df) +## End(Not run) +</code></pre> + + +<hr /><div style="text-align: center;">[Package <em>SparkR</em> version 1.5.2 <a href="00Index.html">Index</a>]</div> +</body></html> |