Top "Python-3.6" questions

Version of the Python programming language released in December 2016.

Check a variable against Union type at runtime in Python 3.6

UPDATE (September 2020): Python 3.9 includes the typing.get_type_hints function for this use case, see https://docs.python.org/3.9/library/…

python annotations python-3.6 typechecking
Type hint for NumPy ndarray dtype?

I would like a function to include a type hint for NumPy ndarray's alongside with its dtype. With lists, for …

python numpy python-3.6 type-hinting
Install pandas in a Dockerfile

I am trying to create a Docker image. The Dockerfile is the following: # Use the official Python 3.6.5 image FROM python:3.6.5…

python pandas docker dockerfile python-3.6
AttributeError: 'str' object has no attribute 'strftime' when modifying pandas dataframe

I have an issue with subtracting a part of the a date column. My goal is to set up a …

python pandas python-3.6 strftime
How to install cvxopt on on windows 10 on python 3.6

How do I install cvxopt on windows 10 on python 3.6? When running conda install cvxopt Fetching package metadata ........... Solving package specifications: . …

anaconda jupyter python-3.6 conda cvxopt
Python 3.6: get JSON from aiohttp request

I have some application which uses aiohttp. I sent POST request into approptiate endpoint, e.g.: POST mysite.com/someendpoind/ …

json request http-post python-3.6 aiohttp
How to force static typing in python

Since static typing is available in Python 3.6, is it possible to force static typing for a python project or set …

python python-3.6 typing static-typing
MacOS Big Sur - Python 3.6 and 3.7 not working

-I upgraded my mac os to latest MacOS Big Sur, after the update my application used to run with python 3.6 …

python-3.6 python-3.7 macos-big-sur
ModuleNotFoundError: No module named 'six'

I am trying to setup lamp server on my Fedora 27. Referring this site, I am following every step, but running …

python-3.6 lamp six
Installing python36-devel on rhel7 failing

Trying to install python36-devel on RHEL7, ends up getting error Tried resolving the dependencies as stated in error, but …

python-3.6 yum rhel7