Python for R Users - Robert Richardson
Python for R Users
By
Chandan Routray
As a part of internship at
Basic Commands
Functions
R
Python
Downloading and installing a package
install.packages('name')
pip install name
Load a package
library('name')
import name as other_name
Checking working directory
getwd()
import os
os.getcwd()
Setting working directory
setwd()
os.chdir()
List files in a directory
dir()
os.listdir()
List all objects
ls()
globals()
Remove an object
rm('name')
del('object')
Dec 2014
Copyrigt
Licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
i
Data Frame Creation
R
Python
(Using pandas package*)
Creating a data frame ¡°df¡± of
dimension 6x4 (6 rows and 4
columns) containing random
numbers
A ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- class xii informatics practices practical list
- python for r users robert richardson
- python pandas
- 9 pandas 1 introduction
- python demonstration university of missouri
- pandastable documentation
- pandas cheat sheet pandas python data analysis library
- comprehensive review of data visualization techniques
- chapter 14 data wrangling munging processing and
- numpy scipy pandas cheat sheet quandl blog