How to Access files using pathlib.Path vs os.path
os.path os.path is a module in the standard library of Python that provides functions for interacting with the file system. The os.path module provides a wide range of functions to…
os.path os.path is a module in the standard library of Python that provides functions for interacting with the file system. The os.path module provides a wide range of functions to…
First, make sure you have installed the putty to access the terminal and WinSCP for transferring files. putty WinSCP Step 1: Create tmux session $ tmux new -s session-name # create new session$ Ctrl+b then d to leave the current…
What’s the difference between virtual reality and augmented reality? It might seem like semantics, but it’s important to understand that the two are not the same thing. Virtual reality (VR)…
Data scraping refers to the process of acquiring data from websites and online sources for data analytics and data science purposes. It can be done by hand or with automated…
A data scientist, also known as a data analyst or a data engineer, is someone who can extract valuable insights from massive amounts of raw data. Though most often associated…
What do data science, big data, and data engineering have in common? If you’re like most people, you’ve probably never heard of these terms before (and definitely not together). But…
Essential Functionality Reindexing An important method on pandas objects is reindex, which means to create a new object with the data conformed to a new index. Consider an example: Input[1]:…
Introduction to Pandas Data Structure Series A Series is a one-dimensional array-like object containing a sequence of values (of similar types to NumPy types) and an associated array of data…
Universal Functions: Fast Element-Wise Array Functions A universal function, or ufunc, is a function that performs element-wise operations on data in ndarrays. You can think of them as fast vectorized…
Boolean Indexing Let’s consider an example where we have some data in an array and an array of names with duplicates. I’m going to use here the randn function in…