On 2020-12-03 03:32, Michael Baca wrote:
On Monday, November 30, 2020 at 7:15:37 PM UTC-7, MRAB wrote:
On 2020-12-01 01:20, Michael Baca wrote:
> Hello, new to the group, rather new to programming.
>
> I'm writing a program that takes images and converts them into PDF's. It works after quite a
Kindly help manage read .xlsx files using pandas, thank you
import numpy as np
import pandas as pd
from pandas import Series, DataFrame
excelfile = pd.ExcelFile('C:\Users\THOMAS\Documents/Hash Analytics
Internship - DemoS2.xlsx')
dframe = excelfile.parse('Sheet10')
print (dframe)
C:\Users\THOMA
On 2020-12-03 12:13, A. M. Thomas [PETech MIET MBA] wrote:
Kindly help manage read .xlsx files using pandas, thank you
import numpy as np
import pandas as pd
from pandas import Series, DataFrame
excelfile = pd.ExcelFile('C:\Users\THOMAS\Documents/Hash Analytics
Internship - DemoS2.xlsx')
dframe
We have been running Jupyter Notebook processes, which take long time to
run.
We use nbconvert to run these in commandline. Nbconvert only writes output
into a file at the end.
We just wonder whether there is a way to observe the progress and printing
messages when nbconvert is running.
Regards
On Thu, 3 Dec 2020 at 14:12, Shaozhong SHI wrote:
>
> We have been running Jupyter Notebook processes, which take long time to
> run.
>
> We use nbconvert to run these in commandline. Nbconvert only writes output
> into a file at the end.
>
> We just wonder whether there is a way to observe the p
Is this the correct behavior?
Python 3.9.0 (default, Oct 7 2020, 23:09:01)
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> help(list[int])
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.9/_sitebuiltins.py", line
Using the typing.List generic alias, I can only specify a single type.
Example:
>>> typing.List[int]
typing.List[int]
When I try to specify additional types, it fails. Example:
>>> typing.List[int, int]
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib/python3.9/typing.p
On 3/12/20 7:37 pm, Paul Bryan wrote:
list[int, int]
list[int, int]
In fact, it appears I can specify an indeterminate number of types.
I think the built-in generic alias just provides the minimum
necessary to be able to write sometype[arg, ...]. It doesn't
know anything about the semantics w
On 4/12/20 12:31 pm, Paul Bryan wrote:
Would it make sense for list's __class_getitem__
(GenericAlias?) to perform similar checking as
typing._SpecialGenericAlias (nparams)?
Maybe. It's a slippery slope -- how much of the typing module do we
want to drag into the core of the interpreter?
--
G
Thanks, Greg. Would it make sense for list's __class_getitem__
(GenericAlias?) to perform similar checking as
typing._SpecialGenericAlias (nparams)?
On Fri, 2020-12-04 at 12:15 +1300, Greg Ewing wrote:
> On 3/12/20 7:37 pm, Paul Bryan wrote:
> > > > > list[int, int]
> > list[int, int]
> >
> > In
10 matches
Mail list logo