• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar

Python and R Tips

Learn Data Science with Python and R

  • Home
  • Python
  • Pandas
    • Pandas 101
  • tidyverse
    • tidyverse 101
  • R
  • Linux
  • About
    • Privacy Policy

Running Python Command Line and Getting Arguments

January 31, 2012 by cmdlinetips

When you are writing a python program and want to run the Python script as a command from the terminal, you may want to get the arguments to the python program from command line. For example, you might want to execute the Python script and use its arguments. Python myPythonWithArguments.py input1 input2 Python’s sys module’s […]

Filed Under: Python Tagged With: Python, Python Tips, sys.argv

How to Get a Specific Line or Lines From a Big File? Hint: Use One Liner AWK

December 21, 2011 by cmdlinetips

If you are working with a huge text file with millions of lines and want to know the content of a specific line, there are a few tricks you can play to get the line you want.  The naive approach of reading the file line by line (say in python) and keeping a count on […]

Filed Under: AWK, AWK Tips, Extract a Line from Terminal, Linux Tips Tagged With: AWK Tips, Extract a Line from Terminal, Linux Tips

How to SSH Without Typing Password?

December 3, 2011 by cmdlinetips

SSH Login With No password

If you login to a Linux server/cluster frequently, it might get little painful to type your password every time. If the computer you use to login to the cluster is safe and secure, you can easily set your computer so that you can login to Linux server/cluster (and copy files between the machines using SCP) […]

Filed Under: Password-less Login, SSH, SSH-Keygen Tagged With: SSH Password-less Login, SSH Tips, SSH-keygen

Ten Tips to Move Around Your Text Files Using Emacs

November 21, 2011 by cmdlinetips

Emacs Window

If you are a newbie to the powerful Emacs editor, it is good to learn how to move around the text. One can always use the mouse and arrow keys to move around the text in Emacs. But, you will pretty soon realize this is annoying and painful. Emacs has a number of cool tricks […]

Filed Under: Emacs, Emacs Tips, Moving Around in Emacs Tagged With: Emacs, Emacs Tips, Moving Around in Emacs

Free R Books Online for Beginners

November 5, 2011 by cmdlinetips

R Logo

R, the preferred programming language for statisticians is also becoming the go to language for “all things data” by non-statisticians as well.  The Comprehensive R Archive Network has a number of free R books or documents available for both beginners and advanced users.   Here is the list of free online R books that can […]

Filed Under: Free R Books Online, R, R Books Tagged With: Free R Books Online, R, R Books

  • « Go to Previous Page
  • Page 1
  • Interim pages omitted …
  • Page 68
  • Page 69
  • Page 70
  • Page 71
  • Page 72
  • Interim pages omitted …
  • Page 74
  • Go to Next Page »

Primary Sidebar

Subscribe to Python and R Tips and Learn Data Science

Learn Pandas in Python and Tidyverse in R

Tags

Altair Basic NumPy Book Review Data Science Data Science Books Data Science Resources Data Science Roundup Data Visualization Dimensionality Reduction Dropbox Dropbox Free Space Dropbox Tips Emacs Emacs Tips ggplot2 Linux Commands Linux Tips Mac Os X Tips Maximum Likelihood Estimation in R MLE in R NumPy Pandas Pandas 101 Pandas Dataframe Pandas Data Frame pandas groupby() Pandas select columns Pandas select_dtypes Python Python 3 Python Boxplot Python Tips R rstats R Tips Seaborn Seaborn Boxplot Seaborn Catplot Shell Scripting Sparse Matrix in Python tidy evaluation tidyverse tidyverse 101 Vim Vim Tips

RSS RSS

  • How to convert row names to a column in Pandas
  • How to resize an image with PyTorch
  • Fashion-MNIST data from PyTorch
  • Pandas case_when() with multiple examples
  • An Introduction to Statistical Learning: with Applications in Python Is Here
  • 10 Tips to customize ggplot2 title text
  • 8 Plot types with Matplotlib in Python
  • PCA on S&P 500 Stock Return Data
  • Linear Regression with Matrix Decomposition Methods
  • Numpy’s random choice() function

Copyright © 2026 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version