instruction
stringlengths
71
95.1k
I am a total newbie when it comes to coding in general, let alone Python. After following a few tutorials, I decided to try making my own little navigation system for simple maps, sort of drawing from what I know about how old MUD games like Achaea work. It works, but I have no idea how robust or expandable it will be....
From The C Programming Language, by Kernighan and Ritchie: Exercise 1-13. Write a program to print a histogram of the lengths of words in its input. It is easy to draw the histogram with the bars horizontal; a vertical orientation is more challenging. (Kernighan, 24) This is my first time learning C seriously. I've s...
My Game class does not satisfy me. I use some cheat-code to delete bonuses from their list, I think this is not a better way to do it. Any other requests will be greatly appreciated. Latest version is on GitHub. It was inspired by Asteroids on RealPython. //game.h #pragma once #include "const.h" #include "SFML/Graphics...
My implementation of 3 way quick sort for strings. It supposed to sort very large set of 800,000,000 objects. This is why I added Lense class. Suppose you have object like this: struct User{ int id; std::string name; }; Then Lense class should be something like this: struct UserLense{ auto const &operator()(...
Given a map of items to their attributes: OPTIONS = { paper: %w[A4_paper countable universal], pencil: %w[trackable universal trackable], chalk: %w[stationery countable trackable A4_paper], }.freeze I need to return the items that have a particular attribute. For example, fetch_type_values('...
I have a filter component that lets a user filter for events on a website. The user needs to see which category is currently selected in the filter. For this there is a URL with parameters. e.g. /events?category=1 The code will match the category to the <option> in the <select>. The code: <?php $selected = 'selected';...
I implemented a two-dimensional array in C and would like to know if the implementation is sound in terms of Memory management Potential bugs and other side effects that I missed Code style (readability, naming conventions, etc...) Clean code Efficiency The code compiles and runs without any error: gcc -O -Wall ...
The data structure I am working with is a list of lists that is created by parsing a file. The depth of the list can vary. The list can have n Strings before its child-value begins. My current example of this list of list looks something (this is already slightly formatted for better readability, also there can be diff...
Background I'm building a lisp-like toy language in Haskell with the following (stripped down) AST: type Lisp = ExceptT Error (StateT Env IO) type PrimOp = [Value] -> Lisp Value data Value -- | any identifier, e.g. "x", "lambda" = VName Name -- | s-expression, e.g. "(x y z)" | VExpr (NonEmpty Value) -- | curr...
I have learned about list comprehensions a week or so ago and understood that they can save a lot of screen space. Though, I have been told that this is bad practice only to use them, even if it brings tremendous benefits. Where is the line? The version with no nested comprehensions is at least three times longer. This...
I am solving this problem that requires returning the most frequent K elements, and even though I have a solution, I am wondering if there's an improvement that can be made. It runs O(N) to store the frequency of each element in a std::map. The second loop runs another O(N) over std::map to populate the std::priority_q...
This JS will lazy load certain elements in the corresponding HTML using the IntersectionObserver API. class LazyElement { constructor(selectorClassName, callback) { this.target = document.querySelector(selectorClassName); this.callback = callback; this.isLoaded = false; } } const lazyElements = [ new...
I'm in need to optimize the following TRANSACT SQL statement : SELECT Id, Type, StartTime, Amount, CurrencyCode, CorrelationStatus, ProviderId FROM ( SELECT UserId, Id, {=charge} Type, StartTime, Amount, CurrencyCode, CorrelationStatus, ProviderId FROM charge WHERE (@Type IS NULL OR @Type = {=ch...
i am looking for an efficient way to read and append texts of .txt files to a dataframe. I currently have 10 folders with 100k documents each. What i specifically need to do is: getting the names of the files inside one folder (filenames contain important information like a unique ID for each company that issue the do...
This might be a slightly long question, but I've recently been doing a bit of R&D on the data processing workflows within the company that I work at and it would be great to see if there are any other ideas on how to speed up a particular script. The Matlab code is: clc clear close all %% Import Inputs pro_file = rea...
I found lexy, a C++ template-based parser combinator, that helps a lot to build a language parser. The problem is that lexy can only deal with context free grammar, and python indentation is not context free. I wrote this small piece of code to generate indent/dedent tokens, represented by either { or }, so I can feed ...
so I have a Nextjs frontend that is using Next Auth for authentication. This will be using a variety of Oauth providers but for this example and to prove the concept I am just using the github provider. First, the next app is barebones and uses the default config for Nextjs and Next auth. It has one special route /page...
Background I am trying to recreate the functionality of HYPERLINK() on my own terms, as a custom UDF called Hyper_Link(). My ultimate goal is to have Hyper_Link() embed a URL that is longer than 255 characters, which is currently impossible with HYPERLINK(). I currently have a working prototype, in the Code below. Ho...
Description of the problem and the input data is here https://adventofcode.com/2022/day/8. The algorithm is essentially: Find the cumulative max value in a given direction and shift by 1 Find the values that exceed the cumulative max in a given direction as a boolean mask Translate the dataframe for the other 3 direct...
I need to update a lot of data from one table based on criteria from another table. My tables and records in those tables look like this: This is Users table where i can have many records for single email, constraint is on id, email and state. My second table Registrations where i need to execute UPDATE statement look...
I am doing an exercise to help me understand C#and OOP. The exercise is supposed to teach me about inheritance, interfaces and abstract classes. This is done by some small game "Bounce". The game is about several moving balls and several stationary objects that can affect the moving balls. I am posting my solution as I...
I fairly started coding no more than 2 weeks now; not even for long, and a thread inspired me to make a random back-to-forth game between a Hero and a Monster where it randomly choose a certain number to decrease the health of either character and go back and forth until once below 0, the survivor wins. Since I am stil...
I was inspired by Find the K most-frequent values in a vector, and originally posted an early version of this in an answer. The aim is to have a container that maintains values ordered by their frequency, so we can easily obtain the most-frequent values at any time. I've just implemented enough to be able to insert ele...
I like the reactivity of vue and created a function that makes Object's reactive. Just like in vue 3 .reactive I wonder if my approach is ok or i have made a fundamental mistake: const item = { foo: "bar", bool: true, arr: ["hello", { world: "Its nice here", enabled: true, }, Date.now()...
Preface I need to generate some algebraic expressions for math testing in elementary school. The test should generate a list of expressions compiled according to certain rules and check the correctness of the solution. I have decided to represent the expression as a Binary expression tree. At this stage, I only need to...
This is an implementation of tree data structure using Ballerina's table collection and query expressions. The implementation allows bi-directional traversal. The two free traversing functions walk1() and walk2() demonstrate the usage. I'm especially looking a guidance how to make the implementation more generic. I see...
Thats my first application on Python. Please help me do my code better. I try make the simple application . I don't know is I do it right and how do my code cleaner. main.py . Entry point of my calculator where i just call run() method from conductor.py module. import conductor def main(): conductor.run() if __n...
This is a problem from Exercism here, the goal is to clean up badly formatted phone numbers. The rules are: If the phone number is less than 10 digits assume that it is a bad number If the phone number is 10 digits assume that it is good If the phone number is 11 digits and the first number is 1, trim the 1 and use th...
I have a dataset that is a bit too wide for the EDA plots I would like to make. The data can be found here: https://www.massey.ac.nz/~kgovinda/data/Bill_Colour.RData But looks something like this: CommonName r_ChromaticityFemaleLowerMandible r_ChromaticityFemaleUpperMandible r_ChromaticityMaleLowerMandible r_Chroma...
In Python there is no real notion of private access. It's merely suggested by social convention with _ prepended in method names. class Handler: def _timestamp_to_datetime(self, timestamp: int): # <- "private" method return time.gmtime(timestamp) def handle(self, message): time = self.timestamp...
I was wondering if I could reverse a string without using collections and in-built functions of string, Please do add your thoughts on the approach and if possible do share your way of the solution. # Reversing a string with a simple approach # Ex: John Doe -> Doe John str1= "Happy new year! 2022" temp = "" final_str ...
def search(nums, target): for i in range(len(nums)): if nums[i] == target: return i if nums[i] == None: return -1 I think this code will be good for most cases in binary search but in some cases might need a better version of the code that is O(log n).
I want to make small console app where you can choose an option from a list using the arrows on the keyboard. Here is my code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CMD_menu_select { internal class Program { static ...
I created my own list sorting function with Python: def mysort(l): for i, (x, y) in enumerate(zip(l, l[1:])): if y < x: l[i], l[i + 1] = l[i + 1], l[i] mysort(l) else: return l And: >>> mysort(l) [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] >>> I was thinking that how I would be ab...
As a learning exercise and to do something productive, I decided to write a VBA macro for one of my "very old" FrontPage websites. Actually I'm in the process of trying to escape from FrontPage(FP)... This seemingly simple project, I am familiar with VBA for Excel and Access, was to open a series of current web pages ...
the other day, i decided to build a top-down lexer in rust, just for fun. this is what i have so far: use std::str::Chars; use std::env; use std::fs; #[derive(Debug, Clone)] enum Op { Plus, Minus, Multiply, Divide, Modulo, Equal, Not, NotEqual, Greater, GreaterOrEqual, Less,...
I have this NodeJS code which I need to Reduce complexity and making it more readable coz it has to many repeatable loops, and the api is very slow how do i fix this. const { PRISMA, moment, decodeHeader } = require('../../Config'); const { throwErrors } = require('../../GlobalFunctions'); const MOMENT = require('momen...
I am trying to find a way to search an Int array (all numbers are > 0) and identify sequences where the sum of each element is a specific number. One element can be in more than one sequence. This works: let input = [2, 52, 23, 52, 28, 47, 13, 15] let target = 75 var result: [[Int]] = [] let count = input.count var s...
Races have many distinguishing physical characteristics. But apart from appearances, different races have other distinguishing characteristcs, all of I've decided to be built using the Builder Pattern. Separate builder classes I found to very useful when many races have multiple sub-races as well. Once the races and...
This code seems to work fine but I am sure this reads very amateurish. I would appreciate your comments as to how to make this code more "professional": def nToTxt(n): nums = {0:"", 1:'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten',11: 'eleven', 12: 'twe...
Showable #ifndef REGISTRY_SHOWABLE_H #define REGISTRY_SHOWABLE_H class Showable { public: Showable(); virtual ~Showable(); virtual void Show() const = 0; }; #endif //REGISTRY_SHOWABLE_H #include "../include/showable.h" Showable::Showable() { } Showable::~Showable() { } Runnable #ifndef ...
I implemented a simple spell checker. Basically I have to user input an incorrect sentence or a word, then a number N, and then N correct words each on new line. The program has to output "incorrect word: suggestion". If there is no suggestions available it should output "incorrect word: no suggestions", and if all the...
Background I've provided two simple functions that I use to print a full path to the last modified file within a directory. I don't code in bash frequently so I'm looking for a generic feedback on what to do / avoid when writing small utility functions in bash. Code Last file The function prints a full path to last mod...
I'm developing a UCI chess engine and as part of my engine I need a position representation that stores the position of every piece on the board and all the information about the game, like castling rights, en passant square, etc. The standard way of representing a chess position in a human readable format is the Forsy...
I often find I need to find the earliest or latest file matching a given pattern, and sometimes to choose the lowest or highest string from several possibilities. The following four functions provide that functionality, and are robust enough to work correctly with all possible inputs. They do require the GNU implement...
I just coded the implementation of a UUID generator in C++ after the definition from Wikipedia. I am intermediate in C++ programming and don't know all the tricks and best practices for this language. Any suggestions are welcome! PS: I am also not sure how to display the char array as a hex string, like in 123e4567-e89...
I'm trying a simple exercise where I want to Generate Solar Systems, and store them on an array for ease of iteration and accessability. I've create the following classes: class System { private: std::string m_Name; unsigned int m_ID; //... load system data from file. public: System() {}; System(...
This service is pulling off the whole trade history for the Binance accounts. More precisely, it's a wrapper around https://binance-docs.github.io/apidocs/spot/en/#all-orders-user_data. Since their API doesn't incorporate a pagination system like all normal exchanges, I had to make a workaround i.e. a while loop which ...
I connected to the websocket, and the data response in the callback function handle_message. I wish to insert all the data to influxdb using write_api.write(), since I need with InfluxClient() to wrap the whole CRUD function, I wrote like this: from time import sleep from pybit import usdt_perpetual from dataclasses im...
Follow Up: A GUI Youtube Player (2) I made a GUI that can make a YouTube query and play the audio. It includes some basic functionalities like volume control, a time-scale, putting songs in waiting lists, shuffle, etc. I spent some time looking into this website, of how good, readable code is made, and managed to chan...
In my current project, I have to build a criteria builder which users can use to find "contacts" (the definition of which is not relevant). For this, I have created the front-end in Elm, which will then create a JSON-request to the back-end. The back-end has to deserialize this JSON and create a jOOQ query which will t...
I wrote small console application where you can choose an item from given list of strings. Works fine so far but since I am beginner I have some questions if I am doing this right. My biggest concerns are if I should use fields here or properties, if I am using the static keyword correctly, if I should use the fields i...
I'm new to programming. and I'm learning a C language. Currently working on Harvard's CS50 problem set (this one: https://cs50.harvard.edu/x/2022/psets/5/speller/). In that problem, they want us to store every word in dictionary inside Hash Table. In which we need a Hash Function to access the table. So, I'm trying to ...
#include <stdio.h> #include <string.h> #include <stdlib.h> typedef struct String { char* string; long long unsigned capacity; // uint32_t had trouble printing long long unsigned len; } String; String string_new(char* stuff) { int len = strlen(stuff); String ret = { stuff, len, ...
I took a shoot at writing a Github contribution clone using Vuej, tippy.js and tailwindcss. Githubs looks like this: My working clone looks like this: Its not an exact look-a-like but im getting there. I have received some feedback on using the library date-fns to generate year, months and days, it seems that the dat...
Usually in C++, the language rules automatically widen types as necessary. For example, I can pass a pointer-to-derived in place of a pointer-to-base, and the same with references. There are occasions where one needs to specify a type to which a value should be coerced. A common case of this is in the alternatives of...
It's sometimes fun to implement the exercises from K&R in C++. It's certainly interesting to see what C++ makes easier and what's still difficult. I've had a go at Exercise 1-14 in the second edition: Exercise 1-14. Write a program to print a histogram of the frequencies of different characters in its input. The ext...
Implementing Linux style file name wild cards on Windows 10 PowerShell While implementing an objected oriented wc on Windows 10 in visual studio C++ I implemented a recursive file search with a weak attempt at pattern matching (regular expressions in file names). While unit testing it I discovered that it did not do a ...
I had previously asked the question here. The response was pretty much "wow this is bad". So I learned everything I could and wrote what I believe to be better using TDD. The strict requirement is that the url will be parsed as /controller/action/everything/else/is/a/parameter. So here is what I wrote: The router class...
I am using react native 0.68.5 When I call the renderReusableTextInput method in Main.js I am sending all the styles including the needed and unneeded styles. This can lead performance penalty. So, is there a way that I can send the only needed styles to the renderReusableTextInput method. I also want to know is the co...
I'm new to Python and coded this spin-the-wheel game where the user can bet on each spin of the wheel and either double their money, 1.5x their money, lose their money or keep it. It all seems to be working fine (I think), but I was wondering if there were any improvements to the structure and efficiency of my code I c...
Although this code uses ros2 my concern is about C++ code quality, because I still struggle when it comes to making good design decisions with regards to single responsibility, dependency injection, and callbacks, etc. I tend to second-guess decisions due to lack of experience. I am also always worried about which obj...
I try to plot the correlation matrix of a Pandas DataFrame. As the diagonal elements are always ones, and the matrix is symmetrical, so I can get rid of most than a half of the squares without loosing any useful information. I also moved the zero to the white color by default. Is there any other way to improve the func...
I have a list of accounts, accounts that's passed to a function query_builder which combines a set of variables and produces a query string for consumption by requests. Is this a situation where vecotrization would help? I've been reading about speeding up python loops and this comes up a lot, but I don't quite see how...
How does the following look for a json lexer? Are there any things that can be improved upon? Does the pattern look general-purpose enough to be able to generalize it to make it into a useful program, beyond just my personal tokenization of json? import re TOKENS = [ # (name, regex) ('OPEN_BRACE', r'{'), (...
I'm currently working on a company management system as a university project, and I have to get my hands in java.sql. I have come to struggle with extracting a query result from a ResultSet object, as I find its usage is a bit complex. I have written this code to automatically extract all the entries of a ResultSet in ...
I'm looking to improve my Verilog coding form by reducing utilization and learning any tricks more experienced Verilogers may know. This module takes in a pulse data stream with pulses occurring between 500 and 12500 clk cycles, and it needs to delay the stream by a specified number of clk cycles between 500 and 12500 ...
I'm working with the following project, where I have business-logic as: @Service public class ProjectServiceImpl implements ProjectService { @Autowired private ProjectRepository projectRepository; @Autowired private ProjectAdaptor projectAdaptor; @Override public List<Project> getAllProjects(...
Two Sum Problem: Given an array of integers A and an integer K return True if there are two elements two elements xi, xj (i != j) such that xi + xj = K. Return False otherwise. I am implementing the classical two sum problem but I am currently practising Functional programming so I picked Haskell. I wrote a naive imp...
as a practice and selfdevelopment exercise I have decided to implement design patterns in C#. I am using polish cuisine as an example in my implementations. In this project I implemented Singleton design pattern. I kindly ask for a review :D Here is the code: Model: public sealed class Pierogi { public Guid Guid { ...
As a practice and self-development exercise I have decided to implement design patterns in C#. I am using polish cuisine as an example in my implementations. In this project I implemented Prototype design pattern. Model: public static class PierogiTypes { public const string WithPotatoesAndCheese = "with potatoes a...
I have reached a significant milestone since the start of my chess game project. I have implemented all basic functionality. There is no castling, en passant and pawn promotion yet but I have implemented checks and checkmate functionality. I would like my code to be reviewed before going further in the project so that ...
A Multiclass is a CharacterClass that decided to add new CharacterClass types to combine with the original CharacterClass. These new CharacterClass types are stored in a std::vector<CharacterClass*> data member of CharacterClass called otherClasses. Common operations are used through iterating through originalClass, a...
I am new to Rust but well versed in Go. I have written the following program which initiates connection to the remote-addr and starting a thread to listen to the incoming connections at local-addr. It will forward packets received from the remote connection to all incoming connections. The program works very well but w...
I once tried to make a generic linked list in pure C (no external libraries, only the C standard library) here using C macros. With the same restrictions as in the previous attempt, this time I'm trying to use void*s. linkedlist.h: #include <stdbool.h> #include <stddef.h> #ifndef LINKEDLIST_H #define LINKEDLIST_H typ...
I am writing code that, at some later point, will be part of an academic multi-agent simulation of the learning process of car-sharing users and grid stability. This code deals with finding the price for incoming bookings. The algorithm tries to find optimal charging strategies for electric vehicles in a car-sharing s...
note: This is v3 of code that was previously reviewed. I have written a class that handles listeners registering callbacks to receive messages. Link lifetime is managed (or is it? See below). Code is thread-safe in that any thread can broadcast to the listeners, and any thread can add or remove listeners. There is one ...
I am implementing a function that receives a list of list integers and updates the list appending to the ith element a number x, for example: list = [[1], [], []] update(list, 0, 3) > [[1, 3], [], []] I implemented this in haskell: updateArray :: Int -> Int -> [[Int]] -> [[Int]] updateArray idx y [] = [] updateArray i...
I've recently finished a small project intended to better understand C. The program will output the ten largest files found (recursively in the event of subdirectories) in a specified directory. I've just improved my code to use dynamic memory allocation instead of allocating (statically) a massive array. Please critiq...
I am trying to solve the Dining philosophers problem in CSharp. I didn't use any semaphores and it looks like it's working. I am wondering 1) if my code deadlock is safe and 2) if can I please get some feedback on my method as opposed to using semaphores. Thank you using System; using System.Linq; using System.Collecti...
I decided to build a quiz type of game for improving chemistry linguistics using python. Currently there is not much variety in terms of questions, but before expanding the question base, I would like my code to be reviewed. I have used various modules including colorama, pyfiglet and inquirer to improve the UX. Any be...
I have made a length-units converter with Jetpack Compose. Here's the source-code: class MainActivity : ComponentActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContent { LengthConverterTheme { Surface( ...
I'm trying to learn Rust and for this reason I'm reading the Rust Book. It contains the following exercise: Convert temperatures between Fahrenheit and Celsius. Here's my take. Note I'm only using material from chapters 1-3 of this book (since I've only read so far yet). use std::io; fn main() { loop { p...
I'm trying to learn Rust and for this reason I'm reading the Rust Book. It contains the following exercise: Generate the nth Fibonacci number. Here's my take. Note I'm only using material from chapters 1-3 of this book (since I've only read so far yet), with the exception of format! which I learned by Googling it and...
I'm trying to learn Rust and for this reason I'm reading the Rust Book. It contains the following exercise: Print the lyrics to the Christmas carol “The Twelve Days of Christmas,” taking advantage of the repetition in the song. Here's my take. Note I'm only using material from chapters 1-3 of this book (since I've on...
I want to use the scope_exit class but my compiler/standard library (clang++-16 with libc++) don't support it. Until they do I wanted an implementation. I found a few on the Internet but they weren't quite what I wanted. So I made an attempt at implementing it. I used requires clauses on the constructor overloads to im...
I am trying to read entries of my CSV file into an entries vector whose data type is object OrderBookEntry, which is an object that stores the tokenized variables from the CSV line which itself is converted through the function tokenise. My problem is that my CSV file has around a million lines and it takes over 30 sec...
For the record, I'm writing according to the NEXT - Version 5 of Single Unix Specification, which is Issue 8 if you count the days when it was named XPG. In this new standard, a few new already-common-place features are being added, such as delayed and immediate expansion macros, and re-making of include files. Parts o...
import math def root(cls, nth): return cls.__root__(nth) class Vector2(object): def __init__(self, x=0.0, y=0.0): self.points = (x, y) self._index = 0 @property def x(self): return self.points[0] @property def y(self): return self.points[1] # __str__ for...
I am trying to solve a maze in Python where parts of the maze are not explored, meaning in each step the player has to move toward an unexplored area and explore it until they discover the exit. I have a working solution, but it is quite inefficient. It takes approximately 2 seconds for a 100x100 pixel map. I'm looking...
I have written a small password manager script for my own purposes. It is hosted locally and cannot be accessed outside my local network. You can see the code on GutHub I know it is better to encrypt the passwords before storing them in the database, but how to retrieve them back when viewing the record? I mean I don't...
instructions for the kata: Write a function called sumIntervals/sum_intervals() that accepts an array of intervals, and returns the sum of all the interval lengths. Overlapping intervals should only be counted once. Intervals Intervals are represented by a pair of integers in the form of an array. The first value of th...
I want to expose permissions property on ORM User model: PERMISSIONS_MAP= { 'admin': ['can_delete'], } class DatabaseModel: pass class User(DatabaseModel): def __init__(self, role): self.role = role @property def permissions(self): return role_permissions.list(self.role) clas...
I have homework in college to implement intrusive smart pointers. #include <atomic> #include <string_view> #include <string> #include <iostream> struct RefCount { inline void IncrementRefCount() const noexcept { refCount.fetch_add(1, std::memory_order_relaxed); } inline void DecrementRefCount(...
I have written a simple CLI app that finds factors in 3 different forms. I would like the code to be reviewed. Here's the code: #include <stdio.h> #include <stdlib.h> #include <conio.h> #include <string.h> void eq(int num) { int factor_found = 0, factor = 2; printf("%d = " , num); while(factor_found==0) ...
I'm building a graph-based interface to explore Wikipedia, but I'm not really familiar with TypeScript/React (especially state management), so I really feel like I'm just Frankensteining things together, which makes me feel pretty uncomfortable. I've found many things in my code so far that have made me facepalm. I'd a...
This is my first time writing a web scrape using Selenium and Beautifulsoup. The website I'm scraping is https://www.grainger.com/ and I have it pulling a specific set of SKUs stored in an Excel file. To run a scrape of 1,000 items takes ~8 hours and I'm trying to scrape 30,000 items. Is there anywhere I can improve my...
I recently wrote a tiny network library in C++17 called Turtle on Linux and wish to seek some improvement advice on how to further develop it. Any insights would be appreciated. Origin: As a student, I took a class in Computer Network this semester, during which I practised serveral network programming projects in C u...
I'm planning on adding an automated process to generate some stats once a week from a git repository, generates a markdown file with some stats, but looking for some suggestions for generating some graphs or formatting. <# .SYNOPSIS Generates some stats based on the git repository url #> param( #URI of the git ...
I'm using BeautifulSoup to parse a bunch of combined tables' rows, row by row, column by column to prepare it for import into Pandas. I can't use to_html() because one of the columns has a list of tag links in each cell. The data structure is the same in all the tables. But there are a couple of particular columns I'd ...