Last updated: 2022-10-25

Checks: 1 1

Knit directory: Pandas-30-R/

This reproducible R Markdown analysis was created with workflowr (version 1.7.0). The Checks tab describes the reproducibility checks that were applied when the results were created. The Past versions tab lists the development history.


The R Markdown file has unstaged changes. To know which version of the R Markdown file created these results, you’ll want to first commit it to the Git repo. If you’re still working on the analysis, you can ignore this warning. When you’re finished, you can run wflow_publish to commit the R Markdown file and build the HTML.

Great! You are using Git for version control. Tracking code development and connecting the code version to the results is critical for reproducibility.

The results in this page were generated with repository version 2cb19ff. See the Past versions tab to see a history of the changes made to the R Markdown and HTML files.

Note that you need to be careful to ensure that all relevant files for the analysis have been committed to Git prior to generating the results (you can use wflow_publish or wflow_git_commit). workflowr only checks the R Markdown file, but you know if there are other scripts or data files that it depends on. Below is the status of the Git repository when the results were generated:


Ignored files:
    Ignored:    .Rhistory
    Ignored:    .Rproj.user/
    Ignored:    dev/
    Ignored:    renv/

Untracked files:
    Untracked:  analysis/method3-create-a-dataframe-from-a-list.Rmd

Unstaged changes:
    Modified:   analysis/index.Rmd

Note that any generated files, e.g. HTML, png, CSS, etc., are not included in this status report because it is ok for generated content to have uncommitted changes.


These are the previous versions of the repository in which changes were made to the R Markdown (analysis/index.Rmd) and HTML (docs/index.html) files. If you’ve configured a remote Git repository (see ?wflow_git_remote), click on the hyperlinks in the table below to view the files as they were in that past version.

File Version Author Date Message
html 2cb19ff Mena WANG 2022-10-23 Build site.
html a3d64fd Mena WANG 2022-10-23 Build site.
Rmd 40ac710 Mena WANG 2022-10-23 add method 2
html 229f405 Mena WANG 2022-10-23 Build site.
html c6a7835 Mena WANG 2022-10-23 Build site.
Rmd 0ac8e00 Mena WANG 2022-10-23 Add content to license and about page
html 05866b4 Mena WANG 2022-10-23 Build site.
Rmd eeb5169 Mena WANG 2022-10-23 start the project with method 1
Rmd c876a91 Mena WANG 2022-10-23 Start workflowr project.

In this repo, I will provide a Python to R translation of 30 essential Pandas methods introduced by Avi Chawla in his article The Only 30 Methods You Should Master To Become A Pandas Pro published on TowardsDataScience.

As an R user who is learning to become bilingual, I found such side-by-side translations/comparisons very helpful for my learning. Hope you find them helpful as well. Comments and discussions will be highly appreciated. :)

Please click each method below for details

Method #1. Reading a CSV

Method #2. Storing a dataframe into a csv

Method #3. Creating a dataframe from a list