
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
nidhichaudharygsmtpd007
Advanced tools
A library to convert the google sheets into pandas df and plot the graphs accordingly
Library: nidhichaudharygsmtpd007
This library helps in taking the google sheets and can even convert the sheets into the pandas dataframe and then it can use this dataframe to plot it into 3 different forms of graphs:
** Details of each functions are described below
To call the google spreadsheet:
Use createcredentials() for this purpose:
createcredentials('your api json filename', 'spreadsheet to be called')
Put the full path for the api json filename
It returns the list of the dictionary from the called spreadsheet.
To convert the list of dictionary returned from the createcredentials() to dataframe:
Use createDF() for this purpose:
createDF(d)
- d: the returned list of dictionary
Returns the dataframe that can be used for plotting.
To plot the graphs of your choice:
Currently the library provides you to plot 3 graphs: Bar Plot, Line Plot, Scatter Plot.
For Barlplot you need to call:
plotBar(dataframe, 'column name for the x axis', 'column name for the y axis')
For Lineplot you need to call:
plotLine(dataframe, 'column name for the x axis', 'column name for the y axis')
For Scatterplot you need to call:
plotScatter(dataframe, 'column name for the x axis', 'column name for the y axis', colors)
colors: Array for designing the colorbar.
Note: All figures can be easily saved.
Pre-Requisites:
For creating this library I have used gspread for calling the google spreadsheet api.
FAQs
A library to convert the google sheets into pandas df and plot the graphs accordingly
We found that nidhichaudharygsmtpd007 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.