Skip to content

Instantly share code, notes, and snippets.

View KishoreNamala's full-sized avatar

Kishore KishoreNamala

View GitHub Profile
@KishoreNamala
KishoreNamala / multiple_csv_files_2_single_data_frame.R
Created March 28, 2018 23:17
Merge multiple csv files into a single data frame to work on
multiple_csvfiles_2_dataframe <- function(directory) {
#read the file names from the input directory for all CSVs
filenames <- list.files(directory, pattern="*.csv", full.names=TRUE)
# create a list by reading csv files
dfs.list <- lapply(filenames,read.csv)
# Create a single data frame from the list
df <- do.call(rbind,dfs.list)
@KishoreNamala
KishoreNamala / one.py
Created May 6, 2022 01:28
Testing gists
print("File one")