• 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
  • Conferences
  • Python Books
  • About
    • Privacy Policy
You are here: Home / Archives for Uncategorized

Uncategorized

Pandas 0.25.0 is Here. What is New? Named aggregation, explode() and sparse dataframe

July 26, 2019 by cmdlinetips

Pandas Version 0.25.0

If you are like me, you might have missed that the fantastic Pandas team has released the new version Pandas 0.25.0. As one would expect, there are quite a few new things in Pandas 0.25.0. A couple of new enhancements are around pandas’ groupby aggregation. Here are a few new things that look really interesting. […]

Filed Under: Pandas explode(), Pandas Sparse Dataframe, Uncategorized Tagged With: Named aggregation in Pandas, Pandas 0.25.0, Pandas explode() function, Pandas Sparse Dataframe

3 Ways to Read a File and Skip Initial Comments in Python

January 31, 2018 by cmdlinetips

Reading a text file line by line is one of the common activities you do while dealing with a big text file. Often, you are not interested in initial few lines and want to skip them and work with rest of the file. The initial few lines of the text file that you want to […]

Filed Under: dropwhile, itertools, read a file and skip comment lines, Uncategorized Tagged With: dropwhile, itertools, read file and skip comment lines

How to read a numerical data/file in Python with numpy?

January 9, 2018 by cmdlinetips

Often you may need to read a file containing numerical data in Python for. One of the options is to import the file/data in Python is use Python’s NumPy library. There are number of advantages to use NumPy. NumPy is designed to deal with numerical data, it is fast and it has loads of built-in […]

Filed Under: NumPy, Python, Read Numerical Data in NumPy, Uncategorized Tagged With: Load Numerical Data in Python, np.loadtxt, NumPy, Python Tips

Paste command examples in Linux/Mac OS

April 13, 2017 by cmdlinetips

The Linux command paste is one of the powerful commands that can be used to “merge multiple files in to a single file” and also “collapse multiple lines in a single file to a new file”. Here are some basic examples of using the paste command. Paste command to merge multiple files into a single […]

Filed Under: Linux Tips, paste command, Uncategorized Tagged With: paste, paste command

Understanding Variables in Shell Scripting

April 9, 2012 by cmdlinetips

A number of beautiful and powerful programming languages, like Python, Ruby, and Perl are available for scripting needs. Even then you may find the old school unix shell scripting very useful tool to learn and use. For sure, shell scripts looks crazy and hard to read/understand. Once you get a hang of it, you might […]

Filed Under: Linux Tips, Shell Scripting, Uncategorized Tagged With: Linux Tips, Shell Scripting, Variables in Shell Scripts

  • « Go to Previous Page
  • Page 1
  • Page 2
  • Page 3
  • 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 © 2025 · Lifestyle Pro on Genesis Framework · WordPress · Log in

Go to mobile version