Skip to content

Instantly share code, notes, and snippets.

View P3nSingh's full-sized avatar
🎯
Focusing

Simranjit Singh P3nSingh

🎯
Focusing
View GitHub Profile
@P3nSingh
P3nSingh / CSV_PLot.ipynb
Created March 4, 2019 02:59
Plotting A CSV File
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nSingh
P3nSingh / CSV_Simple.ipynb
Created March 4, 2019 17:46
Simple Plot of CSV File With Column 1 Vs Column 2 .
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nSingh
P3nSingh / fileplot.py
Created March 5, 2019 22:59
A simple Module that takes Csv and plot it with column 0 vs column 1 by default
#Python Module Filebox
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
def load_file(filename):
df=pd.read_csv(filename)
df.plot(x=df.columns[0],y=df.columns[1])
plt.show()
@P3nSingh
P3nSingh / gui.py
Created March 6, 2019 03:16
Make a interaction gui in Jupyter
import ipywidgets as widgets
import fileplot
path=widgets.Text(
value=raw_input("Enter the Path Csv File You Want to Plot here : "),
#placeholder="File Path",
#descrition="String:",
#disabled=False
)
button=widgets.Button(
@P3nSingh
P3nSingh / Sample_G.ipynb
Created March 6, 2019 16:34
GUI that takes the input
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nSingh
P3nSingh / pop_up.ipynb
Created March 6, 2019 19:18
Pop For choosing the file
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nSingh
P3nSingh / Pyqt.ipynb
Created March 8, 2019 14:36
Another Gui for File Dialog Box With the help of Pyqt5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@P3nSingh
P3nSingh / slider.py
Created April 8, 2019 23:54
Static plot with dynamic Interactive Features
from starkit.gridkit import load_grid
import h5py
import numpy as np
#print dir(plt)
grid =load_grid('C:\Users\pabla\OneDrive\Documents\p.h5')
grid
import matplotlib.pyplot as plt