221 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
44
views
How to condense the columns of a CSV in Data Factory if a column isn't populated?
I have a Data Factory data flow for consolidating a number of files into a single one, we have a case where the files could be dynamic with different columns that aren't wanted most of the time.
...
2
votes
1
answer
99
views
How to Dynamically Map Directory-Based Identifiers to a Specific Column in Annotated Output Files?
Problem:
I have a two-step bioinformatics pipeline where:
Code 1 generates output files (.marked.bam) and places them into a directory structure.
Code 2 processes annotated files (annotated....
1
vote
3
answers
295
views
How to get slides organized by section in a PPTX using python-pptx?
I'm working with PPTX files in Python, and I need to extract slides grouped by their sections. I'm using the python-pptx library, which works well for general slide manipulation, but it doesn't seem ...
2
votes
1
answer
85
views
Unsuccessful attempt in creating/overwriting a file using fopen
I tried to run the following program:
#include <stdio.h>
#include <stdlib.h>
int main(){
FILE *datei = fopen("employees.txt", "w");
fprintf(datei, "Anna\n&...
0
votes
0
answers
125
views
Converting xlsx file to txt is working! But i have an issue with special characte
I have a code that converts xlsx or csv files to txt files, and it works fine!
However, there is a little issue. When i want it to convert files with special characters like letters in russian, ...
0
votes
1
answer
57
views
Does fstream take a constant character array as a parameter or a dynamic one?
I am trying to send an fstream object to a function, and I provided the name of the file as a string. Now I want to type-cast the string into a character array because fstream takes a character array. ...
0
votes
1
answer
60
views
I'm having trouble with multiple for loop stacking in vb.net
So I've tried all kinds of things. I'm going to post what I have first and then go over the additional stuff I've tried. I know I've got my logistics messed up in some kind of way, but after trying ...
0
votes
0
answers
47
views
Use R to acquire Q1 temp data from individual month files containing daily data (336 files total)
I wish to calculate the mean temperature data for 1 km grid cells from a list of csv files containing 1 km grid cell max and min daily values for individual months.
Here are the numbers of files I am ...
0
votes
1
answer
28
views
nested for loop giving no output when working with two lists
I am making a file sorter in Python and I have two lists. One is called downloads, which holds the names of all of my files in my downloads directory, and the other is called files, which is intended ...
1
vote
1
answer
589
views
Ansible read files line by line and delete lines on condition
Am trying to read a file line by line and delete the line if certain conditions are met
sample input file:
abcd Sat Oct 25 04:30:35 EDT 2036
defg Tue Dec 01 18:59:59 EST 2037
ghij Fri Jun 17 06:15:06 ...
0
votes
1
answer
192
views
Extracting data from multiple PDFs [closed]
I have 200 PDF files, all formatted similarly.
Currently I am opening each PDF and looking for the two relevant values and typing them into an Excel table, all manually.
I'm wondering if there is a ...
1
vote
1
answer
887
views
Is there a way to delete or replace a character in a text file in c
I need to make a C program that removes empty lines as homework
since we didn't study a way to removing characters from files my first attempt was to overwrite all the characters but both fprintf and ...
0
votes
1
answer
62
views
How to efficiently read and delete a specific line of a large file with a custom newline character using Python (3.9 preferred)?
Similar to this question, but slightly more complex
I have a large txt file, that looks something like this:
"
AAAAAAAAAAAAAA.BBBBBBBBBBBBBB.CCCCCCCCCCCCCC.DDDDDDDDDDDDDD.EEEEEEEEEEEEEE....
1
vote
2
answers
142
views
How to replace such column names whose next columns are having all nan values in Pandas
I have a file which has data separated with different spaces and column names are also having spaces.
Type Dec LookupTable Field Name Field Len Start Pos
NUM 0 _ ...
0
votes
1
answer
112
views
How to move files in a other folder with base on a df list
I'm download 20.000 files .png and put in order to specific folder name. Each folder has 1 or 2 .png files.
link of example:
https://drive.google.com/drive/folders/1di8b1L1i1lc2ZKTAWyrNiZNpxMmGcQAH?...